log -header "Interleaved mux/add chain pushes muxes to the end" log -push design -reset read_verilog <1) equiv_opt -assert muxpush -limit 1 -types $add # Mux still drives add inputs due to fanout limit design -load postopt select -set add_fanin t:$add %ci* select -set mux_cells t:$mux t:$ternary select -assert-count 1 @add_fanin @mux_cells %i design -reset log -pop log -header "Push with fanout limit > 1" log -push design -reset read_verilog < 1 design -load postopt select -set add_fanin t:$add %ci* select -set mux_cells t:$mux t:$ternary select -assert-count 0 @add_fanin @mux_cells %i design -reset log -pop