data/full_repos/permissive/492140037/CPU/设计文件/programrom.v
1: b"%Error: data/full_repos/permissive/492140037/CPU/\xe8\xae\xbe\xe8\xae\xa1\xe6\x96\x87\xe4\xbb\xb6/programrom.v:13: Cannot find file containing module: 'prgrom'\nprgrom instmem(\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/492140037/CPU/\xe8\xae\xbe\xe8\xae\xa1\xe6\x96\x87\xe4\xbb\xb6,data/full_repos/permissive/492140037/prgrom\n             data/full_repos/permissive/492140037/CPU/\xe8\xae\xbe\xe8\xae\xa1\xe6\x96\x87\xe4\xbb\xb6,data/full_repos/permissive/492140037/prgrom.v\n             data/full_repos/permissive/492140037/CPU/\xe8\xae\xbe\xe8\xae\xa1\xe6\x96\x87\xe4\xbb\xb6,data/full_repos/permissive/492140037/prgrom.sv\n             prgrom\n             prgrom.v\n             prgrom.sv\n             obj_dir/prgrom\n             obj_dir/prgrom.v\n             obj_dir/prgrom.sv\n%Error: Exiting due to 1 error(s)\n"
module programrom(
    input clk_i,
    input [13:0] adr_i,
    output [31:0] Instruction_o,
    input upg_rst_i,
    input upg_clk_i,
    input upg_wen_i,
    input upg_done_i,
    input[13:0] upg_adr_i,
    input [31:0] upg_dat_i
);
wire kickOff = upg_rst_i|(~upg_rst_i&upg_done_i);
prgrom instmem(
    .clka(kickOff? clk_i:upg_clk_i),
    .wea(kickOff?1'b0 :upg_wen_i),
    .addra(kickOff?adr_i:upg_adr_i),
    .dina(kickOff?32'h0000_0000:upg_dat_i),
    .douta(Instruction_o)
);

endmodule
module programrom(
    input clk_i,
    input [13:0] adr_i,
    output [31:0] Instruction_o,
    input upg_rst_i,
    input upg_clk_i,
    input upg_wen_i,
    input upg_done_i,
    input[13:0] upg_adr_i,
    input [31:0] upg_dat_i
);

wire kickOff = upg_rst_i|(~upg_rst_i&upg_done_i);
prgrom instmem(
    .clka(kickOff? clk_i:upg_clk_i),
    .wea(kickOff?1'b0 :upg_wen_i),
    .addra(kickOff?adr_i:upg_adr_i),
    .dina(kickOff?32'h0000_0000:upg_dat_i),
    .douta(Instruction_o)
);

endmodule