data/full_repos/permissive/135822174/api/static/F721000/109_1/1/dot_matrix.v
data/verilator_xmls/93f3b6f9-9fd3-458f-a41b-f01e576a1a63.xml
module clk_divi (clk,rst,counter,div_clk);
input clk,rst;
input [31:0]counter;
output div_clk;
reg div_clk;
reg [31:0]count;
always @ (posedge clk)
begin 
	if (!rst)
	begin 
	count <= 32'd0;
	div_clk <=1'b0;
	end
	else
	begin 
	if (count == counter)
	begin 
	count<=32'd0;
	div_clk <=~div_clk;
	end
	else
	begin 
		count <= count + 32'd1;
end
end
end
endmodule
module clk_divi (clk,rst,counter,div_clk);

input clk,rst;
input [31:0]counter;
output div_clk;
reg div_clk;
reg [31:0]count;
always @ (posedge clk)
begin 
	if (!rst)
	begin 
	count <= 32'd0;
	div_clk <=1'b0;
	end
	else
	begin 
	if (count == counter)
	begin 
	count<=32'd0;
	div_clk <=~div_clk;
	end
	else
	begin 
		count <= count + 32'd1;
end
end
end
endmodule