yosys/docs/resources/PRESENTATION_ExSyn/opt_01.v

4 lines
78 B
Verilog

module test(input A, B, output Y);
assign Y = A ? A ? B : 1'b1 : B;
endmodule