Files

11 lines
172 B
Verilog
Raw Permalink Normal View History

2019-11-18 19:25:09 -05:00
module test(a, b, en);
output reg a;
input wire b;
input wire en;
always @(*) begin
if (en) begin
a <= b;
end
end
endmodule