yosys/tests/opt/bug1525.ys

14 lines
145 B
Plaintext
Raw Normal View History

read_verilog << EOF
module top(...);
input A1, A2, B, S;
output O;
assign O = S ? (A1 & B) : (A2 & B);
endmodule
EOF
simplemap
opt_share
dump