Recently, I had seen some D flip-flop RTL code in verilog like this:
module d_ff( input d, input clk, input reset,