data/full_repos/permissive/21108957/src/natural_counter.v
None: at end of input
data/verilator_xmls/92e57a5a-fbfa-4896-9fd2-8cc8141ed8a3.xml
module natural_counter (
	input clk,
	input increment,
	input reset,
	output reg [4:0] count
);

	initial begin
		count = 5'b00001;
	end
	
	always @(negedge clk) begin
		if (reset)
			count <= 5'b00001;
		else if (increment)
			count <= count + 5'b00001;
	end
endmodule
module natural_counter (
	input clk,
	input increment,
	input reset,
	output reg [4:0] count
);


	initial begin
		count = 5'b00001;
	end
	
	always @(negedge clk) begin
		if (reset)
			count <= 5'b00001;
		else if (increment)
			count <= count + 5'b00001;
	end
endmodule