data/full_repos/permissive/406635962/src/rtl/srams.v
1: b'%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:6: Cannot find include file: defines.v\n`include "defines.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/406635962/src/rtl,data/full_repos/permissive/406635962/defines.v\n             data/full_repos/permissive/406635962/src/rtl,data/full_repos/permissive/406635962/defines.v.v\n             data/full_repos/permissive/406635962/src/rtl,data/full_repos/permissive/406635962/defines.v.sv\n             defines.v\n             defines.v.v\n             defines.v.sv\n             obj_dir/defines.v\n             obj_dir/defines.v.v\n             obj_dir/defines.v.sv\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:11: Define or directive not defined: \'`ITCM_RAM_AW\'\n    input [`ITCM_RAM_AW-1:0] itcm_ram_addr,\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:12: Define or directive not defined: \'`ITCM_RAM_DW\'\n    input [`ITCM_RAM_DW-1:0] itcm_ram_din,\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:13: Define or directive not defined: \'`ITCM_RAM_MW\'\n    input [`ITCM_RAM_MW-1:0] itcm_ram_wem,\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:14: Define or directive not defined: \'`ITCM_RAM_DW\'\n    output [`ITCM_RAM_DW-1:0] itcm_ram_dout,\n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:17: Define or directive not defined: \'`ITCM_RAM_AW\'\n    input [`ITCM_RAM_AW-1:0] dtcm_ram_addr,\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:18: Define or directive not defined: \'`ITCM_RAM_DW\'\n    input [`ITCM_RAM_DW-1:0] dtcm_ram_din,\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:19: Define or directive not defined: \'`ITCM_RAM_MW\'\n    input [`ITCM_RAM_MW-1:0] dtcm_ram_wem,\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/srams.v:20: Define or directive not defined: \'`ITCM_RAM_DW\'\n    output [`ITCM_RAM_DW-1:0] dtcm_ram_dout,\n            ^~~~~~~~~~~~\n%Error: Exiting due to 9 error(s)\n'
module srams (

    input itcm_ram_we,
    input [`ITCM_RAM_AW-1:0] itcm_ram_addr,
    input [`ITCM_RAM_DW-1:0] itcm_ram_din,
    input [`ITCM_RAM_MW-1:0] itcm_ram_wem,
    output [`ITCM_RAM_DW-1:0] itcm_ram_dout,

    input dtcm_ram_we,
    input [`ITCM_RAM_AW-1:0] dtcm_ram_addr,
    input [`ITCM_RAM_DW-1:0] dtcm_ram_din,
    input [`ITCM_RAM_MW-1:0] dtcm_ram_wem,
    output [`ITCM_RAM_DW-1:0] dtcm_ram_dout,
    input clk
);

itcm_ram u_itcm_ram (
        .clk(clk),
        .we(itcm_ram_we),
        .addr(itcm_ram_addr),
        .din(itcm_ram_din),
        .wem(itcm_ram_wem),
        .dout(itcm_ram_dout)
        );

dtcm_ram u_dtcm_ram (
        .clk(clk),
        .we(dtcm_ram_we),
        .addr(dtcm_ram_addr),
        .din(dtcm_ram_din),
        .wem(dtcm_ram_wem),
        .dout(dtcm_ram_dout)
        );
endmodule
module srams (

    input itcm_ram_we,
    input [`ITCM_RAM_AW-1:0] itcm_ram_addr,
    input [`ITCM_RAM_DW-1:0] itcm_ram_din,
    input [`ITCM_RAM_MW-1:0] itcm_ram_wem,
    output [`ITCM_RAM_DW-1:0] itcm_ram_dout,

    input dtcm_ram_we,
    input [`ITCM_RAM_AW-1:0] dtcm_ram_addr,
    input [`ITCM_RAM_DW-1:0] dtcm_ram_din,
    input [`ITCM_RAM_MW-1:0] dtcm_ram_wem,
    output [`ITCM_RAM_DW-1:0] dtcm_ram_dout,
    input clk
);


itcm_ram u_itcm_ram (
        .clk(clk),
        .we(itcm_ram_we),
        .addr(itcm_ram_addr),
        .din(itcm_ram_din),
        .wem(itcm_ram_wem),
        .dout(itcm_ram_dout)
        );

dtcm_ram u_dtcm_ram (
        .clk(clk),
        .we(dtcm_ram_we),
        .addr(dtcm_ram_addr),
        .din(dtcm_ram_din),
        .wem(dtcm_ram_wem),
        .dout(dtcm_ram_dout)
        );
endmodule