yosys/tests/sim/dff.v

5 lines
87 B
Verilog

module dff( input d, clk, output reg q );
always @( posedge clk )
q <= d;
endmodule