data/full_repos/permissive/423539813/testbenches/Control_Unit_testbench.v
1: b"%Error: data/full_repos/permissive/423539813/testbenches/Control_Unit_testbench.v:35: Cannot find file containing module: 'Control_Unit'\nControl_Unit uut(.opcode(opcode) , .func3(func3) , .func7(func7),.ZeroOut(ZeroOut),.CarryOut(CarryOut),\n^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/423539813/testbenches,data/full_repos/permissive/423539813/Control_Unit\n             data/full_repos/permissive/423539813/testbenches,data/full_repos/permissive/423539813/Control_Unit.v\n             data/full_repos/permissive/423539813/testbenches,data/full_repos/permissive/423539813/Control_Unit.sv\n             Control_Unit\n             Control_Unit.v\n             Control_Unit.sv\n             obj_dir/Control_Unit\n             obj_dir/Control_Unit.v\n             obj_dir/Control_Unit.sv\n%Error: Exiting due to 1 error(s)\n"
module Control_Unit_testbench;
reg [6:0] opcode;
reg[2:0] func3;
reg [6:0]func7;
reg ZeroOut;
reg CarryOut;
wire PCSrc, MemWrite, ALUSrc, RegWrite;
wire ResultSrc;
wire [3:0] ALUControl;
wire [1:0] ImmSrc;
wire [2:0] instruction_type;

Control_Unit uut(.opcode(opcode) , .func3(func3) , .func7(func7),.ZeroOut(ZeroOut),.CarryOut(CarryOut),
                .PCSrc(PCSrc), .ResultSrc(ResultSrc), .MemWrite(MemWrite), .ALUSrc(ALUSrc), .RegWrite(RegWrite),
					.ALUControl(ALUControl),
					.ImmSrc(ImmSrc),
					.instruction_type(instruction_type));		
					
initial begin

opcode = 7'b1100011;
func3 =  3'b000;
func7 =  7'b0000000;
ZeroOut = 0;
CarryOut = 1;

end

					
					
endmodule
module Control_Unit_testbench;

reg [6:0] opcode;
reg[2:0] func3;
reg [6:0]func7;
reg ZeroOut;
reg CarryOut;
wire PCSrc, MemWrite, ALUSrc, RegWrite;
wire ResultSrc;
wire [3:0] ALUControl;
wire [1:0] ImmSrc;
wire [2:0] instruction_type;

Control_Unit uut(.opcode(opcode) , .func3(func3) , .func7(func7),.ZeroOut(ZeroOut),.CarryOut(CarryOut),
                .PCSrc(PCSrc), .ResultSrc(ResultSrc), .MemWrite(MemWrite), .ALUSrc(ALUSrc), .RegWrite(RegWrite),
					.ALUControl(ALUControl),
					.ImmSrc(ImmSrc),
					.instruction_type(instruction_type));		
					
initial begin

opcode = 7'b1100011;
func3 =  3'b000;
func7 =  7'b0000000;
ZeroOut = 0;
CarryOut = 1;

end

					
					
endmodule