mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-02 01:13:19 +00:00
cmp2lut: new techmap pass.
This commit is contained in:
parent
4b9f619349
commit
a91892bba4
5 changed files with 139 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
simplemap
|
||||
equiv_opt -assert techmap -map +/gate2lut.v -D LUT_WIDTH=4
|
||||
equiv_opt -assert techmap -D LUT_WIDTH=4 -map +/cmp2lut.v
|
||||
design -load postopt
|
||||
select -assert-count 1 t:$lut
|
||||
equiv_opt -assert techmap -D LUT_WIDTH=4 -map +/gate2lut.v
|
||||
design -load postopt
|
||||
select -assert-count 0 t:* t:$lut %d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue