data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv
 line:1: before: "class"
1: b'%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:1: syntax error, unexpected \'{\', expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\nclass {:NAME:}_agent extends uvm_component;\n      ^\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:7: Define or directive not defined: \'`uvm_component_utils_begin\'\n  `uvm_component_utils_begin({:NAME:}_agent)\n  ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:7: syntax error, unexpected \'(\'\n  `uvm_component_utils_begin({:NAME:}_agent)\n                             ^\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:8: Define or directive not defined: \'`uvm_field_int\'\n    `uvm_field_int(checks_enable, UVM_ALL_ON)\n    ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:9: Define or directive not defined: \'`uvm_field_int\'\n    `uvm_field_int(coverage_enable, UVM_ALL_ON)\n    ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:10: Define or directive not defined: \'`uvm_component_utils_end\'\n  `uvm_component_utils_end\n  ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:26: Unsupported: new constructor\n  extern function new(string _name = "{:NAME:}_agent", uvm_component _parent = null);\n                  ^~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:26: syntax error, unexpected IDENTIFIER, expecting \')\'\n  extern function new(string _name = "{:NAME:}_agent", uvm_component _parent = null);\n                                                                     ^~~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:27: syntax error, unexpected IDENTIFIER, expecting \')\'\n  extern function void build_phase( uvm_phase _phase );\n                                              ^~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:28: syntax error, unexpected IDENTIFIER, expecting \')\'\n  extern function void connect_phase( uvm_phase _phase );\n                                                ^~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:30: Unsupported: Static in this context\n  static string MSGID = "/{:COMPANY:}/{:PROJECT:}/{:NAME:}_agent";\n  ^~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:32: syntax error, unexpected endclass\nendclass : {:NAME:}_agent\n^~~~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:38: syntax error, unexpected IDENTIFIER, expecting \',\' or \';\'\nfunction {:NAME:}_agent::new(string name = "{:NAME:}_agent", uvm_component parent = null);\n                                                                           ^~~~~~\n%Error: data/full_repos/permissive/11787684/uvm-agent/lxNAMExr_agent.sv:45: Define or directive not defined: \'`uvm_error\'\n                                                                          : ... Suggested alternative: \'`error\'\n    `uvm_error({MSGID,"Failed to get agent\'s config object: {:CONFIG:}")\n    ^~~~~~~~~~\n%Error: Exiting due to 14 error(s)\n'
function void {:NAME:}_agent::connect_phase( uvm_phase phase );
  m_monitor.{:NAME:}_vif = m_cfg.{:NAME:}_vif;
  analysis_port = new("analysis_port", this);

  if (get_is_active() == UVM_ACTIVE)
    m_driver.seq_item_port.connect(m_sequencer.seq_item_export);
    m_driver.{:NAME:}_vif = m_cfg.{:NAME:}_vif;
  end
  {:if:ADD_COVERAGE:}
  if(coverage_enable) begin
    m_monitor.analysis_port.connect(m_coverage.analysis_export);
  end
  {:endif:ADD_COVERAGE:}
endfunction
function void {:NAME:}_agent::connect_phase( uvm_phase phase );

  m_monitor.{:NAME:}_vif = m_cfg.{:NAME:}_vif;
  analysis_port = new("analysis_port", this);

  if (get_is_active() == UVM_ACTIVE)
    m_driver.seq_item_port.connect(m_sequencer.seq_item_export);
    m_driver.{:NAME:}_vif = m_cfg.{:NAME:}_vif;
  end
  {:if:ADD_COVERAGE:}
  if(coverage_enable) begin
    m_monitor.analysis_port.connect(m_coverage.analysis_export);
  end
  {:endif:ADD_COVERAGE:}
endfunction