yosys/tests/opt/opt_rmdff.ys

27 lines
451 B
Plaintext
Raw Normal View History

2019-05-23 13:26:38 -05:00
read_verilog -icells opt_rmdff.v
prep
design -stash gold
read_verilog -icells opt_rmdff.v
2019-05-24 20:32:02 -05:00
proc
2019-05-23 13:26:38 -05:00
opt_rmdff
select -assert-count 0 c:remove*
select -assert-min 7 c:keep*
2019-05-24 20:33:18 -05:00
select -assert-count 0 t:$dffe 7:$_DFFE_* %u c:noenable* %i
2019-05-23 13:26:38 -05:00
design -stash gate
design -import gold -as gold
design -import gate -as gate
equiv_make gold gate equiv
hierarchy -top equiv
equiv_simple -undef
equiv_status -assert
#design -load gold
#stat
#
#design -load gate
#stat