data/full_repos/permissive/118928497/QE_M.v
1: b"%Error: data/full_repos/permissive/118928497/QE_M.v:17: Cannot find file containing module: 'Quadratic_Equation'\nQuadratic_Equation Quadratic_Equation (\n^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/118928497,data/full_repos/permissive/118928497/Quadratic_Equation\n             data/full_repos/permissive/118928497,data/full_repos/permissive/118928497/Quadratic_Equation.v\n             data/full_repos/permissive/118928497,data/full_repos/permissive/118928497/Quadratic_Equation.sv\n             Quadratic_Equation\n             Quadratic_Equation.v\n             Quadratic_Equation.sv\n             obj_dir/Quadratic_Equation\n             obj_dir/Quadratic_Equation.v\n             obj_dir/Quadratic_Equation.sv\n%Error: data/full_repos/permissive/118928497/QE_M.v:28: Cannot find file containing module: 'Product_Sum'\nProduct_Sum Product_Sum (\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/118928497/QE_M.v:39: Cannot find file containing module: 'FSM'\nFSM FSM (\n^~~\n%Error: Exiting due to 3 error(s)\n"
module QE_M (clk, reset, in_a, in_b, in_c, in_x, mode, valid_in, last_input, valid_out, result);
input wire clk, reset, mode;
input wire [7:0]in_a;
input wire [7:0]in_b;
input wire [7:0]in_c;
input wire [7:0]in_x;
input wire valid_in, last_input;
output wire valid_out;
output wire [15:0]result;

wire [15:0]result_0;
wire [15:0]result_1;
wire enable_mode0, enable_mode1, done;

assign result = (mode == 1'b0) ? result_0 : result_1;

Quadratic_Equation Quadratic_Equation (
	.clk		(clk),
	.reset 		(reset),
	.enable		(enable_mode0),
	.in_a 		(in_a),
	.in_x 		(in_x),
	.in_b 		(in_b),
	.in_c 		(in_c),
	.result		(result_0)
);

Product_Sum Product_Sum (
	.clk 		(clk),
	.reset 		(reset),
	.enable		(enable_mode1),
	.valid_in	(valid_in),
	.done		(done),
	.in_ai 		(in_a),
	.in_xi		(in_x),
	.result		(result_1)
);

FSM FSM (
	.clk			(clk),
	.reset 			(reset),
	.mode 			(mode),
	.valid_in 		(valid_in),
	.last_in		(last_input),
	.enable_mode0 	(enable_mode0),
	.enable_mode1 	(enable_mode1),
	.valid_out 		(valid_out),
	.done			(done)
);

endmodule
module QE_M (clk, reset, in_a, in_b, in_c, in_x, mode, valid_in, last_input, valid_out, result);

input wire clk, reset, mode;
input wire [7:0]in_a;
input wire [7:0]in_b;
input wire [7:0]in_c;
input wire [7:0]in_x;
input wire valid_in, last_input;
output wire valid_out;
output wire [15:0]result;

wire [15:0]result_0;
wire [15:0]result_1;
wire enable_mode0, enable_mode1, done;

assign result = (mode == 1'b0) ? result_0 : result_1;

Quadratic_Equation Quadratic_Equation (
	.clk		(clk),
	.reset 		(reset),
	.enable		(enable_mode0),
	.in_a 		(in_a),
	.in_x 		(in_x),
	.in_b 		(in_b),
	.in_c 		(in_c),
	.result		(result_0)
);

Product_Sum Product_Sum (
	.clk 		(clk),
	.reset 		(reset),
	.enable		(enable_mode1),
	.valid_in	(valid_in),
	.done		(done),
	.in_ai 		(in_a),
	.in_xi		(in_x),
	.result		(result_1)
);

FSM FSM (
	.clk			(clk),
	.reset 			(reset),
	.mode 			(mode),
	.valid_in 		(valid_in),
	.last_in		(last_input),
	.enable_mode0 	(enable_mode0),
	.enable_mode1 	(enable_mode1),
	.valid_out 		(valid_out),
	.done			(done)
);

endmodule