data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv
1: b"%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:5: Unsupported: classes\nclass ibex_icache_env extends dv_base_env #(\n^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:5: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass ibex_icache_env extends dv_base_env #(\n                              ^~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:11: Define or directive not defined: '`uvm_component_utils'\n  `uvm_component_utils(ibex_icache_env)\n  ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:24: 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_env.sv:26: 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_env.sv:40: syntax error, unexpected IDENTIFIER\n    for (int unsigned i = 0; i < cfg.ecc_tag_agent_cfgs.size(); i++) begin\n                             ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:42: syntax error, unexpected IDENTIFIER\n      ecc_tag_agents[i] = ibex_icache_ecc_agent::type_id::create(tname, this);\n      ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:46: syntax error, unexpected IDENTIFIER\n    for (int unsigned i = 0; i < cfg.ecc_data_agent_cfgs.size(); i++) begin\n                             ^\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:48: syntax error, unexpected IDENTIFIER\n      ecc_data_agents[i] = ibex_icache_ecc_agent::type_id::create(dname, this);\n      ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:59: syntax error, unexpected IDENTIFIER, expecting ')'\n  function void connect_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_env.sv:81: Define or directive not defined: '`DV_CHECK_EQ_FATAL'\n      `DV_CHECK_EQ_FATAL(cfg.ecc_tag_agent_cfgs.size(), ecc_tag_agents.size())\n      ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:85: Define or directive not defined: '`DV_CHECK_FATAL'\n          `DV_CHECK_FATAL(cfg.ecc_tag_agent_cfgs[i].is_active);\n          ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:89: Define or directive not defined: '`DV_CHECK_EQ_FATAL'\n      `DV_CHECK_EQ_FATAL(cfg.ecc_data_agent_cfgs.size(), ecc_data_agents.size())\n      ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:93: Define or directive not defined: '`DV_CHECK_FATAL'\n          `DV_CHECK_FATAL(cfg.ecc_data_agent_cfgs[i].is_active);\n          ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/icache/dv/env/ibex_icache_env.sv:110: syntax error, unexpected IDENTIFIER, expecting ')'\n  virtual task run_phase(uvm_phase phase);\n                                   ^~~~~\n%Error: Exiting due to 15 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n"
function void build_phase(uvm_phase phase);
    super.build_phase(phase);

    core_agent = ibex_icache_core_agent::type_id::create("core_agent", this);
    uvm_config_db#(ibex_icache_core_agent_cfg)::set(this, "core_agent*", "cfg", cfg.core_agent_cfg);

    mem_agent = ibex_icache_mem_agent::type_id::create("mem_agent", this);
    uvm_config_db#(ibex_icache_mem_agent_cfg)::set(this, "mem_agent*", "cfg", cfg.mem_agent_cfg);





    ecc_tag_agents  = new[cfg.ecc_tag_agent_cfgs.size()];
    for (int unsigned i = 0; i < cfg.ecc_tag_agent_cfgs.size(); i++) begin
      string tname = $sformatf("ecc_tag_agents[%0d]", i);
      ecc_tag_agents[i] = ibex_icache_ecc_agent::type_id::create(tname, this);
      uvm_config_db#(ibex_icache_ecc_agent_cfg)::set(this, {tname, "*"}, "cfg", cfg.ecc_tag_agent_cfgs[i]);
    end
    ecc_data_agents  = new[cfg.ecc_data_agent_cfgs.size()];
    for (int unsigned i = 0; i < cfg.ecc_data_agent_cfgs.size(); i++) begin
      string dname = $sformatf("ecc_data_agents[%0d]", i);
      ecc_data_agents[i] = ibex_icache_ecc_agent::type_id::create(dname, this);
      uvm_config_db#(ibex_icache_ecc_agent_cfg)::set(this, {dname, "*"}, "cfg", cfg.ecc_data_agent_cfgs[i]);
    end

    hb_objection = new("hb_objection");
    heartbeat    = new("heartbeat", this, hb_objection);
    hb_event     = new("hb_event");

    cfg.clk_rst_vif.set_sole_clock();
  endfunction
function void build_phase(uvm_phase phase);

    super.build_phase(phase);

    core_agent = ibex_icache_core_agent::type_id::create("core_agent", this);
    uvm_config_db#(ibex_icache_core_agent_cfg)::set(this, "core_agent*", "cfg", cfg.core_agent_cfg);

    mem_agent = ibex_icache_mem_agent::type_id::create("mem_agent", this);
    uvm_config_db#(ibex_icache_mem_agent_cfg)::set(this, "mem_agent*", "cfg", cfg.mem_agent_cfg);





    ecc_tag_agents  = new[cfg.ecc_tag_agent_cfgs.size()];
    for (int unsigned i = 0; i < cfg.ecc_tag_agent_cfgs.size(); i++) begin
      string tname = $sformatf("ecc_tag_agents[%0d]", i);
      ecc_tag_agents[i] = ibex_icache_ecc_agent::type_id::create(tname, this);
      uvm_config_db#(ibex_icache_ecc_agent_cfg)::set(this, {tname, "*"}, "cfg", cfg.ecc_tag_agent_cfgs[i]);
    end
    ecc_data_agents  = new[cfg.ecc_data_agent_cfgs.size()];
    for (int unsigned i = 0; i < cfg.ecc_data_agent_cfgs.size(); i++) begin
      string dname = $sformatf("ecc_data_agents[%0d]", i);
      ecc_data_agents[i] = ibex_icache_ecc_agent::type_id::create(dname, this);
      uvm_config_db#(ibex_icache_ecc_agent_cfg)::set(this, {dname, "*"}, "cfg", cfg.ecc_data_agent_cfgs[i]);
    end

    hb_objection = new("hb_objection");
    heartbeat    = new("heartbeat", this, hb_objection);
    hb_event     = new("hb_event");

    cfg.clk_rst_vif.set_sole_clock();
  endfunction