3
0
Fork 0
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:
whitequark 2019-01-02 07:53:31 +00:00
parent 4b9f619349
commit a91892bba4
5 changed files with 139 additions and 3 deletions

View file

@ -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