data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv
1: b'%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:5: Unsupported: classes\nclass ibex_icache_scoreboard\n^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:6: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n  extends dv_base_scoreboard #(.CFG_T(ibex_icache_env_cfg), .COV_T(ibex_icache_env_cov));\n          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:8: Define or directive not defined: \'`uvm_component_utils\'\n  `uvm_component_utils(ibex_icache_scoreboard)\n  ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:18: syntax error, unexpected \')\', expecting IDENTIFIER or \'=\' or do or final\n  uvm_tlm_analysis_fifo #(bit [31:0])                seed_fifo;\n                                    ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:26: syntax error, unexpected IDENTIFIER\n  ibex_icache_mem_model #(BusWidth) mem_model;\n  ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:31: Unsupported: empty queues ("{ }")\n  bit [63:0]   mem_states[$] = {};\n                               ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:90: syntax error, unexpected protected\n  protected int unsigned max_window_width = 250;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:91: syntax error, unexpected protected\n  protected int unsigned window_len       = 300;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:94: syntax error, unexpected protected\n  protected int unsigned insns_in_window;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:97: syntax error, unexpected protected\n  protected int unsigned reads_in_window;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:101: syntax error, unexpected protected\n  protected bit not_invalidating;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:104: syntax error, unexpected protected\n  protected bit [31:0] window_range_lo, window_range_hi;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:109: syntax error, unexpected protected\n  protected int unsigned last_fetch_age;\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:115: Define or directive not defined: \'`uvm_component_new\'\n  `uvm_component_new\n  ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:117: syntax error, unexpected IDENTIFIER, expecting \')\'\n  function void build_phase(uvm_phase phase);\n                                      ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:127: syntax error, unexpected IDENTIFIER, expecting \')\'\n  task run_phase(uvm_phase phase);\n                           ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:141: syntax error, unexpected IDENTIFIER\n    ibex_icache_core_bus_item item;\n                              ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:144: Define or directive not defined: \'`uvm_info\'\n      `uvm_info(`gfn, $sformatf("received core transaction:\\n%0s", item.sprint()), UVM_HIGH)\n      ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:144: Define or directive not defined: \'`gfn\'\n      `uvm_info(`gfn, $sformatf("received core transaction:\\n%0s", item.sprint()), UVM_HIGH)\n                ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:144: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n      `uvm_info(`gfn, $sformatf("received core transaction:\\n%0s", item.sprint()), UVM_HIGH)\n                    ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:151: syntax error, unexpected default\n        default: `uvm_fatal(`gfn, $sformatf("Bad transaction type %0d", item.trans_type))\n        ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:151: Define or directive not defined: \'`uvm_fatal\'\n        default: `uvm_fatal(`gfn, $sformatf("Bad transaction type %0d", item.trans_type))\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:151: Define or directive not defined: \'`gfn\'\n        default: `uvm_fatal(`gfn, $sformatf("Bad transaction type %0d", item.trans_type))\n                            ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:170: syntax error, unexpected endtask\n  endtask\n  ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:174: Define or directive not defined: \'`DV_CHECK_EQ\'\n    `DV_CHECK_EQ(item.address, next_addr)\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:174: syntax error, unexpected \',\'\n    `DV_CHECK_EQ(item.address, next_addr)\n                             ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:184: syntax error, unexpected endtask\n  endtask\n  ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:191: syntax error, unexpected endtask\n  endtask\n  ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:196: syntax error, unexpected endtask\n  endtask\n  ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:204: syntax error, unexpected endtask\n  endtask\n  ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:210: Define or directive not defined: \'`uvm_info\'\n      `uvm_info(`gfn, $sformatf("received mem transaction:\\n%0s", item.sprint()), UVM_HIGH)\n      ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:210: Define or directive not defined: \'`gfn\'\n      `uvm_info(`gfn, $sformatf("received mem transaction:\\n%0s", item.sprint()), UVM_HIGH)\n                ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:210: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n      `uvm_info(`gfn, $sformatf("received mem transaction:\\n%0s", item.sprint()), UVM_HIGH)\n                    ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:220: Define or directive not defined: \'`DV_CHECK_FATAL\'\n        `DV_CHECK_FATAL(mem_trans_count > 0);\n        ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:220: syntax error, unexpected \';\'\n        `DV_CHECK_FATAL(mem_trans_count > 0);\n                                            ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:224: syntax error, unexpected endtask\n  endtask\n  ^~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:227: syntax error, unexpected IDENTIFIER, expecting "\'{"\n    int unsigned seed;\n                 ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:230: Define or directive not defined: \'`uvm_info\'\n      `uvm_info(`gfn,\n      ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:230: Define or directive not defined: \'`gfn\'\n      `uvm_info(`gfn,\n                ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:230: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n      `uvm_info(`gfn,\n                    ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:241: syntax error, unexpected \'@\'\n      @(negedge cfg.clk_rst_vif.rst_n) start_reset();\n      ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:257: syntax error, unexpected endfunction\n  endfunction\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:261: Unsupported: super\n    super.reset(kind);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:263: syntax error, unexpected endfunction\n  endfunction\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:266: Unsupported: super\n    super.check_phase(phase);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:267: Define or directive not defined: \'`DV_EOT_PRINT_TLM_FIFO_CONTENTS\'\n    `DV_EOT_PRINT_TLM_FIFO_CONTENTS(ibex_icache_core_bus_item, core_fifo)\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:267: syntax error, unexpected \',\'\n    `DV_EOT_PRINT_TLM_FIFO_CONTENTS(ibex_icache_core_bus_item, core_fifo)\n                                                             ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:268: Define or directive not defined: \'`DV_EOT_PRINT_TLM_FIFO_CONTENTS\'\n    `DV_EOT_PRINT_TLM_FIFO_CONTENTS(ibex_icache_mem_bus_item,  mem_fifo)\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:292: Define or directive not defined: \'`uvm_info\'\n          `uvm_info(`gfn,\n          ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_scoreboard.sv:292: Define or directive not defined: \'`gfn\'\n          `uvm_info(`gfn,\n                    ^~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n        ... See the manual and https://verilator.org for more assistance.\n'
function automatic logic is_state_compatible_2(logic [31:0] address,
                                                 logic [31:0] seen_insn_data,
                                                 logic        seen_err_plus2,

                                                 bit [63:0]   mem_state_lo,
                                                 bit [63:0]   mem_state_hi,
                                                 bit          chatty);
    int          bus_shift;
    logic [31:0] addr_lo, addr_hi;

    bit                exp_err_lo, exp_err_hi;
    bit [31:0]         exp_data;
    bit [BusWidth-1:0] rdata;

    int unsigned lo_bits_to_take, lo_bits_to_drop;

    bit [31:0]         seed_lo, seed_hi;
    int unsigned       mem_err_shift_lo, mem_err_shift_hi;

    bus_shift = $clog2(BusWidth / 8);
    addr_lo = (address >> bus_shift) << bus_shift;
    addr_hi = addr_lo + (32'd1 << bus_shift);


    assert (addr_lo < address);




    lo_bits_to_take = 8 * (address - addr_lo);
    lo_bits_to_drop = BusWidth - lo_bits_to_take;

    {seed_lo, mem_err_shift_lo} = mem_state_lo;
    {seed_hi, mem_err_shift_hi} = mem_state_hi;


    exp_err_lo = mem_model.is_either_error(seed_lo, addr_lo, mem_err_shift_lo);
    rdata      = mem_model.read_data(seed_lo, addr_lo) >> lo_bits_to_drop;
    exp_data   = rdata[31:0];



    exp_err_hi = mem_model.is_either_error(seed_hi, addr_hi, mem_err_shift_hi);
    rdata      = mem_model.read_data(seed_hi, addr_hi) << lo_bits_to_take;
    exp_data   = exp_data | rdata[31:0];

    return is_fetch_compatible_2(seen_insn_data, seen_err_plus2,
                                 exp_err_lo, exp_err_hi, exp_data,
                                 seed_lo, seed_hi, chatty);
  endfunction
function automatic logic is_state_compatible_2(logic [31:0] address,
                                                 logic [31:0] seen_insn_data,
                                                 logic        seen_err_plus2,

                                                 bit [63:0]   mem_state_lo,
                                                 bit [63:0]   mem_state_hi,
                                                 bit          chatty);

    int          bus_shift;
    logic [31:0] addr_lo, addr_hi;

    bit                exp_err_lo, exp_err_hi;
    bit [31:0]         exp_data;
    bit [BusWidth-1:0] rdata;

    int unsigned lo_bits_to_take, lo_bits_to_drop;

    bit [31:0]         seed_lo, seed_hi;
    int unsigned       mem_err_shift_lo, mem_err_shift_hi;

    bus_shift = $clog2(BusWidth / 8);
    addr_lo = (address >> bus_shift) << bus_shift;
    addr_hi = addr_lo + (32'd1 << bus_shift);


    assert (addr_lo < address);




    lo_bits_to_take = 8 * (address - addr_lo);
    lo_bits_to_drop = BusWidth - lo_bits_to_take;

    {seed_lo, mem_err_shift_lo} = mem_state_lo;
    {seed_hi, mem_err_shift_hi} = mem_state_hi;


    exp_err_lo = mem_model.is_either_error(seed_lo, addr_lo, mem_err_shift_lo);
    rdata      = mem_model.read_data(seed_lo, addr_lo) >> lo_bits_to_drop;
    exp_data   = rdata[31:0];



    exp_err_hi = mem_model.is_either_error(seed_hi, addr_hi, mem_err_shift_hi);
    rdata      = mem_model.read_data(seed_hi, addr_hi) << lo_bits_to_take;
    exp_data   = exp_data | rdata[31:0];

    return is_fetch_compatible_2(seen_insn_data, seen_err_plus2,
                                 exp_err_lo, exp_err_hi, exp_data,
                                 seed_lo, seed_hi, chatty);
  endfunction