blob: 3a2456ef8dacb3766e974713526ce44ac35b2474 [file] [log] [blame]
module top(input clk, d, reset, output reg q);
initial q = 1'b1;
always @(posedge clk)
if (reset)
q <= 1'b0;
else
q <= d;
endmodule