data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:1: Unsupported: classes\nclass apb_agent extends uvm_component;\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass apb_agent extends uvm_component;\n                        ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:3: Define or directive not defined: \'`uvm_component_utils\'\n `uvm_component_utils(apb_agent)\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:13: Unsupported: new constructor\n extern function new(string name = "apb_agent", uvm_component parent = null);\n                 ^~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:13: syntax error, unexpected IDENTIFIER, expecting \')\'\n extern function new(string name = "apb_agent", uvm_component parent = null);\n                                                              ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:14: syntax error, unexpected IDENTIFIER, expecting \')\'\n extern function void build_phase(uvm_phase phase);\n                                            ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:15: syntax error, unexpected IDENTIFIER, expecting \')\'\n extern function void connect_phase(uvm_phase phase);\n                                              ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:18: Unsupported: Hierarchical class references\nfunction apb_agent::new(string name = "apb_agent", uvm_component parent = null);\n                  ^~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:18: Unsupported: scoped class reference\nfunction apb_agent::new(string name = "apb_agent", uvm_component parent = null);\n                       ^\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:18: Unsupported: scoped new constructor\nfunction apb_agent::new(string name = "apb_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:18: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction apb_agent::new(string name = "apb_agent", uvm_component parent = null);\n                                                                 ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:22: Unsupported: Hierarchical class references\nfunction void apb_agent::build_phase(uvm_phase phase);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:22: Unsupported: scoped class reference\nfunction void apb_agent::build_phase(uvm_phase phase);\n                         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:18: Unsupported: Out of class block function declaration\nfunction apb_agent::new(string name = "apb_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:22: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void apb_agent::build_phase(uvm_phase phase);\n                                               ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:24: Define or directive not defined: \'`uvm_fatal\'\n  `uvm_fatal("CONFIG_LOAD", "Cannot get() configuration apb_agent_config from uvm_config_db. Have you set() it?")\n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:37: Unsupported: Hierarchical class references\nfunction void apb_agent::connect_phase(uvm_phase phase);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:37: Unsupported: scoped class reference\nfunction void apb_agent::connect_phase(uvm_phase phase);\n                         ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:22: Unsupported: Out of class block function declaration\nfunction void apb_agent::build_phase(uvm_phase phase);\n                         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_agent.svh:37: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void apb_agent::connect_phase(uvm_phase phase);\n                                                 ^~~~~\n%Error: Exiting due to 20 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void apb_agent::connect_phase(uvm_phase phase);

	m_monitor.APB = m_cfg.APB;

	m_monitor.apb_index = m_cfg.apb_index;


	ap = m_monitor.ap;


	if(m_cfg.active == UVM_ACTIVE)begin

		m_driver.seq_item_port.connect(m_sequencer.seq_item_export);
	end

	if(m_cfg.has_functional_coverage)begin
		m_monitor.ap.connect(m_fcov_monitor.analysis_export);
	end
endfunction
function void apb_agent::connect_phase(uvm_phase phase);


	m_monitor.APB = m_cfg.APB;

	m_monitor.apb_index = m_cfg.apb_index;


	ap = m_monitor.ap;


	if(m_cfg.active == UVM_ACTIVE)begin

		m_driver.seq_item_port.connect(m_sequencer.seq_item_export);
	end

	if(m_cfg.has_functional_coverage)begin
		m_monitor.ap.connect(m_fcov_monitor.analysis_export);
	end
endfunction