data/full_repos/permissive/505514178/source_code/Instruction_Fetch.v
1: b"%Error: data/full_repos/permissive/505514178/source_code/Instruction_Fetch.v:9: Cannot find file containing module: 'Instruction_Memory'\nInstruction_Memory instr_mem(PC,reset,Instruction_Code);\n^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/505514178/source_code,data/full_repos/permissive/505514178/Instruction_Memory\n             data/full_repos/permissive/505514178/source_code,data/full_repos/permissive/505514178/Instruction_Memory.v\n             data/full_repos/permissive/505514178/source_code,data/full_repos/permissive/505514178/Instruction_Memory.sv\n             Instruction_Memory\n             Instruction_Memory.v\n             Instruction_Memory.sv\n             obj_dir/Instruction_Memory\n             obj_dir/Instruction_Memory.v\n             obj_dir/Instruction_Memory.sv\n%Error: Exiting due to 1 error(s)\n"
module Instruction_Fetch(
    input clk,
    input reset,
    output [31:0] Instruction_Code
    );
reg [31:0] PC;
Instruction_Memory instr_mem(PC,reset,Instruction_Code);

always @(posedge clk,negedge reset)
begin
if(reset == 0)
PC<=0;
else
PC<=PC+4;
end
endmodule
module Instruction_Fetch(
    input clk,
    input reset,
    output [31:0] Instruction_Code
    );

reg [31:0] PC;
Instruction_Memory instr_mem(PC,reset,Instruction_Code);

always @(posedge clk,negedge reset)
begin
if(reset == 0)
PC<=0;
else
PC<=PC+4;
end
endmodule