data/full_repos/permissive/458134463/Modules/alu_32bit.v
1: b"%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:23: Cannot find file containing module: 'adder_32bit'\nadder_32bit add32(value1, value2, ADD, add_carry_out, 1'b0, add_overflow);\n^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/458134463/Modules,data/full_repos/permissive/458134463/adder_32bit\n             data/full_repos/permissive/458134463/Modules,data/full_repos/permissive/458134463/adder_32bit.v\n             data/full_repos/permissive/458134463/Modules,data/full_repos/permissive/458134463/adder_32bit.sv\n             adder_32bit\n             adder_32bit.v\n             adder_32bit.sv\n             obj_dir/adder_32bit\n             obj_dir/adder_32bit.v\n             obj_dir/adder_32bit.sv\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:24: Cannot find file containing module: 'xor_32bit'\nxor_32bit   xor32(value1, value2, XOR);\n^~~~~~~~~\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:25: Cannot find file containing module: 'sub_32bit'\nsub_32bit   sub32(value1, value2, SUB, overflow);\n^~~~~~~~~\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:26: Cannot find file containing module: 'slt_32bit'\nslt_32bit   slt32(value1, value2, SLT);\n^~~~~~~~~\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:27: Cannot find file containing module: 'nor_32bit'\nnor_32bit   nor32(value1, value2, NOR);\n^~~~~~~~~\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:28: Cannot find file containing module: 'and_32bit'\nand_32bit   and32(value1, value2, AND);\n^~~~~~~~~\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:29: Cannot find file containing module: 'or_32bit'\nor_32bit    or32 (value1, value2, OR );\n^~~~~~~~\n%Error: data/full_repos/permissive/458134463/Modules/alu_32bit.v:34: Cannot find file containing module: 'mux8x1_32bit'\nmux8x1_32bit mux32(AND, ADD, SUB, XOR, NOR, OR, SLT, MULT, select, result); \n^~~~~~~~~~~~\n%Error: Exiting due to 8 error(s)\n"
module alu_32bit(value1, value2, select, result);

input [2:0]  select;
input [31:0] value1;
input [31:0] value2;

output [31:0] result;

wire [31:0] ADD;
wire [31:0] XOR;
wire [31:0] SUB;
wire [31:0] MULT;
wire [31:0] SLT;
wire [31:0] NOR;
wire [31:0] AND;
wire [31:0] OR;

wire add_carry_out;
wire add_overflow;
wire sub_overflow;


adder_32bit add32(value1, value2, ADD, add_carry_out, 1'b0, add_overflow);
xor_32bit   xor32(value1, value2, XOR);
sub_32bit   sub32(value1, value2, SUB, overflow);
slt_32bit   slt32(value1, value2, SLT);
nor_32bit   nor32(value1, value2, NOR);
and_32bit   and32(value1, value2, AND);
or_32bit    or32 (value1, value2, OR );




mux8x1_32bit mux32(AND, ADD, SUB, XOR, NOR, OR, SLT, MULT, select, result);	


endmodule
module alu_32bit(value1, value2, select, result);


input [2:0]  select;
input [31:0] value1;
input [31:0] value2;

output [31:0] result;

wire [31:0] ADD;
wire [31:0] XOR;
wire [31:0] SUB;
wire [31:0] MULT;
wire [31:0] SLT;
wire [31:0] NOR;
wire [31:0] AND;
wire [31:0] OR;

wire add_carry_out;
wire add_overflow;
wire sub_overflow;


adder_32bit add32(value1, value2, ADD, add_carry_out, 1'b0, add_overflow);
xor_32bit   xor32(value1, value2, XOR);
sub_32bit   sub32(value1, value2, SUB, overflow);
slt_32bit   slt32(value1, value2, SLT);
nor_32bit   nor32(value1, value2, NOR);
and_32bit   and32(value1, value2, AND);
or_32bit    or32 (value1, value2, OR );




mux8x1_32bit mux32(AND, ADD, SUB, XOR, NOR, OR, SLT, MULT, select, result);	


endmodule