data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:1: Unsupported: classes\nclass ahb_agent extends uvm_component;\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass ahb_agent extends uvm_component;\n                        ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:5: Define or directive not defined: \'`uvm_component_utils\'\n `uvm_component_utils(ahb_agent)\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:23: Unsupported: new constructor\n extern function new(string name = "ahb_agent", uvm_component parent = null);\n                 ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:23: syntax error, unexpected IDENTIFIER, expecting \')\'\n extern function new(string name = "ahb_agent", uvm_component parent = null);\n                                                              ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:24: syntax error, unexpected IDENTIFIER, expecting \')\'\n extern function void build_phase(uvm_phase phase);\n                                            ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:25: syntax error, unexpected IDENTIFIER, expecting \')\'\n extern function void connect_phase(uvm_phase phase);\n                                              ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:30: Unsupported: Hierarchical class references\nfunction ahb_agent::new(string name = "ahb_agent", uvm_component parent = null);\n                  ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:30: Unsupported: scoped class reference\nfunction ahb_agent::new(string name = "ahb_agent", uvm_component parent = null);\n                       ^\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:30: Unsupported: scoped new constructor\nfunction ahb_agent::new(string name = "ahb_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:30: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction ahb_agent::new(string name = "ahb_agent", uvm_component parent = null);\n                                                                 ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:34: Unsupported: Hierarchical class references\nfunction void ahb_agent::build_phase(uvm_phase phase);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:34: Unsupported: scoped class reference\nfunction void ahb_agent::build_phase(uvm_phase phase);\n                         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:30: Unsupported: Out of class block function declaration\nfunction ahb_agent::new(string name = "ahb_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:34: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void ahb_agent::build_phase(uvm_phase phase);\n                                               ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:37: Define or directive not defined: \'`uvm_fatal\'\n  `uvm_fatal("CONFIG OBJECT", "Cannot get() config object ahb_agent_config from uvm_config_db. Have you set() it?")\n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:48: Unsupported: Hierarchical class references\nfunction void ahb_agent::connect_phase(uvm_phase phase);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:48: Unsupported: scoped class reference\nfunction void ahb_agent::connect_phase(uvm_phase phase);\n                         ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:34: Unsupported: Out of class block function declaration\nfunction void ahb_agent::build_phase(uvm_phase phase);\n                         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_agent.svh:48: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void ahb_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 ahb_agent::connect_phase(uvm_phase phase);
	m_monitor.AHB = m_cfg.AHB;
	ap = m_monitor.ap;

	if(m_cfg.active == UVM_ACTIVE) begin
		m_driver.seq_item_port.connect(m_sequencer.seq_item_export);
		m_driver.AHB = m_cfg.AHB;
	end
endfunction
function void ahb_agent::connect_phase(uvm_phase phase);

	m_monitor.AHB = m_cfg.AHB;
	ap = m_monitor.ap;

	if(m_cfg.active == UVM_ACTIVE) begin
		m_driver.seq_item_port.connect(m_sequencer.seq_item_export);
		m_driver.AHB = m_cfg.AHB;
	end
endfunction