# Test 1 log -header "Simple input to output buffer > limit 4" log -push design -reset read_verilog < limit 4) assign w2 = a; assign w3 = a; assign w4 = a; assign w5 = a; assign x1 = b; // b has fanout 2 (< limit 4) assign x2 = b; endmodule EOF check -assert # Check equivalence after fanoutbuf - should insert 1 buffer for signal a only equiv_opt -assert fanoutbuf design -load postopt select -assert-count 1 t:$buf select -assert-none t:$pos design -reset log -pop # Test 7 log -header "Logic gates with high fanout" log -push design -reset read_verilog <