yosys/tests/sim/dffe.v

6 lines
105 B
Verilog
Raw Permalink Normal View History

2022-02-15 02:35:53 -06:00
module dffe( input clk, en, d, output reg q );
always @( posedge clk )
if ( en )
q <= d;
endmodule