data/full_repos/permissive/143453443/src/Game.v
1: b"%Error: data/full_repos/permissive/143453443/src/Game.v:40: Cannot find file containing module: 'Ball'\nBall ball(pixelClock, vSyncStart, state, buttons,\n^~~~\n        ... Looked in:\n             data/full_repos/permissive/143453443/src,data/full_repos/permissive/143453443/Ball\n             data/full_repos/permissive/143453443/src,data/full_repos/permissive/143453443/Ball.v\n             data/full_repos/permissive/143453443/src,data/full_repos/permissive/143453443/Ball.sv\n             Ball\n             Ball.v\n             Ball.sv\n             obj_dir/Ball\n             obj_dir/Ball.v\n             obj_dir/Ball.sv\n%Error: data/full_repos/permissive/143453443/src/Game.v:44: Cannot find file containing module: 'Collision'\nCollision collision(pixelClock, vSyncStart, ballX, ballY, ballXSpeed, ballYSpeed, playerPaddleY, computerPaddleY,\n^~~~~~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:48: Cannot find file containing module: 'ComputerPaddle'\nComputerPaddle computerPaddle(pixelClock, vSyncStart, state, ballY, collisionBallComputerPaddle, computerPaddleY);\n^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:49: Cannot find file containing module: 'NesController'\nNesController controller(pixelClock, vSyncStart, CONTROLLER_DATA, CONTROLLER_LATCH, CONTROLLER_PULSE, buttons);\n^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:50: Cannot find file containing module: 'GameState'\nGameState gameState(pixelClock, vSyncStart, buttons, collisionBallScreenLeft, collisionBallScreenRight, state, playerScore, computerScore);\n^~~~~~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:51: Cannot find file containing module: 'PlayerPaddle'\nPlayerPaddle playerPaddle(pixelClock, vSyncStart, buttons, playerPaddleY);\n^~~~~~~~~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:52: Cannot find file containing module: 'Renderer'\nRenderer renderer(pixelClock, visibleArea, state, screenX, screenY, ballX, ballY, playerPaddleY, computerPaddleY, playerScore, computerScore, activePixel);\n^~~~~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:54: Cannot find file containing module: 'Sound'\nSound sound(pixelClock, vSyncStart, collisionBallScreenLeft, collisionBallScreenRight,\n^~~~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:57: Cannot find file containing module: 'Vga'\nVga vga(pixelClock, activePixel, RED, GREEN, BLUE, HSYNC, VSYNC, vSyncStart, visibleArea, screenX, screenY);\n^~~\n%Error: data/full_repos/permissive/143453443/src/Game.v:58: Cannot find file containing module: 'VgaPll'\nVgaPll vgaPll(CLOCK_50, pixelClock);\n^~~~~~\n%Error: Exiting due to 10 error(s)\n"
module Game(
	input CLOCK_50,
	input CONTROLLER_DATA,
	output CONTROLLER_LATCH,
	output CONTROLLER_PULSE,
	output reg [7:0] LED,
	output RED,
	output GREEN,
	output BLUE,
	output HSYNC,
	output VSYNC,
	output SPEAKER
);

wire pixelClock;
wire vSyncStart;
wire visibleArea;
wire [7:0] state;
wire [7:0] playerScore;
wire [7:0] computerScore;
wire [7:0] buttons;
wire [15:0] screenX;
wire [15:0] screenY;
wire [2:0] activePixel;
wire [15:0] ballX;
wire [15:0] ballY;
wire [7:0] ballXSpeed;
wire [7:0] ballYSpeed;
wire [15:0] playerPaddleY;
wire [15:0] computerPaddleY;
wire collisionBallScreenLeft;
wire collisionBallScreenRight;
wire collisionBallScreenTop;
wire collisionBallScreenBottom;
wire collisionBallPlayerPaddle;
wire collisionBallComputerPaddle;



Ball ball(pixelClock, vSyncStart, state, buttons,
	collisionBallScreenLeft, collisionBallScreenRight, collisionBallScreenTop, collisionBallScreenBottom,
	collisionBallPlayerPaddle, collisionBallComputerPaddle, ballX, ballY, ballXSpeed, ballYSpeed);

Collision collision(pixelClock, vSyncStart, ballX, ballY, ballXSpeed, ballYSpeed, playerPaddleY, computerPaddleY,
	collisionBallScreenLeft, collisionBallScreenRight, collisionBallScreenTop, collisionBallScreenBottom,
	collisionBallPlayerPaddle, collisionBallComputerPaddle);

