blob: bda1a493b64798c6e73338686510123652c3a6c8 [file]
(* TYPE="bel" *) (* CLASS="flipflop" *)
module dff(input clk, rst, d, output q);
always @(posedge clk)
if (rst == 1'b1)
q <= 1'b0;
else
q <= d;
endmodule