data/full_repos/permissive/119715647/src/BitsPlease.v
None: at end of input
1: b"%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:58: Cannot find file containing module: 'ButtonShaper'\n ButtonShaper b1(clk, PushButtons[0], push_buttons_shaped[0]), \n ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/119715647/src,data/full_repos/permissive/119715647/ButtonShaper\n             data/full_repos/permissive/119715647/src,data/full_repos/permissive/119715647/ButtonShaper.v\n             data/full_repos/permissive/119715647/src,data/full_repos/permissive/119715647/ButtonShaper.sv\n             ButtonShaper\n             ButtonShaper.v\n             ButtonShaper.sv\n             obj_dir/ButtonShaper\n             obj_dir/ButtonShaper.v\n             obj_dir/ButtonShaper.sv\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:63: Cannot find file containing module: 'ButtonDecoder'\n ButtonDecoder button_decoder(\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:71: Cannot find file containing module: 'SwitchesControl'\n SwitchesControl sw(switches_select,ToggleSwitch,Switches); \n ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:79: Cannot find file containing module: 'ProcessControl'\n ProcessControl process_control(\n ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:98: Cannot find file containing module: 'AccessControl'\n AccessControl access_control(\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:112: Cannot find file containing module: 'Game'\n Game game(\n ^~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:130: Cannot find file containing module: 'ScoreBoardMain'\n ScoreBoardMain score_board(\n ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:148: Cannot find file containing module: 'FPGA_2_LCD'\n  FPGA_2_LCD lcd_display(\n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:167: Cannot find file containing module: 'DisplayScoreMux'\n DisplayScoreMux mux(\n ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/119715647/src/BitsPlease.v:173: Cannot find file containing module: 'Display7Seg'\n Display7Seg seven_seg(\n ^~~~~~~~~~~\n%Error: Exiting due to 10 error(s)\n"
module BitsPlease(
	input [0:0]  clk, 
	input [0:0]  rst,
	input [2:0]  PushButtons, 
	input [17:0] ToggleSwitch, 
	

	output [1:0] LED,

	output [6:0] display_0,
	output [6:0] display_1,
	output [6:0] display_2,
	output [6:0] display_3,
	output [6:0] display_4,
	output [6:0] display_5,
	output [6:0] display_6,
	output [6:0] display_7,

	output [7:0] matrix_row,
 	output [7:0] matrix_col,

	output lcd_RS,
	output lcd_RW,
	output lcd_E,
	output [7:0 ]lcd_DB,
	output lcd_ON
	); 

	wire [2:0]  push_buttons_shaped; 
	wire [2:0]  button_process_control,
			    button_access_control,
			    button_game, 
			    button_scoreboard;
    wire [17:0] Switches; 
    wire [0:0]  switches_select; 
	wire [2:0]  button_select;
	wire [1:0]  score_select; 
	wire [3:0]  LCD_select; 
	wire [15:0] userid_const;  
	wire [0:0]  userinput_load; 
	wire [0:0]  access_grant;

	wire [0:0] game_eog_wire; 
	wire [0:0] scoreboard_eof_wire; 
	wire [31:0] score_board_scores;

	wire [31:0] game_score;
	wire [63:0] game_stream_wire; 


	ButtonShaper b1(clk, PushButtons[0], push_buttons_shaped[0]), 
				 b2(clk, PushButtons[1], push_buttons_shaped[1]),
				 b3(clk, PushButtons[2], push_buttons_shaped[2]);

	
	ButtonDecoder button_decoder(
		.Select(button_select), 
		.ButtonVector(push_buttons_shaped), 
		.ButtonVector1(button_process_control),
		.ButtonVector2(button_access_control), 
		.ButtonVector3(button_game), 
		.ButtonVector4(button_scoreboard)); 
	
	SwitchesControl sw(switches_select,ToggleSwitch,Switches); 


	wire [0:0] access_control_rst_wire; 
	ProcessControl process_control(
		.clk(clk),
		.rst(rst),  
		.buttons(button_process_control), 
		.access_control_fb(access_grant), 
		.game_fb(game_eog_wire), 
		.scoreboard_fb(scoreboard_eof_wire), 
		.buttons_select(button_select),
		.switches_select(switches_select), 
		.lcd_control(LCD_select),
		.led_control(LED),
		.game_score_select(score_select),
		.access_control_reset(access_control_rst_wire));


	AccessControl access_control(
		.clk(clk),
		.rst(access_control_rst_wire), 
		._Data_In({2'b00,Switches[15:0]}), 
		._Data_In_Load(button_access_control[0]),
		._Access_grant(access_grant),
		.user_ID(userid_const)); 
		 

	 
	Game game(
		.clk(clk),
		.rst(rst), 
		.buttons(button_game), 
		.userid(userid_const),
		.gamestate(score_select), 
		.game_eog(game_eog_wire),

		.rowOut(matrix_row),
		.colOut(matrix_col),
		.game_data(game_score));



	ScoreBoardMain score_board(
		.clk(clk),
		.rst(rst),
		.buttons(button_scoreboard),
		.user_id(userid_const),
		.score(game_score),
		.game_state(score_select),
		.scoreboard_eof(scoreboard_eof_wire),
		.display_data(score_board_scores)); 


 	FPGA_2_LCD lcd_display(
 		.CLK(clk),
 		.RST(rst),
 		.LCD_CHAR_ARRAY(LCD_select),
 		.LCD_RS(lcd_RS),
 		.LCD_RW(lcd_RW),
 		.LCD_E(lcd_E),
 	    .LCD_DB(lcd_DB), 
 	    .LCD_ON(lcd_ON));
 








	wire [31:0] display_wire;
	DisplayScoreMux mux(
		score_select, 
		game_score, 
		score_board_scores, 
		display_wire); 

	Display7Seg seven_seg(
		.userID_score(display_wire),
		.display0(display_0),
		.display1(display_1),
		.display2(display_2),
		.display3(display_3),
		.display4(display_4),
		.display5(display_5),
		.display6(display_6),
		.display7(display_7));
		
endmodule
module BitsPlease(
	input [0:0]  clk, 
	input [0:0]  rst,
	input [2:0]  PushButtons, 
	input [17:0] ToggleSwitch, 
	

	output [1:0] LED,

	output [6:0] display_0,
	output [6:0] display_1,
	output [6:0] display_2,
	output [6:0] display_3,
	output [6:0] display_4,
	output [6:0] display_5,
	output [6:0] display_6,
	output [6:0] display_7,

	output [7:0] matrix_row,
 	output [7:0] matrix_col,

	output lcd_RS,
	output lcd_RW,
	output lcd_E,
	output [7:0 ]lcd_DB,
	output lcd_ON
	);
 

	wire [2:0]  push_buttons_shaped; 
	wire [2:0]  button_process_control,
			    button_access_control,
			    button_game, 
			    button_scoreboard;
    wire [17:0] Switches; 
    wire [0:0]  switches_select; 
	wire [2:0]  button_select;
	wire [1:0]  score_select; 
	wire [3:0]  LCD_select; 
	wire [15:0] userid_const;  
	wire [0:0]  userinput_load; 
	wire [0:0]  access_grant;

	wire [0:0] game_eog_wire; 
	wire [0:0] scoreboard_eof_wire; 
	wire [31:0] score_board_scores;

	wire [31:0] game_score;
	wire [63:0] game_stream_wire; 


	ButtonShaper b1(clk, PushButtons[0], push_buttons_shaped[0]), 
				 b2(clk, PushButtons[1], push_buttons_shaped[1]),
				 b3(clk, PushButtons[2], push_buttons_shaped[2]);

	
	ButtonDecoder button_decoder(
		.Select(button_select), 
		.ButtonVector(push_buttons_shaped), 
		.ButtonVector1(button_process_control),
		.ButtonVector2(button_access_control), 
		.ButtonVector3(button_game), 
		.ButtonVector4(button_scoreboard)); 
	
	SwitchesControl sw(switches_select,ToggleSwitch,Switches); 


	wire [0:0] access_control_rst_wire; 
	ProcessControl process_control(
		.clk(clk),
		.rst(rst),  
		.buttons(button_process_control), 
		.access_control_fb(access_grant), 
		.game_fb(game_eog_wire), 
		.scoreboard_fb(scoreboard_eof_wire), 
		.buttons_select(button_select),
		.switches_select(switches_select), 
		.lcd_control(LCD_select),
		.led_control(LED),
		.game_score_select(score_select),
		.access_control_reset(access_control_rst_wire));


	AccessControl access_control(
		.clk(clk),
		.rst(access_control_rst_wire), 
		._Data_In({2'b00,Switches[15:0]}), 
		._Data_In_Load(button_access_control[0]),
		._Access_grant(access_grant),
		.user_ID(userid_const)); 
		 

	 
	Game game(
		.clk(clk),
		.rst(rst), 
		.buttons(button_game), 
		.userid(userid_const),
		.gamestate(score_select), 
		.game_eog(game_eog_wire),

		.rowOut(matrix_row),
		.colOut(matrix_col),
		.game_data(game_score));



	ScoreBoardMain score_board(
		.clk(clk),
		.rst(rst),
		.buttons(button_scoreboard),
		.user_id(userid_const),
		.score(game_score),
		.game_state(score_select),
		.scoreboard_eof(scoreboard_eof_wire),
		.display_data(score_board_scores)); 


 	FPGA_2_LCD lcd_display(
 		.CLK(clk),
 		.RST(rst),
 		.LCD_CHAR_ARRAY(LCD_select),
 		.LCD_RS(lcd_RS),
 		.LCD_RW(lcd_RW),
 		.LCD_E(lcd_E),
 	    .LCD_DB(lcd_DB), 
 	    .LCD_ON(lcd_ON));
 








	wire [31:0] display_wire;
	DisplayScoreMux mux(
		score_select, 
		game_score, 
		score_board_scores, 
		display_wire); 

	Display7Seg seven_seg(
		.userID_score(display_wire),
		.display0(display_0),
		.display1(display_1),
		.display2(display_2),
		.display3(display_3),
		.display4(display_4),
		.display5(display_5),
		.display6(display_6),
		.display7(display_7));
		
endmodule