data/full_repos/permissive/472385934/datapath.v
1: b"%Error: data/full_repos/permissive/472385934/datapath.v:58: Cannot find file containing module: 'inst_memory'\ninst_memory fetch_mem(clk,pcF,instrF,ext_instr,ext_instr_addr,ext_instr_en,start); \n^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/472385934,data/full_repos/permissive/472385934/inst_memory\n             data/full_repos/permissive/472385934,data/full_repos/permissive/472385934/inst_memory.v\n             data/full_repos/permissive/472385934,data/full_repos/permissive/472385934/inst_memory.sv\n             inst_memory\n             inst_memory.v\n             inst_memory.sv\n             obj_dir/inst_memory\n             obj_dir/inst_memory.v\n             obj_dir/inst_memory.sv\n%Error: data/full_repos/permissive/472385934/datapath.v:86: Cannot find file containing module: 'reg_file'\nreg_file reg_file(resultW,writeregW,clk,regwriteW,rst_n,a1,a2,rd1,rd2);\n^~~~~~~~\n%Error: data/full_repos/permissive/472385934/datapath.v:116: Cannot find file containing module: 'alu'\nalu alu(srcaE,srcbE,alucontrolE,aluoutE); \n^~~\n%Error: data/full_repos/permissive/472385934/datapath.v:117: Cannot find file containing module: 'multipler'\nmultipler multipler(srcaE,srcbE,clk,alucontrolE[3],multoutE); \n^~~~~~~~~\n%Error: data/full_repos/permissive/472385934/datapath.v:135: Cannot find file containing module: 'data_memory'\ndata_memory data_memory(realoutM,writedataM,clk,memwriteM,readdataM,ext_data,ext_data_addr,ext_data_en);\n^~~~~~~~~~~\n%Error: Exiting due to 5 error(s)\n"
module Fetch(
input clk, rst_n,
input enable_n,
input [31:0] pc_n,
output reg [31:0] pcF);

always@(posedge clk or negedge rst_n)
begin
    if(!rst_n)
        pcF<=0;
    else if(!enable_n)
        pcF<=pc_n;
end
endmodule
module Fetch(
input clk, rst_n,
input enable_n,
input [31:0] pc_n,
output reg [31:0] pcF);


always@(posedge clk or negedge rst_n)
begin
    if(!rst_n)
        pcF<=0;
    else if(!enable_n)
        pcF<=pc_n;
end
endmodule