mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 05:30:53 +00:00
Add opt_rmdff tests
This commit is contained in:
parent
50ed34a6d0
commit
47f9ea142f
2 changed files with 55 additions and 0 deletions
25
tests/various/opt_rmdff.ys
Normal file
25
tests/various/opt_rmdff.ys
Normal file
|
@ -0,0 +1,25 @@
|
|||
read_verilog -icells opt_rmdff.v
|
||||
prep
|
||||
design -stash gold
|
||||
read_verilog -icells opt_rmdff.v
|
||||
opt_rmdff
|
||||
|
||||
select -assert-count 0 c:remove*
|
||||
select -assert-min 7 c:keep*
|
||||
|
||||
prep
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue