input clk, d; output reg q; always @(posedge clk) q <= d; endmodule
Get more verilog examples............