data/full_repos/permissive/451853158/MIPS_Single_Cycle_Processor/mips_single_cycle.v
1: b"%Error: data/full_repos/permissive/451853158/MIPS_Single_Cycle_Processor/mips_single_cycle.v:13: Cannot find file containing module: 'datapath'\ndatapath dp (.clk(clk), .reset(reset), .Jump(Jump),\n^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/451853158/MIPS_Single_Cycle_Processor,data/full_repos/permissive/451853158/datapath\n             data/full_repos/permissive/451853158/MIPS_Single_Cycle_Processor,data/full_repos/permissive/451853158/datapath.v\n             data/full_repos/permissive/451853158/MIPS_Single_Cycle_Processor,data/full_repos/permissive/451853158/datapath.sv\n             datapath\n             datapath.v\n             datapath.sv\n             obj_dir/datapath\n             obj_dir/datapath.v\n             obj_dir/datapath.sv\n%Error: data/full_repos/permissive/451853158/MIPS_Single_Cycle_Processor/mips_single_cycle.v:19: Cannot find file containing module: 'controlUnit'\ncontrolUnit ctrlU (.OPCode(OPCode), .Funct(Funct), .Zero(Zero),\n^~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module mips_single_cycle (
  input clk, reset
);



wire [5:0] OPCode, Funct;
wire Zero;
wire Jump, PCSrc, MemtoReg, MemWrite, ALUSrc, RegDst, RegWr;
wire [2:0] ALUCtrl;


datapath dp (.clk(clk), .reset(reset), .Jump(Jump),
             .PCSrc(PCSrc), .MemtoReg(MemtoReg), .MemWrite(MemWrite),
             .ALUSrc(ALUSrc), .RegDst(RegDst), .RegWr(RegWr),
             .ALUCtrl(ALUCtrl), .OPCode(OPCode), .Funct(Funct), .Z(Zero));


controlUnit ctrlU (.OPCode(OPCode), .Funct(Funct), .Zero(Zero),
                   .MemtoReg(MemtoReg), .MemWrite(MemWrite), .ALUSrc(ALUSrc),
                   .RegDst(RegDst), .RegWrite(RegWr), .Jump(Jump),
                   .ALUControl(ALUCtrl), .PCSrc(PCSrc));

endmodule
module mips_single_cycle (
  input clk, reset
);




wire [5:0] OPCode, Funct;
wire Zero;
wire Jump, PCSrc, MemtoReg, MemWrite, ALUSrc, RegDst, RegWr;
wire [2:0] ALUCtrl;


datapath dp (.clk(clk), .reset(reset), .Jump(Jump),
             .PCSrc(PCSrc), .MemtoReg(MemtoReg), .MemWrite(MemWrite),
             .ALUSrc(ALUSrc), .RegDst(RegDst), .RegWr(RegWr),
             .ALUCtrl(ALUCtrl), .OPCode(OPCode), .Funct(Funct), .Z(Zero));


controlUnit ctrlU (.OPCode(OPCode), .Funct(Funct), .Zero(Zero),
                   .MemtoReg(MemtoReg), .MemWrite(MemWrite), .ALUSrc(ALUSrc),
                   .RegDst(RegDst), .RegWrite(RegWr), .Jump(Jump),
                   .ALUControl(ALUCtrl), .PCSrc(PCSrc));

endmodule