mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 01:54:10 +00:00
Add regression test for #2824.
This commit is contained in:
parent
6a6d049f1c
commit
438bcc68c0
7
tests/opt/bug2824.ys
Normal file
7
tests/opt/bug2824.ys
Normal file
|
@ -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
|
Loading…
Reference in a new issue