data/full_repos/permissive/42149584/Pong/Phase2/CRTcontroller2015fall.v
1: b"%Error: data/full_repos/permissive/42149584/Pong/Phase2/CRTcontroller2015fall.v:41: Cannot find file containing module: 'hsyncModule'\n hsyncModule hsyncModule(PixelClock, hSynchPulse, hBackPorch,  Xresolution, hFrontPorch, hsync, LineEnd, xpos, reset, clock);\n ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42149584/Pong/Phase2,data/full_repos/permissive/42149584/hsyncModule\n             data/full_repos/permissive/42149584/Pong/Phase2,data/full_repos/permissive/42149584/hsyncModule.v\n             data/full_repos/permissive/42149584/Pong/Phase2,data/full_repos/permissive/42149584/hsyncModule.sv\n             hsyncModule\n             hsyncModule.v\n             hsyncModule.sv\n             obj_dir/hsyncModule\n             obj_dir/hsyncModule.v\n             obj_dir/hsyncModule.sv\n%Error: data/full_repos/permissive/42149584/Pong/Phase2/CRTcontroller2015fall.v:44: Cannot find file containing module: 'vsyncModule'\n vsyncModule vsyncModule(LineEnd, vSynchPulse, vFrontPorch, Yresolution, vBackPorch, vsync, ypos, reset, clock);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/42149584/Pong/Phase2/CRTcontroller2015fall.v:47: Cannot find file containing module: 'CRTClock'\n CRTClock CRTclockUnit2015fall(SystemClockFreq, CRTClockFreq, PixelClock, reset, clock);\n ^~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module CRTcontroller2015fall(Xresolution, Yresolution, SystemClockFreq, CRTClockFreq, hsync, vsync, xpos, ypos, reset, clock);
	
	parameter ResolutionSize=10, SystemClockSize=10;
	
	input [ResolutionSize-1:0] Xresolution, Yresolution;
	input [SystemClockSize-1:0] SystemClockFreq, CRTClockFreq;
	input reset, clock;
	
	output hsync, vsync;
	output [ResolutionSize-1:0] xpos, ypos;


	parameter vSynchPulse=10'd2, vFrontPorch=10'd9, vBackPorch=10'd29;

	parameter hSynchPulse=10'd95, hFrontPorch=10'd25, hBackPorch=10'd40;


	wire LineEnd;
	wire PixelClock;


	hsyncModule hsyncModule(PixelClock, hSynchPulse, hBackPorch,  Xresolution, hFrontPorch, hsync, LineEnd, xpos, reset, clock);


	vsyncModule vsyncModule(LineEnd, vSynchPulse, vFrontPorch, Yresolution, vBackPorch, vsync, ypos, reset, clock);


	CRTClock CRTclockUnit2015fall(SystemClockFreq, CRTClockFreq, PixelClock, reset, clock);
endmodule
module CRTcontroller2015fall(Xresolution, Yresolution, SystemClockFreq, CRTClockFreq, hsync, vsync, xpos, ypos, reset, clock);

	
	parameter ResolutionSize=10, SystemClockSize=10;
	
	input [ResolutionSize-1:0] Xresolution, Yresolution;
	input [SystemClockSize-1:0] SystemClockFreq, CRTClockFreq;
	input reset, clock;
	
	output hsync, vsync;
	output [ResolutionSize-1:0] xpos, ypos;


	parameter vSynchPulse=10'd2, vFrontPorch=10'd9, vBackPorch=10'd29;

	parameter hSynchPulse=10'd95, hFrontPorch=10'd25, hBackPorch=10'd40;


	wire LineEnd;
	wire PixelClock;


	hsyncModule hsyncModule(PixelClock, hSynchPulse, hBackPorch,  Xresolution, hFrontPorch, hsync, LineEnd, xpos, reset, clock);


	vsyncModule vsyncModule(LineEnd, vSynchPulse, vFrontPorch, Yresolution, vBackPorch, vsync, ypos, reset, clock);


	CRTClock CRTclockUnit2015fall(SystemClockFreq, CRTClockFreq, PixelClock, reset, clock);
endmodule