data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv
 line:1: before: "class"
1: b'%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:1: Unsupported: classes\nclass hermes_router_env extends uvm_env;\n^~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass hermes_router_env extends uvm_env;\n                                ^~~~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:2: Define or directive not defined: \'`uvm_component_utils\'\n`uvm_component_utils(hermes_router_env);\n^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:10: Unsupported: new constructor\nfunction new(string name, uvm_component parent);\n         ^~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:10: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction new(string name, uvm_component parent);\n                                        ^~~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:14: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void build_phase(uvm_phase phase);\n                                    ^~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:20: Define or directive not defined: \'`uvm_fatal\'\n    `uvm_fatal("env", "No cfg");\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:26: syntax error, unexpected \')\', expecting IDENTIFIER or \'=\' or do or final\n    uvm_config_db #(bit [3:0])          ::set(this, $sformatf("agent_master_%0d",i), "port", i);\n                             ^\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:34: syntax error, unexpected \')\', expecting IDENTIFIER or \'=\' or do or final\n    uvm_config_db #(bit [3:0])          ::set(this, $sformatf("agent_slave_%0d",i), "port", i);\n                             ^\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:42: Define or directive not defined: \'`uvm_info\'\n  `uvm_info("msg", "ENV Done !", UVM_HIGH)\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:45: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void connect_phase(uvm_phase phase);\n                                      ^~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:46: Define or directive not defined: \'`uvm_info\'\n  `uvm_info("msg", "Connecting ENV", UVM_HIGH)\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/158608551/noc-router/vips/hermes_router_env_pkg/src/hermes_router_env.sv:58: Define or directive not defined: \'`uvm_info\'\n  `uvm_info("msg", "Connecting ENV Done !", UVM_HIGH)\n  ^~~~~~~~~\n%Error: Exiting due to 13 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void connect_phase(uvm_phase phase);
  `uvm_info("msg", "Connecting ENV", UVM_HIGH)
  foreach (agent_master_h[i]) begin

    agent_master_h[i].monitor_h.aport.connect(scoreboard_h.in_mon_ap);
  end
  foreach (agent_slave_h[i]) begin

    agent_slave_h[i].monitor_h.aport.connect(scoreboard_h.out_mon_ap);
  end

  if (cfg.enable_coverage == 1)
    scoreboard_h.cov_ap.connect(coverage_h.analysis_export);
  `uvm_info("msg", "Connecting ENV Done !", UVM_HIGH)
endfunction
function void connect_phase(uvm_phase phase);

  `uvm_info("msg", "Connecting ENV", UVM_HIGH)
  foreach (agent_master_h[i]) begin

    agent_master_h[i].monitor_h.aport.connect(scoreboard_h.in_mon_ap);
  end
  foreach (agent_slave_h[i]) begin

    agent_slave_h[i].monitor_h.aport.connect(scoreboard_h.out_mon_ap);
  end

  if (cfg.enable_coverage == 1)
    scoreboard_h.cov_ap.connect(coverage_h.analysis_export);
  `uvm_info("msg", "Connecting ENV Done !", UVM_HIGH)
endfunction