data/full_repos/permissive/484553918/rtl/sim/top_sim.sv
1: b"%Error: data/full_repos/permissive/484553918/rtl/sim/top_sim.sv:20: Cannot find file containing module: 'top'\ntop top_inst(\n^~~\n        ... Looked in:\n             data/full_repos/permissive/484553918/rtl/sim,data/full_repos/permissive/484553918/top\n             data/full_repos/permissive/484553918/rtl/sim,data/full_repos/permissive/484553918/top.v\n             data/full_repos/permissive/484553918/rtl/sim,data/full_repos/permissive/484553918/top.sv\n             top\n             top.v\n             top.sv\n             obj_dir/top\n             obj_dir/top.v\n             obj_dir/top.sv\n%Error: data/full_repos/permissive/484553918/rtl/sim/top_sim.sv:36: Cannot find file containing module: 'mt48lc16m16a2'\nmt48lc16m16a2 mt48lc16m16a2_inst(\n^~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module top_sim(
    input clk_sys
);

wire sdram_csn;
wire sdram_clk = clk_sys;
wire sdram_cke;
wire sdram_rasn;
wire sdram_casn;
wire sdram_wen;
wire[12:0] sdram_a;
wire[1:0] sdram_ba;
wire[1:0] sdram_dqm;
wire[15:0] sdram_d;

wire ftdi_rxd;

top top_inst(
    .clk_sys,

    .sdram_csn,
    .sdram_cke,
    .sdram_rasn,
    .sdram_casn,
    .sdram_wen,
    .sdram_a,
    .sdram_ba,
    .sdram_dqm,
    .sdram_d,

    .ftdi_rxd
);

mt48lc16m16a2 mt48lc16m16a2_inst(
    .Dq(sdram_d),
    .Addr(sdram_a),
    .Ba(sdram_ba),
    .Clk(sdram_clk),
    .Cke(sdram_cke),
    .Cs_n(sdram_csn),
    .Ras_n(sdram_rasn),
    .Cas_n(sdram_casn),
    .We_n(sdram_wen),
    .Dqm(sdram_dqm)
);

endmodule
module top_sim(
    input clk_sys
);


wire sdram_csn;
wire sdram_clk = clk_sys;
wire sdram_cke;
wire sdram_rasn;
wire sdram_casn;
wire sdram_wen;
wire[12:0] sdram_a;
wire[1:0] sdram_ba;
wire[1:0] sdram_dqm;
wire[15:0] sdram_d;

wire ftdi_rxd;

top top_inst(
    .clk_sys,

    .sdram_csn,
    .sdram_cke,
    .sdram_rasn,
    .sdram_casn,
    .sdram_wen,
    .sdram_a,
    .sdram_ba,
    .sdram_dqm,
    .sdram_d,

    .ftdi_rxd
);

mt48lc16m16a2 mt48lc16m16a2_inst(
    .Dq(sdram_d),
    .Addr(sdram_a),
    .Ba(sdram_ba),
    .Clk(sdram_clk),
    .Cke(sdram_cke),
    .Cs_n(sdram_csn),
    .Ras_n(sdram_rasn),
    .Cas_n(sdram_casn),
    .We_n(sdram_wen),
    .Dqm(sdram_dqm)
);

endmodule