From: Marcelina Koƛcielnicka Date: Fri, 11 Jun 2021 10:19:21 +0000 (+0200) Subject: Add regression test for #2824. X-Git-Tag: yosys-0.10~141 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=438bcc68c0859057e4d3f521d1c865d2a9d90e15;p=yosys.git Add regression test for #2824. --- diff --git a/tests/opt/bug2824.ys b/tests/opt/bug2824.ys new file mode 100644 index 000000000..9d0d1e9e5 --- /dev/null +++ b/tests/opt/bug2824.ys @@ -0,0 +1,7 @@ +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