yosys/tests/csa_tree/csa_tree_sub_signed.ys

11 lines
193 B
Plaintext

read_verilog sub_signed.v
hierarchy -auto-top
proc; opt_clean
csa_tree
stat
select -assert-count 3 t:$fa
select -assert-count 1 t:$add
select -assert-count 2 t:$not
select -assert-none t:$sub