data/full_repos/permissive/452016975/src/alu.v
1: b"%Error: data/full_repos/permissive/452016975/src/alu.v:12: Cannot find file containing module: '_32bit_adder'\n _32bit_adder g0(R0,carry_out,A, B ,carry_in);\n ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/452016975/src,data/full_repos/permissive/452016975/_32bit_adder\n             data/full_repos/permissive/452016975/src,data/full_repos/permissive/452016975/_32bit_adder.v\n             data/full_repos/permissive/452016975/src,data/full_repos/permissive/452016975/_32bit_adder.sv\n             _32bit_adder\n             _32bit_adder.v\n             _32bit_adder.sv\n             obj_dir/_32bit_adder\n             obj_dir/_32bit_adder.v\n             obj_dir/_32bit_adder.sv\n%Error: data/full_repos/permissive/452016975/src/alu.v:13: Cannot find file containing module: '_32_bit_xor'\n _32_bit_xor g1(A, B , R1);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/452016975/src/alu.v:14: Cannot find file containing module: '_32_bit_sub'\n _32_bit_sub g2(A, B ,carry_in, carry_out, R2);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/452016975/src/alu.v:15: Cannot find file containing module: '_32_bit_slt'\n _32_bit_slt g3(A, B ,carry_in, carry_out, R4);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/452016975/src/alu.v:16: Cannot find file containing module: '_32_bit_nor'\n _32_bit_nor g4(A, B , R5);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/452016975/src/alu.v:17: Cannot find file containing module: '_32_bit_and'\n _32_bit_and g5(A, B , R6);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/452016975/src/alu.v:18: Cannot find file containing module: '_32_bit_or'\n _32_bit_or g6(A, B , R7);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/452016975/src/alu.v:20: Cannot find file containing module: '_mux8x1'\n _mux8x1 g7(R0, R1, R2, R3, R4, R5, R6, R7, S, R);\n ^~~~~~~\n%Error: Exiting due to 8 error(s)\n"
module alu
(
	input [31:0] A,
	input [31:0] B,
	input [2:0] S,
	input carry_in,
	output [31:0] R);

	wire [31:0] R0,R1,R2,R3,R4,R5,R6,R7;
	
	
	_32bit_adder g0(R0,carry_out,A, B ,carry_in);
	_32_bit_xor g1(A, B , R1);
	_32_bit_sub g2(A, B ,carry_in, carry_out, R2);
	_32_bit_slt g3(A, B ,carry_in, carry_out, R4);
	_32_bit_nor g4(A, B , R5);
	_32_bit_and g5(A, B , R6);
	_32_bit_or g6(A, B , R7);
	
	_mux8x1 g7(R0, R1, R2, R3, R4, R5, R6, R7, S, R);
	


endmodule
module alu
(
	input [31:0] A,
	input [31:0] B,
	input [2:0] S,
	input carry_in,
	output [31:0] R);


	wire [31:0] R0,R1,R2,R3,R4,R5,R6,R7;
	
	
	_32bit_adder g0(R0,carry_out,A, B ,carry_in);
	_32_bit_xor g1(A, B , R1);
	_32_bit_sub g2(A, B ,carry_in, carry_out, R2);
	_32_bit_slt g3(A, B ,carry_in, carry_out, R4);
	_32_bit_nor g4(A, B , R5);
	_32_bit_and g5(A, B , R6);
	_32_bit_or g6(A, B , R7);
	
	_mux8x1 g7(R0, R1, R2, R3, R4, R5, R6, R7, S, R);
	


endmodule