data/full_repos/permissive/133819542/src/open_mips_min_sopc.v
 line:24: before: "("
1: b'%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:8: Cannot find include file: const.v\n`include "const.v" \n         ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/133819542/src,data/full_repos/permissive/133819542/const.v\n             data/full_repos/permissive/133819542/src,data/full_repos/permissive/133819542/const.v.v\n             data/full_repos/permissive/133819542/src,data/full_repos/permissive/133819542/const.v.sv\n             const.v\n             const.v.v\n             const.v.sv\n             obj_dir/const.v\n             obj_dir/const.v.v\n             obj_dir/const.v.sv\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:16: Define or directive not defined: \'`InstAddrBus\'\n    wire  [`InstAddrBus]      inst_addr   ;\n           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:16: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire  [`InstAddrBus]      inst_addr   ;\n                       ^\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:17: Define or directive not defined: \'`InstBus\'\n    wire  [`InstBus]          inst        ;\n           ^~~~~~~~\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:17: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire  [`InstBus]          inst        ;\n                   ^\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:24: Define or directive not defined: \'`RegBus\'\n    wire  [`RegBus    ]       ram_addr    ;\n           ^~~~~~~\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:24: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire  [`RegBus    ]       ram_addr    ;\n                      ^\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:25: Define or directive not defined: \'`RegBus\'\n    wire  [`RegBus    ]       ram_data_o  ;\n           ^~~~~~~\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:25: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire  [`RegBus    ]       ram_data_o  ;\n                      ^\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:26: Define or directive not defined: \'`DataBus\'\n    wire  [`DataBus   ]       ram_data_i  ;\n           ^~~~~~~~\n%Error: data/full_repos/permissive/133819542/src/open_mips_min_sopc.v:26: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire  [`DataBus   ]       ram_data_i  ;\n                      ^\n%Error: Exiting due to 11 error(s)\n'
module open_mips_min_sopc (
    input  wire  clk,
    input  wire  rst    
);


    wire  [`InstAddrBus]      inst_addr   ;
    wire  [`InstBus]          inst        ;
    wire                      rom_ce      ;


    wire                      ram_ce      ;
    wire                      ram_we      ;
    wire  [3:0        ]       ram_sel     ;
    wire  [`RegBus    ]       ram_addr    ;
    wire  [`RegBus    ]       ram_data_o  ;
    wire  [`DataBus   ]       ram_data_i  ;

    openmips openmips0 (
        .clk ( clk ),
        .rst ( rst ),

        .rom_addr_o ( inst_addr  ),
        .rom_data_i ( inst       ),
        .rom_ce_o   ( rom_ce     ),

        .ram_ce     ( ram_ce     ),
        .ram_we     ( ram_we     ),
        .ram_sel    ( ram_sel    ),
        .ram_addr   ( ram_addr   ),
        .ram_data_o ( ram_data_o ),
        .ram_data_i ( ram_data_i )
    );

    inst_rom  inst_rom0 (
        .ce(rom_ce),
        .addr(inst_addr),
        .inst(inst)
    );

    data_ram  data_ram0 (
        .clk    ( clk ),

        .ce     ( ram_ce     ),
        .we     ( ram_we     ),
        .sel    ( ram_sel    ),
        .addr   ( ram_addr   ),
        .data_i ( ram_data_o ),

        .data_o ( ram_data_i )
    );

endmodule
module open_mips_min_sopc (
    input  wire  clk,
    input  wire  rst    
);



    wire  [`InstAddrBus]      inst_addr   ;
    wire  [`InstBus]          inst        ;
    wire                      rom_ce      ;


    wire                      ram_ce      ;
    wire                      ram_we      ;
    wire  [3:0        ]       ram_sel     ;
    wire  [`RegBus    ]       ram_addr    ;
    wire  [`RegBus    ]       ram_data_o  ;
    wire  [`DataBus   ]       ram_data_i  ;

    openmips openmips0 (
        .clk ( clk ),
        .rst ( rst ),

        .rom_addr_o ( inst_addr  ),
        .rom_data_i ( inst       ),
        .rom_ce_o   ( rom_ce     ),

        .ram_ce     ( ram_ce     ),
        .ram_we     ( ram_we     ),
        .ram_sel    ( ram_sel    ),
        .ram_addr   ( ram_addr   ),
        .ram_data_o ( ram_data_o ),
        .ram_data_i ( ram_data_i )
    );

    inst_rom  inst_rom0 (
        .ce(rom_ce),
        .addr(inst_addr),
        .inst(inst)
    );

    data_ram  data_ram0 (
        .clk    ( clk ),

        .ce     ( ram_ce     ),
        .we     ( ram_we     ),
        .sel    ( ram_sel    ),
        .addr   ( ram_addr   ),
        .data_i ( ram_data_o ),

        .data_o ( ram_data_i )
    );

endmodule