data/full_repos/permissive/166661632/p4/P4/mips.v
 line:1944: before: "/"
1: b"%Error: data/full_repos/permissive/166661632/p4/P4/mips.v:13: Cannot find file containing module: 'ctrl'\nctrl control(.instr(instr),\n^~~~\n        ... Looked in:\n             data/full_repos/permissive/166661632/p4/P4,data/full_repos/permissive/166661632/ctrl\n             data/full_repos/permissive/166661632/p4/P4,data/full_repos/permissive/166661632/ctrl.v\n             data/full_repos/permissive/166661632/p4/P4,data/full_repos/permissive/166661632/ctrl.sv\n             ctrl\n             ctrl.v\n             ctrl.sv\n             obj_dir/ctrl\n             obj_dir/ctrl.v\n             obj_dir/ctrl.sv\n%Error: data/full_repos/permissive/166661632/p4/P4/mips.v:20: Cannot find file containing module: 'DATAPATH'\nDATAPATH datapath(.clk(clk),.clr(reset),\n^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module mips(clk,reset);
input clk;
input reset;


wire branch,regwrite,memwrite,isbeq,alusrc,hf,bt,issll,issra,issrl,v;
wire [1:0] npcop,extop,aluop,regdst;
wire [2:0] memtoreg;
wire [31:0] instr;

ctrl control(.instr(instr),
.branch(branch),.regwrite(regwrite),.memwrite(memwrite),.npcop(npcop),.extop(extop),.aluop(aluop),.alusrc(alusrc),
.regdst(regdst),.memtoreg(memtoreg),
.isbeq(isbeq),.hf(hf),.bt(bt),
.isbgtz(isbgtz),.isbgez(isbgez),.isbltz(isbltz),.isblez(isblez),
.issll(issll),.issra(issra),.issrl(issrl),.v(v));

DATAPATH datapath(.clk(clk),.clr(reset),
.branch(branch),.regwrite(regwrite),.memwrite(memwrite),.npcop(npcop),.extop(extop),.aluop(aluop),.alusrc(alusrc),
.regdst(regdst),.memtoreg(memtoreg),
.isbeq(isbeq),
.instr(instr),.hf(hf),.bt(bt),
.isbgtz(isbgtz),.isbgez(isbgez),.isbltz(isbltz),.isblez(isblez),
.issll(issll),.issra(issra),.issrl(issrl),.v(v));

endmodule
module mips(clk,reset);

input clk;
input reset;


wire branch,regwrite,memwrite,isbeq,alusrc,hf,bt,issll,issra,issrl,v;
wire [1:0] npcop,extop,aluop,regdst;
wire [2:0] memtoreg;
wire [31:0] instr;

ctrl control(.instr(instr),
.branch(branch),.regwrite(regwrite),.memwrite(memwrite),.npcop(npcop),.extop(extop),.aluop(aluop),.alusrc(alusrc),
.regdst(regdst),.memtoreg(memtoreg),
.isbeq(isbeq),.hf(hf),.bt(bt),
.isbgtz(isbgtz),.isbgez(isbgez),.isbltz(isbltz),.isblez(isblez),
.issll(issll),.issra(issra),.issrl(issrl),.v(v));

DATAPATH datapath(.clk(clk),.clr(reset),
.branch(branch),.regwrite(regwrite),.memwrite(memwrite),.npcop(npcop),.extop(extop),.aluop(aluop),.alusrc(alusrc),
.regdst(regdst),.memtoreg(memtoreg),
.isbeq(isbeq),
.instr(instr),.hf(hf),.bt(bt),
.isbgtz(isbgtz),.isbgez(isbgez),.isbltz(isbltz),.isblez(isblez),
.issll(issll),.issra(issra),.issrl(issrl),.v(v));

endmodule