data/full_repos/permissive/50137133/Baseline/controller.v
1: b"%Error: data/full_repos/permissive/50137133/Baseline/controller.v:10: Cannot find file containing module: 'maindec'\nmaindec md(op, memtoreg, memwrite, branch,\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/50137133/Baseline,data/full_repos/permissive/50137133/maindec\n             data/full_repos/permissive/50137133/Baseline,data/full_repos/permissive/50137133/maindec.v\n             data/full_repos/permissive/50137133/Baseline,data/full_repos/permissive/50137133/maindec.sv\n             maindec\n             maindec.v\n             maindec.sv\n             obj_dir/maindec\n             obj_dir/maindec.v\n             obj_dir/maindec.sv\n%Error: data/full_repos/permissive/50137133/Baseline/controller.v:13: Cannot find file containing module: 'aludec'\naludec ad (funct, aluop, alucontrol);\n^~~~~~\n%Error: Exiting due to 2 error(s)\n"
module controller (input [5:0] op, funct,
input zero,
output memtoreg, memwrite,
output pcsrc, alusrc,
output regdst, regwrite,
output jump,
output [2:0] alucontrol);
wire [1:0] aluop;
wire branch;
maindec md(op, memtoreg, memwrite, branch,
alusrc, regdst, regwrite, jump,
aluop);
aludec ad (funct, aluop, alucontrol);
assign pcsrc = branch & zero;
endmodule
module controller (input [5:0] op, funct,
input zero,
output memtoreg, memwrite,
output pcsrc, alusrc,
output regdst, regwrite,
output jump,
output [2:0] alucontrol);

wire [1:0] aluop;
wire branch;
maindec md(op, memtoreg, memwrite, branch,
alusrc, regdst, regwrite, jump,
aluop);
aludec ad (funct, aluop, alucontrol);
assign pcsrc = branch & zero;
endmodule