data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v
None: at end of input
1: b'%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:21: Cannot find include file: parameter.h\n`include "parameter.h" \n         ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/117439411/Pacman_ACL_v1,data/full_repos/permissive/117439411/parameter.h\n             data/full_repos/permissive/117439411/Pacman_ACL_v1,data/full_repos/permissive/117439411/parameter.h.v\n             data/full_repos/permissive/117439411/Pacman_ACL_v1,data/full_repos/permissive/117439411/parameter.h.sv\n             parameter.h\n             parameter.h.v\n             parameter.h.sv\n             obj_dir/parameter.h\n             obj_dir/parameter.h.v\n             obj_dir/parameter.h.sv\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:28: Define or directive not defined: \'`H_DIGIT_ZERO_ON\'\n assign h_digit_zero = (h_counter > `H_DIGIT_ZERO_ON) & (h_counter < `H_DIGIT_ZERO_OFF);\n                                    ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:28: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign h_digit_zero = (h_counter > `H_DIGIT_ZERO_ON) & (h_counter < `H_DIGIT_ZERO_OFF);\n                                                    ^\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:28: Define or directive not defined: \'`H_DIGIT_ZERO_OFF\'\n assign h_digit_zero = (h_counter > `H_DIGIT_ZERO_ON) & (h_counter < `H_DIGIT_ZERO_OFF);\n                                                                     ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:29: Define or directive not defined: \'`H_DIGIT_ONE_ON\'\n assign h_digit_one = (h_counter > `H_DIGIT_ONE_ON) & (h_counter < `H_DIGIT_ONE_OFF);\n                                   ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:29: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign h_digit_one = (h_counter > `H_DIGIT_ONE_ON) & (h_counter < `H_DIGIT_ONE_OFF);\n                                                  ^\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:29: Define or directive not defined: \'`H_DIGIT_ONE_OFF\'\n assign h_digit_one = (h_counter > `H_DIGIT_ONE_ON) & (h_counter < `H_DIGIT_ONE_OFF);\n                                                                   ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:30: Define or directive not defined: \'`H_DIGIT_TWO_ON\'\n assign h_digit_two = (h_counter > `H_DIGIT_TWO_ON) & (h_counter < `H_DIGIT_TWO_OFF);\n                                   ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:30: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign h_digit_two = (h_counter > `H_DIGIT_TWO_ON) & (h_counter < `H_DIGIT_TWO_OFF);\n                                                  ^\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:30: Define or directive not defined: \'`H_DIGIT_TWO_OFF\'\n assign h_digit_two = (h_counter > `H_DIGIT_TWO_ON) & (h_counter < `H_DIGIT_TWO_OFF);\n                                                                   ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:31: Define or directive not defined: \'`H_DIGIT_THREE_ON\'\n assign h_digit_three = (h_counter > `H_DIGIT_THREE_ON) & (h_counter < `H_DIGIT_THREE_OFF);\n                                     ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:31: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign h_digit_three = (h_counter > `H_DIGIT_THREE_ON) & (h_counter < `H_DIGIT_THREE_OFF);\n                                                      ^\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:31: Define or directive not defined: \'`H_DIGIT_THREE_OFF\'\n assign h_digit_three = (h_counter > `H_DIGIT_THREE_ON) & (h_counter < `H_DIGIT_THREE_OFF);\n                                                                       ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:32: Define or directive not defined: \'`H_DIGIT_FOUR_ON\'\n assign h_digit_four = (h_counter > `H_DIGIT_FOUR_ON) & (h_counter < `H_DIGIT_FOUR_OFF);\n                                    ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:32: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign h_digit_four = (h_counter > `H_DIGIT_FOUR_ON) & (h_counter < `H_DIGIT_FOUR_OFF);\n                                                    ^\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:32: Define or directive not defined: \'`H_DIGIT_FOUR_OFF\'\n assign h_digit_four = (h_counter > `H_DIGIT_FOUR_ON) & (h_counter < `H_DIGIT_FOUR_OFF);\n                                                                     ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:33: Define or directive not defined: \'`V_DIGIT_ON\'\n assign v_digit = (v_counter > `V_DIGIT_ON) & (v_counter < `V_DIGIT_OFF);\n                               ^~~~~~~~~~~\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:33: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign v_digit = (v_counter > `V_DIGIT_ON) & (v_counter < `V_DIGIT_OFF);\n                                          ^\n%Error: data/full_repos/permissive/117439411/Pacman_ACL_v1/score_controller.v:33: Define or directive not defined: \'`V_DIGIT_OFF\'\n assign v_digit = (v_counter > `V_DIGIT_ON) & (v_counter < `V_DIGIT_OFF);\n                                                           ^~~~~~~~~~~~\n%Error: Exiting due to 19 error(s)\n'
module score_controller(input clk,input reset, input [10:0] h_counter, input [9:0] v_counter,
input zero_pixel, input one_pixel, input two_pixel, input three_pixel,
input four_pixel,
output h_digit_zero, output h_digit_one, output h_digit_two, output h_digit_three,
output h_digit_four, output v_digit, output reg [7:0] score_pixel, output score_en);
	
	assign h_digit_zero = (h_counter > `H_DIGIT_ZERO_ON) & (h_counter < `H_DIGIT_ZERO_OFF);
	assign h_digit_one = (h_counter > `H_DIGIT_ONE_ON) & (h_counter < `H_DIGIT_ONE_OFF);
	assign h_digit_two = (h_counter > `H_DIGIT_TWO_ON) & (h_counter < `H_DIGIT_TWO_OFF);
	assign h_digit_three = (h_counter > `H_DIGIT_THREE_ON) & (h_counter < `H_DIGIT_THREE_OFF);
	assign h_digit_four = (h_counter > `H_DIGIT_FOUR_ON) & (h_counter < `H_DIGIT_FOUR_OFF);
	assign v_digit = (v_counter > `V_DIGIT_ON) & (v_counter < `V_DIGIT_OFF);
	assign score_en = ((h_digit_zero | h_digit_one | h_digit_two | h_digit_three |
	h_digit_four) & v_digit);



	always @ (posedge clk or posedge reset)
		begin
			if(reset)
				score_pixel <= 0;
			else if(h_digit_zero & v_digit)
				begin
					if(zero_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_one & v_digit)
				begin
					if(one_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_two & v_digit)
				begin
					if(two_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_three & v_digit)
				begin
					if(three_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_four & v_digit)
				begin
					if(four_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else
				score_pixel <= 8'hff;
		end
endmodule
module score_controller(input clk,input reset, input [10:0] h_counter, input [9:0] v_counter,
input zero_pixel, input one_pixel, input two_pixel, input three_pixel,
input four_pixel,
output h_digit_zero, output h_digit_one, output h_digit_two, output h_digit_three,
output h_digit_four, output v_digit, output reg [7:0] score_pixel, output score_en);

	
	assign h_digit_zero = (h_counter > `H_DIGIT_ZERO_ON) & (h_counter < `H_DIGIT_ZERO_OFF);
	assign h_digit_one = (h_counter > `H_DIGIT_ONE_ON) & (h_counter < `H_DIGIT_ONE_OFF);
	assign h_digit_two = (h_counter > `H_DIGIT_TWO_ON) & (h_counter < `H_DIGIT_TWO_OFF);
	assign h_digit_three = (h_counter > `H_DIGIT_THREE_ON) & (h_counter < `H_DIGIT_THREE_OFF);
	assign h_digit_four = (h_counter > `H_DIGIT_FOUR_ON) & (h_counter < `H_DIGIT_FOUR_OFF);
	assign v_digit = (v_counter > `V_DIGIT_ON) & (v_counter < `V_DIGIT_OFF);
	assign score_en = ((h_digit_zero | h_digit_one | h_digit_two | h_digit_three |
	h_digit_four) & v_digit);



	always @ (posedge clk or posedge reset)
		begin
			if(reset)
				score_pixel <= 0;
			else if(h_digit_zero & v_digit)
				begin
					if(zero_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_one & v_digit)
				begin
					if(one_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_two & v_digit)
				begin
					if(two_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_three & v_digit)
				begin
					if(three_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else if(h_digit_four & v_digit)
				begin
					if(four_pixel)
						score_pixel <= 8'hf6;
					else
						score_pixel <= 8'h00;
				end
			else
				score_pixel <= 8'hff;
		end
endmodule