mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
11 lines
177 B
Systemverilog
11 lines
177 B
Systemverilog
module test(a, b, en);
|
|
output logic a;
|
|
input logic b;
|
|
input logic en;
|
|
always_latch begin
|
|
if (en) begin
|
|
a <= b;
|
|
end
|
|
end
|
|
endmodule
|