yosys/tests/lut/check_map_lut6.ys

8 lines
235 B
Plaintext

chparam -set LUT_WIDTH 6 top
simplemap
equiv_opt -assert techmap -D LUT_WIDTH=6 -map +/cmp2lut.v
design -load postopt
equiv_opt -assert techmap -D LUT_WIDTH=6 -map +/gate2lut.v
design -load postopt
select -assert-count 0 t:* t:$lut %d