data/full_repos/permissive/415843050/cpu-src/instmem.v
1: b"%Error: data/full_repos/permissive/415843050/cpu-src/instmem.v:32: Cannot find file containing module: 'programrom'\n    programrom programrom(\n    ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/415843050/cpu-src,data/full_repos/permissive/415843050/programrom\n             data/full_repos/permissive/415843050/cpu-src,data/full_repos/permissive/415843050/programrom.v\n             data/full_repos/permissive/415843050/cpu-src,data/full_repos/permissive/415843050/programrom.sv\n             programrom\n             programrom.v\n             programrom.sv\n             obj_dir/programrom\n             obj_dir/programrom.v\n             obj_dir/programrom.sv\n%Error: Exiting due to 1 error(s)\n"
module InstMEM(
    Rom_clk_i,Rom_adr_i,Jpadr,
    Upg_rst_i,Upg_clk_i,Upg_wen_i,Upg_adr_i,Upg_dat_i,Upg_done_i
    );
    

    input       Rom_clk_i;
    input[13:0] Rom_adr_i;
    output[31:0]    Jpadr;
    

    input       Upg_rst_i;
    input       Upg_clk_i;
    input       Upg_wen_i;
    input[13:0] Upg_adr_i;
    input[31:0] Upg_dat_i;
    input       Upg_done_i;
    
    wire kickoff;
    
    
    assign kickoff = Upg_rst_i | ((~Upg_rst_i) & Upg_done_i);
    

    programrom programrom(
        .clka(kickoff ? Rom_clk_i : Upg_clk_i),
        .wea(kickoff ? 1'b0 : Upg_wen_i),
        .addra(kickoff ? Rom_adr_i : Upg_adr_i),
        .dina(kickoff ? 32'h00000000 : Upg_dat_i),
        .douta(Jpadr)
    );
    
endmodule
module InstMEM(
    Rom_clk_i,Rom_adr_i,Jpadr,
    Upg_rst_i,Upg_clk_i,Upg_wen_i,Upg_adr_i,Upg_dat_i,Upg_done_i
    );

    

    input       Rom_clk_i;
    input[13:0] Rom_adr_i;
    output[31:0]    Jpadr;
    

    input       Upg_rst_i;
    input       Upg_clk_i;
    input       Upg_wen_i;
    input[13:0] Upg_adr_i;
    input[31:0] Upg_dat_i;
    input       Upg_done_i;
    
    wire kickoff;
    
    
    assign kickoff = Upg_rst_i | ((~Upg_rst_i) & Upg_done_i);
    

    programrom programrom(
        .clka(kickoff ? Rom_clk_i : Upg_clk_i),
        .wea(kickoff ? 1'b0 : Upg_wen_i),
        .addra(kickoff ? Rom_adr_i : Upg_adr_i),
        .dina(kickoff ? 32'h00000000 : Upg_dat_i),
        .douta(Jpadr)
    );
    
endmodule