3
0
Fork 0
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:
Anhijkt 2025-08-14 00:13:23 +03:00
parent b3ca5ee0f1
commit e486994f60
2 changed files with 660 additions and 0 deletions

View 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