data/full_repos/permissive/510695465/InstructionFetch.v
1: b"%Error: data/full_repos/permissive/510695465/InstructionFetch.v:25: Cannot find file containing module: 'InstructionMemory'\nInstructionMemory IM(PCout,Reset,Instruction_Code);\n^~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/510695465,data/full_repos/permissive/510695465/InstructionMemory\n             data/full_repos/permissive/510695465,data/full_repos/permissive/510695465/InstructionMemory.v\n             data/full_repos/permissive/510695465,data/full_repos/permissive/510695465/InstructionMemory.sv\n             InstructionMemory\n             InstructionMemory.v\n             InstructionMemory.sv\n             obj_dir/InstructionMemory\n             obj_dir/InstructionMemory.v\n             obj_dir/InstructionMemory.sv\n%Error: Exiting due to 1 error(s)\n"
module InstructionFetch(input Clk, input Reset, input [7:0] PCin, output reg [7:0] PCout, output [7:0] Instruction_Code);

InstructionMemory IM(PCout,Reset,Instruction_Code);
always@(posedge Clk,negedge Reset)
begin
    if(Reset == 0)
    PCout <= 0;
    else 
    PCout <= PCin;
end

endmodule
module InstructionFetch(input Clk, input Reset, input [7:0] PCin, output reg [7:0] PCout, output [7:0] Instruction_Code);


InstructionMemory IM(PCout,Reset,Instruction_Code);
always@(posedge Clk,negedge Reset)
begin
    if(Reset == 0)
    PCout <= 0;
    else 
    PCout <= PCin;
end

endmodule