data/full_repos/permissive/117088385/rtl/e203/mems/sirv_mrom_top.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/117088385/rtl/e203/mems/sirv_mrom_top.v:64: Cannot find file containing module: 'sirv_mrom'\n   sirv_mrom # (\n   ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/117088385/rtl/e203/mems,data/full_repos/permissive/117088385/sirv_mrom\n             data/full_repos/permissive/117088385/rtl/e203/mems,data/full_repos/permissive/117088385/sirv_mrom.v\n             data/full_repos/permissive/117088385/rtl/e203/mems,data/full_repos/permissive/117088385/sirv_mrom.sv\n             sirv_mrom\n             sirv_mrom.v\n             sirv_mrom.sv\n             obj_dir/sirv_mrom\n             obj_dir/sirv_mrom.v\n             obj_dir/sirv_mrom.sv\n%Error: Exiting due to 1 error(s)\n"
module sirv_mrom_top #(
    parameter AW = 12,
    parameter DW = 32,
    parameter DP = 1024
)(

  input  rom_icb_cmd_valid,
  output rom_icb_cmd_ready,
  input  [AW-1:0] rom_icb_cmd_addr,
  input  rom_icb_cmd_read,


  output rom_icb_rsp_valid,
  input  rom_icb_rsp_ready,
  output rom_icb_rsp_err,
  output [DW-1:0] rom_icb_rsp_rdata, 

  input  clk,
  input  rst_n
  );
        
  wire [DW-1:0] rom_dout; 

  assign rom_icb_rsp_valid = rom_icb_cmd_valid;
  assign rom_icb_cmd_ready = rom_icb_rsp_ready;
  assign rom_icb_rsp_err = ~rom_icb_cmd_read;
  assign rom_icb_rsp_rdata = rom_dout;


   sirv_mrom # (
    .AW(AW),
    .DW(DW),
    .DP(DP)
   )u_sirv_mrom (
     .rom_addr (rom_icb_cmd_addr[AW-1:2]),
     .rom_dout (rom_dout) 
   );

endmodule
module sirv_mrom_top #(
    parameter AW = 12,
    parameter DW = 32,
    parameter DP = 1024
)(

  input  rom_icb_cmd_valid,
  output rom_icb_cmd_ready,
  input  [AW-1:0] rom_icb_cmd_addr,
  input  rom_icb_cmd_read,


  output rom_icb_rsp_valid,
  input  rom_icb_rsp_ready,
  output rom_icb_rsp_err,
  output [DW-1:0] rom_icb_rsp_rdata, 

  input  clk,
  input  rst_n
  );

        
  wire [DW-1:0] rom_dout; 

  assign rom_icb_rsp_valid = rom_icb_cmd_valid;
  assign rom_icb_cmd_ready = rom_icb_rsp_ready;
  assign rom_icb_rsp_err = ~rom_icb_cmd_read;
  assign rom_icb_rsp_rdata = rom_dout;


   sirv_mrom # (
    .AW(AW),
    .DW(DW),
    .DP(DP)
   )u_sirv_mrom (
     .rom_addr (rom_icb_cmd_addr[AW-1:2]),
     .rom_dout (rom_dout) 
   );

endmodule