yosys/docs/source/code_examples/synth_flow/opt_01.v

4 lines
78 B
Verilog
Raw Normal View History

2014-02-02 15:26:26 -06:00
module test(input A, B, output Y);
assign Y = A ? A ? B : 1'b1 : B;
endmodule