yosys/tests/csa_tree/csa_tree_idempotent.ys

18 lines
299 B
Plaintext

# 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