blob: 1b1b94777d5cdebcdc996ecda01915937127bb70 [file] [log] [blame]
module top(input wire clk,rst,output reg count);
always @(posedge clk or posedge rst)begin
if(rst)
count <= 0;
else
count <= count + 1'b1;
end
endmodule