data/full_repos/permissive/50137133/Baseline/MIPS.v
1: b"%Error: data/full_repos/permissive/50137133/Baseline/MIPS.v:9: Cannot find file containing module: 'controller'\ncontroller c(instr[31:26], instr[5:0], zero,memtoreg, memwrite, pcsrc,\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/50137133/Baseline,data/full_repos/permissive/50137133/controller\n             data/full_repos/permissive/50137133/Baseline,data/full_repos/permissive/50137133/controller.v\n             data/full_repos/permissive/50137133/Baseline,data/full_repos/permissive/50137133/controller.sv\n             controller\n             controller.v\n             controller.sv\n             obj_dir/controller\n             obj_dir/controller.v\n             obj_dir/controller.sv\n%Error: data/full_repos/permissive/50137133/Baseline/MIPS.v:11: Cannot find file containing module: 'datapath'\ndatapath dp(clk, reset, memtoreg, pcsrc,\n^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module mips (input clk, reset,
output [31:0] pc,
input [31:0] instr,
output memwrite,
output [31:0] aluout, writedata,
input [31:0] readdata);
wire memtoreg, branch, alusrc, regdst, regwrite, jump;
wire [2:0] alucontrol;
controller c(instr[31:26], instr[5:0], zero,memtoreg, memwrite, pcsrc,
alusrc, regdst, regwrite, jump, alucontrol);
datapath dp(clk, reset, memtoreg, pcsrc,
alusrc, regdst, regwrite, jump,
alucontrol,
zero, pc, instr,
aluout, writedata, readdata);
endmodule
module mips (input clk, reset,
output [31:0] pc,
input [31:0] instr,
output memwrite,
output [31:0] aluout, writedata,
input [31:0] readdata);

wire memtoreg, branch, alusrc, regdst, regwrite, jump;
wire [2:0] alucontrol;
controller c(instr[31:26], instr[5:0], zero,memtoreg, memwrite, pcsrc,
alusrc, regdst, regwrite, jump, alucontrol);
datapath dp(clk, reset, memtoreg, pcsrc,
alusrc, regdst, regwrite, jump,
alucontrol,
zero, pc, instr,
aluout, writedata, readdata);
endmodule