ComputerPaddle computerPaddle(pixelClock, vSyncStart, state, ballY, collisionBallComputerPaddle, computerPaddleY);
NesController controller(pixelClock, vSyncStart, CONTROLLER_DATA, CONTROLLER_LATCH, CONTROLLER_PULSE, buttons);
GameState gameState(pixelClock, vSyncStart, buttons, collisionBallScreenLeft, collisionBallScreenRight, state, playerScore, computerScore);
PlayerPaddle playerPaddle(pixelClock, vSyncStart, buttons, playerPaddleY);
Renderer renderer(pixelClock, visibleArea, state, screenX, screenY, ballX, ballY, playerPaddleY, computerPaddleY, playerScore, computerScore, activePixel);

Sound sound(pixelClock, vSyncStart, collisionBallScreenLeft, collisionBallScreenRight,
	collisionBallScreenTop, collisionBallScreenBottom, collisionBallPlayerPaddle, collisionBallComputerPaddle, SPEAKER);

Vga vga(pixelClock, activePixel, RED, GREEN, BLUE, HSYNC, VSYNC, vSyncStart, visibleArea, screenX, screenY);
VgaPll vgaPll(CLOCK_50, pixelClock);



always @(posedge pixelClock)
	if (vSyncStart)
		LED <= buttons;

endmodule
module Game(
	input CLOCK_50,
	input CONTROLLER_DATA,
	output CONTROLLER_LATCH,
	output CONTROLLER_PULSE,
	output reg [7:0] LED,
	output RED,
	output GREEN,
	output BLUE,
	output HSYNC,
	output VSYNC,
	output SPEAKER
);


wire pixelClock;
wire vSyncStart;
wire visibleArea;
wire [7:0] state;
wire [7:0] playerScore;
wire [7:0] computerScore;
wire [7:0] buttons;
wire [15:0] screenX;
wire [15:0] screenY;
wire [2:0] activePixel;
wire [15:0] ballX;
wire [15:0] ballY;
wire [7:0] ballXSpeed;
wire [7:0] ballYSpeed;
wire [15:0] playerPaddleY;
wire [15:0] computerPaddleY;
wire collisionBallScreenLeft;
wire collisionBallScreenRight;
wire collisionBallScreenTop;
wire collisionBallScreenBottom;
wire collisionBallPlayerPaddle;
wire collisionBallComputerPaddle;



Ball ball(pixelClock, vSyncStart, state, buttons,
	collisionBallScreenLeft, collisionBallScreenRight, collisionBallScreenTop, collisionBallScreenBottom,
	collisionBallPlayerPaddle, collisionBallComputerPaddle, ballX, ballY, ballXSpeed, ballYSpeed);

Collision collision(pixelClock, vSyncStart, ballX, ballY, ballXSpeed, ballYSpeed, playerPaddleY, computerPaddleY,
	collisionBallScreenLeft, collisionBallScreenRight, collisionBallScreenTop, collisionBallScreenBottom,
	collisionBallPlayerPaddle, collisionBallComputerPaddle);

ComputerPaddle computerPaddle(pixelClock, vSyncStart, state, ballY, collisionBallComputerPaddle, computerPaddleY);
NesController controller(pixelClock, vSyncStart, CONTROLLER_DATA, CONTROLLER_LATCH, CONTROLLER_PULSE, buttons);
GameState gameState(pixelClock, vSyncStart, buttons, collisionBallScreenLeft, collisionBallScreenRight, state, playerScore, computerScore);
PlayerPaddle playerPaddle(pixelClock, vSyncStart, buttons, playerPaddleY);
Renderer renderer(pixelClock, visibleArea, state, screenX, screenY, ballX, ballY, playerPaddleY, computerPaddleY, playerScore, computerScore, activePixel);

Sound sound(pixelClock, vSyncStart, collisionBallScreenLeft, collisionBallScreenRight,
	collisionBallScreenTop, collisionBallScreenBottom, collisionBallPlayerPaddle, collisionBallComputerPaddle, SPEAKER);

Vga vga(pixelClock, activePixel, RED, GREEN, BLUE, HSYNC, VSYNC, vSyncStart, visibleArea, screenX, screenY);
VgaPll vgaPll(CLOCK_50, pixelClock);



always @(posedge pixelClock)
	if (vSyncStart)
		LED <= buttons;

endmodule