data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv
1: b'%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:5: Unsupported: classes\nclass ibex_icache_env_cfg extends dv_base_env_cfg;\n^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:5: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass ibex_icache_env_cfg extends dv_base_env_cfg;\n                                  ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:11: syntax error, unexpected rand\n  rand ibex_icache_core_agent_cfg   core_agent_cfg;\n  ^~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:16: Unsupported: SystemVerilog 2005 reserved word not implemented: \'constraint\'\n  constraint clk_freq_50_c {\n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:26: Define or directive not defined: \'`uvm_object_utils_begin\'\n  `uvm_object_utils_begin(ibex_icache_env_cfg)\n  ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:27: Define or directive not defined: \'`uvm_field_object\'\n    `uvm_field_object      (core_agent_cfg,      UVM_DEFAULT)\n    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:28: Define or directive not defined: \'`uvm_field_object\'\n    `uvm_field_object      (mem_agent_cfg,       UVM_DEFAULT)\n    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:29: Define or directive not defined: \'`uvm_field_array_object\'\n    `uvm_field_array_object(ecc_tag_agent_cfgs,  UVM_DEFAULT)\n    ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:30: Define or directive not defined: \'`uvm_field_array_object\'\n    `uvm_field_array_object(ecc_data_agent_cfgs, UVM_DEFAULT)\n    ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:31: Define or directive not defined: \'`uvm_object_utils_end\'\n  `uvm_object_utils_end\n  ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:33: Unsupported: new constructor\n  function new (string name="");\n           ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:34: Unsupported: super\n    super.new(name);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:34: Unsupported: new with arguments\n    super.new(name);\n          ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:34: Unsupported: dotted new\n    super.new(name);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:37: syntax error, unexpected virtual\n  virtual function void initialize(bit [BUS_AW-1:0] csr_base_addr = \'1);\n          ^~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:38: Unsupported: empty queues ("{ }")\n    ral_model_names = {};  \n                      ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:39: Unsupported: super\n    super.initialize(csr_base_addr);\n    ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:41: syntax error, unexpected ::, expecting \';\'\n    core_agent_cfg = ibex_icache_core_agent_cfg::type_id::create("core_agent_cfg");\n                                               ^~\n                                                                                                                                        : ... Perhaps \'ibex_icache_core_agent_cfg\' is a package which needs to be predeclared? (IEEE 1800-2017 26.3)\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:42: syntax error, unexpected ::, expecting \';\'\n    mem_agent_cfg  = ibex_icache_mem_agent_cfg::type_id::create ("mem_agent_cfg");\n                                              ^~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:48: Unsupported: Dynamic array new\n    ecc_tag_agent_cfgs = new[num_ecc_ways];\n                         ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:49: Unsupported: Dynamic array new\n    ecc_data_agent_cfgs = new[num_ecc_ways];\n                          ^~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:53: syntax error, unexpected ::, expecting \';\'\n      ecc_tag_agent_cfgs[i] = ibex_icache_ecc_agent_cfg::type_id::create(tname);\n                                                       ^~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:54: syntax error, unexpected ::, expecting \';\'\n      ecc_data_agent_cfgs[i] = ibex_icache_ecc_agent_cfg::type_id::create(dname);\n                                                        ^~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:56: Define or directive not defined: \'`DV_CHECK_RANDOMIZE_FATAL\'\n      `DV_CHECK_RANDOMIZE_FATAL(ecc_tag_agent_cfgs[i])\n      ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:57: Define or directive not defined: \'`DV_CHECK_RANDOMIZE_FATAL\'\n      `DV_CHECK_RANDOMIZE_FATAL(ecc_data_agent_cfgs[i])\n      ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env_cfg.sv:57: syntax error, unexpected \'(\'\n      `DV_CHECK_RANDOMIZE_FATAL(ecc_data_agent_cfgs[i])\n                                ^~~~~~~~~~~~~~~~~~~\n%Error: Cannot continue\n        ... See the manual and https://verilator.org for more assistance.\n'
function automatic void create_ecc_agent_cfgs(int unsigned num_ecc_ways);
    ecc_tag_agent_cfgs = new[num_ecc_ways];
    ecc_data_agent_cfgs = new[num_ecc_ways];
    for (int unsigned i = 0; i < num_ecc_ways; i++) begin
      string tname = $sformatf("ecc_tag_agent_cfgs[%0d]", i);
      string dname = $sformatf("ecc_data_agent_cfgs[%0d]", i);
      ecc_tag_agent_cfgs[i] = ibex_icache_ecc_agent_cfg::type_id::create(tname);
      ecc_data_agent_cfgs[i] = ibex_icache_ecc_agent_cfg::type_id::create(dname);

      `DV_CHECK_RANDOMIZE_FATAL(ecc_tag_agent_cfgs[i])
      `DV_CHECK_RANDOMIZE_FATAL(ecc_data_agent_cfgs[i])
    end
  endfunction
function automatic void create_ecc_agent_cfgs(int unsigned num_ecc_ways);

    ecc_tag_agent_cfgs = new[num_ecc_ways];
    ecc_data_agent_cfgs = new[num_ecc_ways];
    for (int unsigned i = 0; i < num_ecc_ways; i++) begin
      string tname = $sformatf("ecc_tag_agent_cfgs[%0d]", i);
      string dname = $sformatf("ecc_data_agent_cfgs[%0d]", i);
      ecc_tag_agent_cfgs[i] = ibex_icache_ecc_agent_cfg::type_id::create(tname);
      ecc_data_agent_cfgs[i] = ibex_icache_ecc_agent_cfg::type_id::create(dname);

      `DV_CHECK_RANDOMIZE_FATAL(ecc_tag_agent_cfgs[i])
      `DV_CHECK_RANDOMIZE_FATAL(ecc_data_agent_cfgs[i])
    end
  endfunction