data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv
1: b'%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:6: Unsupported: classes\nclass dv_base_reg_block extends uvm_reg_block;\n^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:6: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass dv_base_reg_block extends uvm_reg_block;\n                                ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:7: Define or directive not defined: \'`uvm_object_utils\'\n  `uvm_object_utils(dv_base_reg_block)\n  ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:26: syntax error, unexpected IDENTIFIER\n  addr_range_t unmapped_addr_ranges[$];\n  ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:28: Unsupported: new constructor\n  function new (string name = "", int has_coverage = UVM_NO_COVERAGE);\n           ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:29: Unsupported: super\n    super.new(name, has_coverage);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:29: Unsupported: new with arguments\n    super.new(name, has_coverage);\n          ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:29: Unsupported: dotted new\n    super.new(name, has_coverage);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:33: syntax error, unexpected virtual\n  virtual function void build(uvm_reg_addr_t base_addr,\n          ^~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:33: syntax error, unexpected IDENTIFIER, expecting \')\'\n  virtual function void build(uvm_reg_addr_t base_addr,\n                                             ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:35: Define or directive not defined: \'`uvm_fatal\'\n    `uvm_fatal(`gfn, "this method is not supposed to be called directly!")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:35: Define or directive not defined: \'`gfn\'\n    `uvm_fatal(`gfn, "this method is not supposed to be called directly!")\n               ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:39: syntax error, unexpected IDENTIFIER\n    uvm_reg_block uvm_blks[$];\n                  ^~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:40: Unsupported: this\n    this.get_blocks(uvm_blks);\n    ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:41: Define or directive not defined: \'`downcast\'\n    foreach (uvm_blks[i]) `downcast(blks[i], uvm_blks[i])\n                          ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:41: syntax error, unexpected \',\'\n    foreach (uvm_blks[i]) `downcast(blks[i], uvm_blks[i])\n                                           ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:47: Unsupported: this\n    this.get_registers(ral_regs);\n    ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:48: Define or directive not defined: \'`downcast\'\n    foreach (ral_regs[i]) `downcast(dv_regs[i], ral_regs[i])\n                          ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:48: syntax error, unexpected \',\'\n    foreach (ral_regs[i]) `downcast(dv_regs[i], ral_regs[i])\n                                              ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:53: Define or directive not defined: \'`downcast\'\n    `downcast(get_dv_base_reg_by_name, csr)\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:53: syntax error, unexpected \',\'\n    `downcast(get_dv_base_reg_by_name, csr)\n                                     ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:55: Define or directive not defined: \'`DV_CHECK_NE_FATAL\'\n      `DV_CHECK_NE_FATAL(get_dv_base_reg_by_name, null,\n      ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:62: Unsupported: this\n    this.get_dv_base_regs(all_regs);\n    ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:73: syntax error, unexpected protected\n  protected function void compute_addr_mask(uvm_reg_map map);\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:73: syntax error, unexpected IDENTIFIER, expecting \')\'\n  protected function void compute_addr_mask(uvm_reg_map map);\n                                                        ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:80: syntax error, unexpected IDENTIFIER\n    get_blocks(blocks);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:97: Define or directive not defined: \'`DV_CHECK_GT_FATAL\'\n    `DV_CHECK_GT_FATAL(alignment, 0)\n    ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:103: Define or directive not defined: \'`DV_CHECK_FATAL\'\n    `DV_CHECK_FATAL(addr_mask[map])\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:108: syntax error, unexpected IDENTIFIER\n    uvm_reg csrs[$];\n            ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:116: syntax error, unexpected protected\n  protected function void compute_mem_addr_ranges();\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:117: syntax error, unexpected IDENTIFIER\n    uvm_mem mems[$];\n            ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:120: syntax error, unexpected IDENTIFIER\n      addr_range_t mem_range;\n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:130: syntax error, unexpected IDENTIFIER\n    uvm_reg csrs[$];\n            ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:139: syntax error, unexpected IDENTIFIER\n      addr_range_t csr_addr_range;\n                   ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:148: Unsupported: SystemVerilog 2005 reserved word not implemented: \'with\'\n    mapped_addr_ranges.sort(m) with (m.start_addr);\n                               ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:148: syntax error, unexpected \'(\'\n    mapped_addr_ranges.sort(m) with (m.start_addr);\n                                     ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:154: syntax error, unexpected IDENTIFIER\n    addr_range_t range;\n                 ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:199: syntax error, unexpected IDENTIFIER, expecting \'(\' or \';\'\n  function uvm_reg_addr_t get_max_offset(uvm_reg_map map = null);\n                          ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:208: Define or directive not defined: \'`DV_CHECK_GT_FATAL\'\n    `DV_CHECK_GT_FATAL(regs.size() + mems.size(), 0)\n    ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:230: Define or directive not defined: \'`DV_CHECK_FATAL\'\n    `DV_CHECK_FATAL(is_locked())\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:241: syntax error, unexpected IDENTIFIER, expecting \')\'\n  function void set_base_addr(uvm_reg_addr_t base_addr = \'1, uvm_reg_map map = null);\n                                             ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:250: Define or directive not defined: \'`DV_CHECK_STD_RANDOMIZE_WITH_FATAL\'\n      `DV_CHECK_STD_RANDOMIZE_WITH_FATAL(base_addr, (base_addr & mask) == \'0;)\n      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:255: Define or directive not defined: \'`DV_CHECK_FATAL\'\n    `DV_CHECK_FATAL((base_addr & mask) == \'0)\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:256: Define or directive not defined: \'`uvm_info\'\n    `uvm_info(`gfn, $sformatf("Setting register base address to 0x%0h", base_addr), UVM_HIGH)\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:256: Define or directive not defined: \'`gfn\'\n    `uvm_info(`gfn, $sformatf("Setting register base address to 0x%0h", base_addr), UVM_HIGH)\n              ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:266: Define or directive not defined: \'`UVM_REG_BYTENABLE_WIDTH\'\n    uvm_reg_addr_t shift = $clog2(`UVM_REG_BYTENABLE_WIDTH);\n                                  ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/dv/sv/dv_base_reg/dv_base_reg_block.sv:275: syntax error, unexpected IDENTIFIER, expecting \',\' or \';\'\n                                               uvm_reg_map map = null);\n                                                           ^~~\n%Error: Exiting due to 47 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void get_dv_base_reg_blocks(ref dv_base_reg_block blks[$]);
    uvm_reg_block uvm_blks[$];
    this.get_blocks(uvm_blks);
    foreach (uvm_blks[i]) `downcast(blks[i], uvm_blks[i])
  endfunction
function void get_dv_base_reg_blocks(ref dv_base_reg_block blks[$]);

    uvm_reg_block uvm_blks[$];
    this.get_blocks(uvm_blks);
    foreach (uvm_blks[i]) `downcast(blks[i], uvm_blks[i])
  endfunction