yosys/tests/opt/opt_share_mux_tree.ys

11 lines
154 B
Plaintext

read_verilog opt_share_mux_tree.v
prep -flatten
opt
pmuxtree
opt_share;
opt_share;
opt_clean
select -assert-count 1 t:$add
select -assert-count 0 t:$sub