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

11 lines
149 B
Verilog
Raw Permalink Normal View History

2014-02-02 15:26:26 -06:00
module test(input A, B, C, D, E,
output reg Y);
always @* begin
Y <= A;
if (B)
Y <= C;
if (D)
Y <= E;
end
endmodule