mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-12 03:45:42 +00:00
Add more robsutness tests.
This commit is contained in:
parent
6b0caedcdd
commit
cfee6bb4af
4 changed files with 75 additions and 0 deletions
17
tests/csa_tree/csa_tree_idempotent.ys
Normal file
17
tests/csa_tree/csa_tree_idempotent.ys
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Running csa_tree twice, verify nothing changes on second run
|
||||
|
||||
read_verilog add_chain_8.v
|
||||
hierarchy -auto-top
|
||||
proc; opt_clean
|
||||
|
||||
csa_tree
|
||||
stat
|
||||
select -assert-min 1 t:$fa
|
||||
select -assert-count 1 t:$add
|
||||
|
||||
csa_tree
|
||||
stat
|
||||
|
||||
select -assert-min 1 t:$fa
|
||||
select -assert-count 1 t:$add
|
||||
select -assert-none t:$sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue