mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-16 02:45:49 +00:00
opt_dff: add test
This commit is contained in:
parent
b3ca5ee0f1
commit
e486994f60
2 changed files with 660 additions and 0 deletions
12
tests/opt/opt_dff-simplify.ys
Normal file
12
tests/opt/opt_dff-simplify.ys
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
read_rtlil opt_dff-simplify.il
|
||||
opt_dff
|
||||
|
||||
select -assert-count 8 t:$ne r:A_WIDTH=3 %i
|
||||
select -assert-count 5 t:$ne r:A_WIDTH=2 %i
|
||||
|
||||
select -assert-none t:$ne r:A_WIDTH=13 %i
|
||||
select -assert-none t:$ne r:A_WIDTH=14 %i
|
||||
select -assert-none t:$ne r:A_WIDTH=15 %i
|
||||
select -assert-none t:$ne r:A_WIDTH=10 %i
|
||||
select -assert-none t:$ne r:A_WIDTH=12 %i
|
||||
select -assert-none t:$ne r:A_WIDTH=11 %i
|
||||
Loading…
Add table
Add a link
Reference in a new issue