data/full_repos/permissive/451853158/MIPS_Pipeline_Processor/controlUnit.v
1: b"%Error: data/full_repos/permissive/451853158/MIPS_Pipeline_Processor/controlUnit.v:9: Cannot find file containing module: 'mainDecoder'\nmainDecoder maindec (.OPCode(OPCode), .MemtoReg(MemtoReg), .MemWrite(MemWrite),\n^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/451853158/MIPS_Pipeline_Processor,data/full_repos/permissive/451853158/mainDecoder\n             data/full_repos/permissive/451853158/MIPS_Pipeline_Processor,data/full_repos/permissive/451853158/mainDecoder.v\n             data/full_repos/permissive/451853158/MIPS_Pipeline_Processor,data/full_repos/permissive/451853158/mainDecoder.sv\n             mainDecoder\n             mainDecoder.v\n             mainDecoder.sv\n             obj_dir/mainDecoder\n             obj_dir/mainDecoder.v\n             obj_dir/mainDecoder.sv\n%Error: data/full_repos/permissive/451853158/MIPS_Pipeline_Processor/controlUnit.v:13: Cannot find file containing module: 'ALUDecoder'\nALUDecoder aludec (.ALUOp(ALUOp), .Funct(Funct), .ALUControl(ALUControl));\n^~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module  controlUnit (
  input       [5:0] OPCode, Funct,
  output wire       MemtoReg, MemWrite, Branch, ALUSrc, RegDst, RegWrite,
  output wire [2:0] ALUControl
);

wire [1:0] ALUOp;

mainDecoder maindec (.OPCode(OPCode), .MemtoReg(MemtoReg), .MemWrite(MemWrite),
                     .Branch(Branch), .ALUSrc(ALUSrc), .RegDst(RegDst),
                     .RegWrite(RegWrite), .ALUOp(ALUOp));

ALUDecoder aludec (.ALUOp(ALUOp), .Funct(Funct), .ALUControl(ALUControl));

endmodule
module  controlUnit (
  input       [5:0] OPCode, Funct,
  output wire       MemtoReg, MemWrite, Branch, ALUSrc, RegDst, RegWrite,
  output wire [2:0] ALUControl
);


wire [1:0] ALUOp;

mainDecoder maindec (.OPCode(OPCode), .MemtoReg(MemtoReg), .MemWrite(MemWrite),
                     .Branch(Branch), .ALUSrc(ALUSrc), .RegDst(RegDst),
                     .RegWrite(RegWrite), .ALUOp(ALUOp));

ALUDecoder aludec (.ALUOp(ALUOp), .Funct(Funct), .ALUControl(ALUControl));

endmodule