diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-09-19 20:04:44 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-09-19 20:04:44 -0700 |
commit | 8a94ce7aa524eea0429446e0a5e8c64bee45ac55 (patch) | |
tree | d9aa74ec43dedeadd79d2cdb7f8786e09e63ba0f /passes/pmgen/xilinx_dsp.pmg | |
parent | 1602516a8b2ebd432528e9ba39a00db4e6edc081 (diff) | |
download | yosys-8a94ce7aa524eea0429446e0a5e8c64bee45ac55.tar.gz yosys-8a94ce7aa524eea0429446e0a5e8c64bee45ac55.tar.bz2 yosys-8a94ce7aa524eea0429446e0a5e8c64bee45ac55.zip |
Add an index
Diffstat (limited to 'passes/pmgen/xilinx_dsp.pmg')
-rw-r--r-- | passes/pmgen/xilinx_dsp.pmg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/pmgen/xilinx_dsp.pmg b/passes/pmgen/xilinx_dsp.pmg index f0537670f..20565f47d 100644 --- a/passes/pmgen/xilinx_dsp.pmg +++ b/passes/pmgen/xilinx_dsp.pmg @@ -268,6 +268,8 @@ match postAdd select nusers(port(postAdd, AB)) <= 3 filter ffMcemux || nusers(port(postAdd, AB)) == 2 filter !ffMcemux || nusers(port(postAdd, AB)) == 3 + + index <SigBit> port(postAdd, AB)[0] === sigP[0] filter GetSize(unextend(port(postAdd, AB))) <= GetSize(sigP) filter unextend(port(postAdd, AB)) == sigP.extract(0, GetSize(unextend(port(postAdd, AB)))) filter nusers(sigP.extract_end(GetSize(unextend(port(postAdd, AB))))) <= 1 |