data/full_repos/permissive/451968827/main.v
1: b"%Error: data/full_repos/permissive/451968827/main.v:24: Cannot find file containing module: 'hex_decoder'\n hex_decoder h1(.c(ALUoutw[3:0]),.display(HEX4));\n ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/451968827,data/full_repos/permissive/451968827/hex_decoder\n             data/full_repos/permissive/451968827,data/full_repos/permissive/451968827/hex_decoder.v\n             data/full_repos/permissive/451968827,data/full_repos/permissive/451968827/hex_decoder.sv\n             hex_decoder\n             hex_decoder.v\n             hex_decoder.sv\n             obj_dir/hex_decoder\n             obj_dir/hex_decoder.v\n             obj_dir/hex_decoder.sv\n%Error: data/full_repos/permissive/451968827/main.v:25: Cannot find file containing module: 'hex_decoder'\n hex_decoder h2(.c(ALUoutw[7:4]),.display(HEX5));\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/451968827/main.v:26: Cannot find file containing module: 'hex_decoder'\n hex_decoder h3(.c(SW[7:4]),.display(HEX0));\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/451968827/main.v:27: Cannot find file containing module: 'hex_decoder'\n hex_decoder h4(.c(SW[3:0]),.display(HEX2));\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/451968827/main.v:28: Cannot find file containing module: 'hex_decoder'\n hex_decoder h5(.c(4'b1010),.display(HEX1));\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/451968827/main.v:29: Cannot find file containing module: 'hex_decoder'\n hex_decoder h6(.c(4'b1011),.display(HEX3));\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/451968827/main.v:40: Cannot find file containing module: 'part3'\n part3 u2(.A(SW[7:4]),.B(SW[3:0]),.Function(KEY[2:0]),.ALUout(ALUoutw[7:0]));\n ^~~~~\n%Error: Exiting due to 7 error(s)\n"
module main	(
	input wire CLOCK_50,
	input wire [9:0] SW,
	input wire [3:0] KEY,
	output wire [6:0] HEX0,
	output wire [6:0] HEX1,         
	output wire [6:0] HEX2,         
	output wire [6:0] HEX3,         
	output wire [6:0] HEX4,         
	output wire [6:0] HEX5,         
	output wire [9:0] LEDR,
	output wire [7:0] x,
	output wire [6:0] y,
	output wire [2:0] colour,
	output wire plot,
	output wire vga_resetn
);    


	wire [7:0]ALUoutw;
	hex_decoder h1(.c(ALUoutw[3:0]),.display(HEX4));
	hex_decoder h2(.c(ALUoutw[7:4]),.display(HEX5));
	hex_decoder h3(.c(SW[7:4]),.display(HEX0));
	hex_decoder h4(.c(SW[3:0]),.display(HEX2));
	hex_decoder h5(.c(4'b1010),.display(HEX1));
	hex_decoder h6(.c(4'b1011),.display(HEX3));
	assign LEDR[0] = ALUoutw[0];
	assign LEDR[1] = ALUoutw[1];
	assign LEDR[2] = ALUoutw[2];
	assign LEDR[3] = ALUoutw[3];
	assign LEDR[4] = ALUoutw[4];
	assign LEDR[5] = ALUoutw[5];
	assign LEDR[6] = ALUoutw[6];
	assign LEDR[7] = ALUoutw[7];
	
	
	part3 u2(.A(SW[7:4]),.B(SW[3:0]),.Function(KEY[2:0]),.ALUout(ALUoutw[7:0]));
	
endmodule
module main	(
	input wire CLOCK_50,
	input wire [9:0] SW,
	input wire [3:0] KEY,
	output wire [6:0] HEX0,
	output wire [6:0] HEX1,         
	output wire [6:0] HEX2,         
	output wire [6:0] HEX3,         
	output wire [6:0] HEX4,         
	output wire [6:0] HEX5,         
	output wire [9:0] LEDR,
	output wire [7:0] x,
	output wire [6:0] y,
	output wire [2:0] colour,
	output wire plot,
	output wire vga_resetn
);
    


	wire [7:0]ALUoutw;
	hex_decoder h1(.c(ALUoutw[3:0]),.display(HEX4));
	hex_decoder h2(.c(ALUoutw[7:4]),.display(HEX5));
	hex_decoder h3(.c(SW[7:4]),.display(HEX0));
	hex_decoder h4(.c(SW[3:0]),.display(HEX2));
	hex_decoder h5(.c(4'b1010),.display(HEX1));
	hex_decoder h6(.c(4'b1011),.display(HEX3));
	assign LEDR[0] = ALUoutw[0];
	assign LEDR[1] = ALUoutw[1];
	assign LEDR[2] = ALUoutw[2];
	assign LEDR[3] = ALUoutw[3];
	assign LEDR[4] = ALUoutw[4];
	assign LEDR[5] = ALUoutw[5];
	assign LEDR[6] = ALUoutw[6];
	assign LEDR[7] = ALUoutw[7];
	
	
	part3 u2(.A(SW[7:4]),.B(SW[3:0]),.Function(KEY[2:0]),.ALUout(ALUoutw[7:0]));
	
endmodule