mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 17:45:33 +00:00
6 lines
98 B
Verilog
6 lines
98 B
Verilog
module dlatch( input d, en, output reg q );
|
|
always @* begin
|
|
if ( en )
|
|
q = d;
|
|
end
|
|
endmodule
|