data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:1: Unsupported: classes\nclass apb_driver extends uvm_driver #(apb_seq_item, apb_seq_item);\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass apb_driver extends uvm_driver #(apb_seq_item, apb_seq_item);\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:2: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(apb_driver)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:4: Unsupported: virtual data type\n    virtual apb_if APB;\n    ^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:6: syntax error, unexpected IDENTIFIER\n    apb_agent_config m_cfg;\n    ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:9: syntax error, unexpected extern\n    extern function new (string name = "apb_driver", uvm_component parent = null);\n    ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:15: Unsupported: super\n    super.new(name, parent);\n    ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:15: Unsupported: new with arguments\n    super.new(name, parent);\n          ^~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:15: Unsupported: dotted new\n    super.new(name, parent);\n    ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:18: Unsupported: Hierarchical class references\ntask apb_driver::run_phase(uvm_phase phase);\n               ^~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:18: Unsupported: scoped class reference\ntask apb_driver::run_phase(uvm_phase phase);\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:8: Unsupported: Out of class block function declaration\n    extern function int sel_lookup(logic [31:0] address);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:18: syntax error, unexpected IDENTIFIER, expecting \')\'\ntask apb_driver::run_phase(uvm_phase phase);\n                                     ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:22: syntax error, unexpected forever\n    forever begin\n    ^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:45: Define or directive not defined: \'`uvm_error\'\n                                                                               : ... Suggested alternative: \'`error\'\n            `uvm_error("RUNPHASE APBAGENT", $sformatf("[decode]ACCESS to addr %h out of range", req.addr));\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:53: Unsupported: Hierarchical class references\nfunction void apb_driver::build_phase(uvm_phase phase);\n                        ^~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:53: Unsupported: scoped class reference\nfunction void apb_driver::build_phase(uvm_phase phase);\n                          ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:18: Unsupported: Out of class block function declaration\ntask apb_driver::run_phase(uvm_phase phase);\n                          ^\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:53: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void apb_driver::build_phase(uvm_phase phase);\n                                                ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:55: 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_driver.svh:59: Unsupported: Hierarchical class references\nfunction int apb_driver::sel_lookup(logic[31:0] address);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:59: Unsupported: scoped class reference\nfunction int apb_driver::sel_lookup(logic[31:0] address);\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/apb_agent/apb_driver.svh:53: Unsupported: Out of class block function declaration\nfunction void apb_driver::build_phase(uvm_phase phase);\n                          ^~~~~~~~~~~\n%Error: Exiting due to 23 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void apb_driver::build_phase(uvm_phase phase);
    if (!uvm_config_db #(apb_agent_config)::get(this, "", "apb_agent_config", m_cfg) )
        `uvm_fatal("CONFIG_LOAD", "Cannot get() configuration apb_agent_config from uvm_config_db. Have you set() it?")
    APB = m_cfg.APB;
endfunction
function void apb_driver::build_phase(uvm_phase phase);

    if (!uvm_config_db #(apb_agent_config)::get(this, "", "apb_agent_config", m_cfg) )
        `uvm_fatal("CONFIG_LOAD", "Cannot get() configuration apb_agent_config from uvm_config_db. Have you set() it?")
    APB = m_cfg.APB;
endfunction