data/full_repos/permissive/42149584/Pong/Phase2/hsyncModule.v
1: b"%Error: data/full_repos/permissive/42149584/Pong/Phase2/hsyncModule.v:24: Cannot find file containing module: 'ClockedNegativeOneShot'\n ClockedNegativeOneShot PixelClockUnit(PixelClock, PixelClockOneShot, reset, clock);\n ^~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42149584/Pong/Phase2,data/full_repos/permissive/42149584/ClockedNegativeOneShot\n             data/full_repos/permissive/42149584/Pong/Phase2,data/full_repos/permissive/42149584/ClockedNegativeOneShot.v\n             data/full_repos/permissive/42149584/Pong/Phase2,data/full_repos/permissive/42149584/ClockedNegativeOneShot.sv\n             ClockedNegativeOneShot\n             ClockedNegativeOneShot.v\n             ClockedNegativeOneShot.sv\n             obj_dir/ClockedNegativeOneShot\n             obj_dir/ClockedNegativeOneShot.v\n             obj_dir/ClockedNegativeOneShot.sv\n%Error: data/full_repos/permissive/42149584/Pong/Phase2/hsyncModule.v:38: Cannot find file containing module: 'UniversalCounter10bitsV5'\n UniversalCounter10bitsV5 XPositionCounter(10'd0,10'd0, EndCount, xcount, LineEnd,LineEnd||PixelClockOneShot,   , reset, clock) ;\n ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module hsyncModule(PixelClock, SynchPulse, BackPorch, ActiveVideo, FrontPorch, hsync, LineEnd, xposition, reset, clock);
	parameter xresolution=10;
	
	input [xresolution-1:0] SynchPulse, FrontPorch, ActiveVideo, BackPorch;
	input PixelClock, reset, clock;
	
	output hsync, LineEnd;
	output reg [xresolution-1:0] xposition;
	
	wire [xresolution-1:0] xcount;

	ClockedNegativeOneShot PixelClockUnit(PixelClock, PixelClockOneShot, reset, clock);
	
	assign LineEnd=xcount==EndCount;
	wire [xresolution-1:0] EndCount=SynchPulse+FrontPorch+ActiveVideo+BackPorch;
	
	


	assign hsync = ~(xcount>=(ActiveVideo+FrontPorch)&&xcount<=(ActiveVideo+FrontPorch+SynchPulse));

	always@(xcount, SynchPulse, BackPorch, ActiveVideo, FrontPorch) 
		xposition<=xcount;
	

	UniversalCounter10bitsV5 XPositionCounter(10'd0,10'd0, EndCount, xcount, LineEnd,LineEnd||PixelClockOneShot,   , reset, clock) ;

endmodule
module hsyncModule(PixelClock, SynchPulse, BackPorch, ActiveVideo, FrontPorch, hsync, LineEnd, xposition, reset, clock);

	parameter xresolution=10;
	
	input [xresolution-1:0] SynchPulse, FrontPorch, ActiveVideo, BackPorch;
	input PixelClock, reset, clock;
	
	output hsync, LineEnd;
	output reg [xresolution-1:0] xposition;
	
	wire [xresolution-1:0] xcount;

	ClockedNegativeOneShot PixelClockUnit(PixelClock, PixelClockOneShot, reset, clock);
	
	assign LineEnd=xcount==EndCount;
	wire [xresolution-1:0] EndCount=SynchPulse+FrontPorch+ActiveVideo+BackPorch;
	
	


	assign hsync = ~(xcount>=(ActiveVideo+FrontPorch)&&xcount<=(ActiveVideo+FrontPorch+SynchPulse));

	always@(xcount, SynchPulse, BackPorch, ActiveVideo, FrontPorch) 
		xposition<=xcount;
	

	UniversalCounter10bitsV5 XPositionCounter(10'd0,10'd0, EndCount, xcount, LineEnd,LineEnd||PixelClockOneShot,   , reset, clock) ;

endmodule