yosys/tests/opt/bug2824.ys

8 lines
187 B
Plaintext
Raw Permalink Normal View History

2021-06-11 05:19:21 -05:00
read_verilog -icells << EOT
module top(input I, output O);
$pmux #(.WIDTH(1), .S_WIDTH(2)) m (.S({I, 1'b0}), .A(1'b0), .B({I, 1'b0}), .Y(O));
endmodule
EOT
equiv_opt -assert opt_muxtree