data/full_repos/permissive/430260837/HorizentalVerticalControl.v
data/verilator_xmls/7a813853-64ee-4ced-a3d3-022d5395f78f.xml
module HorizentalVerticalControl (
	input normalCLK,
	
	output reg [9:0] HControl=0,
	output reg [9:0] VControl=0
	
);


	
	always @ (posedge normalCLK)
		begin 
			if (HControl < 800) 
				begin 
				
					HControl <= HControl + 1;
					
				end
			else 
				begin 
				
					HControl <= 0;
					
					if(VControl < 525) begin
						VControl <= VControl + 1;
					end
					
					else begin 
						VControl <= 0;
					end
				end
		end
		
endmodule
module HorizentalVerticalControl (
	input normalCLK,
	
	output reg [9:0] HControl=0,
	output reg [9:0] VControl=0
	
);



	
	always @ (posedge normalCLK)
		begin 
			if (HControl < 800) 
				begin 
				
					HControl <= HControl + 1;
					
				end
			else 
				begin 
				
					HControl <= 0;
					
					if(VControl < 525) begin
						VControl <= VControl + 1;
					end
					
					else begin 
						VControl <= 0;
					end
				end
		end
		
endmodule