data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:3: Cannot find include file: ./define/global_def.v\n`include "./define/global_def.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/147520230/src/cpu,data/full_repos/permissive/147520230/./define/global_def.v\n             data/full_repos/permissive/147520230/src/cpu,data/full_repos/permissive/147520230/./define/global_def.v.v\n             data/full_repos/permissive/147520230/src/cpu,data/full_repos/permissive/147520230/./define/global_def.v.sv\n             ./define/global_def.v\n             ./define/global_def.v.v\n             ./define/global_def.v.sv\n             obj_dir/./define/global_def.v\n             obj_dir/./define/global_def.v.v\n             obj_dir/./define/global_def.v.sv\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:10: Define or directive not defined: \'`ADDR_BUS\'\n    wire[`ADDR_BUS] rom_addr;\n         ^~~~~~~~~\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:10: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire[`ADDR_BUS] rom_addr;\n                  ^\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:11: Define or directive not defined: \'`INST_BUS\'\n    wire[`INST_BUS] rom_inst;\n         ^~~~~~~~~\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:11: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire[`INST_BUS] rom_inst;\n                  ^\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:16: Define or directive not defined: \'`ADDR_BUS\'\n    wire[`ADDR_BUS] ram_addr;\n         ^~~~~~~~~\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:16: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire[`ADDR_BUS] ram_addr;\n                  ^\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:17: Define or directive not defined: \'`DATA_BUS\'\n    wire[`DATA_BUS] ram_write_data;\n         ^~~~~~~~~\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:17: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire[`DATA_BUS] ram_write_data;\n                  ^\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:18: Define or directive not defined: \'`DATA_BUS\'\n    wire[`DATA_BUS] ram_read_data;\n         ^~~~~~~~~\n%Error: data/full_repos/permissive/147520230/src/cpu/Immuntity_min_sopc.v:18: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire[`DATA_BUS] ram_read_data;\n                  ^\n%Error: Exiting due to 11 error(s)\n'
module  Immunity_min_sopc(
    input   wire    clk,
    input   wire    rst
);
    wire            rom_en;
    wire[`ADDR_BUS] rom_addr;
    wire[`INST_BUS] rom_inst;

    wire            ram_en;
    wire            ram_write_en;
    wire[3:0]       ram_write_sel;
    wire[`ADDR_BUS] ram_addr;
    wire[`DATA_BUS] ram_write_data;
    wire[`DATA_BUS] ram_read_data;

    Immunity    immunity0(
        .clk            (clk),
        .rst            (rst),

        .rom_inst       (rom_inst),
        .rom_addr       (rom_addr),
        .rom_en         (rom_en),

        .ram_en         (ram_en),
        .ram_write_en   (ram_write_en),
        .ram_write_sel  (ram_write_sel),
        .ram_addr       (ram_addr),
        .ram_write_data (ram_write_data),
        .ram_read_data  (ram_read_data)
    );

    inst_rom    inst_rom0(
        .en         (rom_en),
        .addr       (rom_addr),
        .inst       (rom_inst)
    );

    data_ram    data_ram0(
        .clk        (clk),
        .rst        (rst),
        .ram_en     (ram_en),
        .write_en   (ram_write_en),
        .write_sel  (ram_write_sel),
        .addr       (ram_addr),
        .write_data (ram_write_data),
        .read_data  (ram_read_data)
    );

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

    wire            rom_en;
    wire[`ADDR_BUS] rom_addr;
    wire[`INST_BUS] rom_inst;

    wire            ram_en;
    wire            ram_write_en;
    wire[3:0]       ram_write_sel;
    wire[`ADDR_BUS] ram_addr;
    wire[`DATA_BUS] ram_write_data;
    wire[`DATA_BUS] ram_read_data;

    Immunity    immunity0(
        .clk            (clk),
        .rst            (rst),

        .rom_inst       (rom_inst),
        .rom_addr       (rom_addr),
        .rom_en         (rom_en),

        .ram_en         (ram_en),
        .ram_write_en   (ram_write_en),
        .ram_write_sel  (ram_write_sel),
        .ram_addr       (ram_addr),
        .ram_write_data (ram_write_data),
        .ram_read_data  (ram_read_data)
    );

    inst_rom    inst_rom0(
        .en         (rom_en),
        .addr       (rom_addr),
        .inst       (rom_inst)
    );

    data_ram    data_ram0(
        .clk        (clk),
        .rst        (rst),
        .ram_en     (ram_en),
        .write_en   (ram_write_en),
        .write_sel  (ram_write_sel),
        .addr       (ram_addr),
        .write_data (ram_write_data),
        .read_data  (ram_read_data)
    );

endmodule