data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv
 line:8: before: "class"
1: b'%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:8: Unsupported: classes\nclass apb_mstr_agent extends uvm_agent;\n^~~~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:8: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass apb_mstr_agent extends uvm_agent;\n                             ^~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:9: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(apb_mstr_agent)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:27: Unsupported: new constructor\n    function new(string name="apb_mstr_agent", uvm_component parent);\n             ^~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:27: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function new(string name="apb_mstr_agent", uvm_component parent);\n                                                             ^~~~~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:32: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void build_phase(uvm_phase phase);\n                                                ^~~~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:37: Define or directive not defined: \'`uvm_fatal\'\n            `uvm_fatal("AGENT CONFIG OBJECT NOT FOUND ERROR", $sformatf("ERROR:: Unable to retrieve apb_mstr_agnt_cfg from uvm_config_db"))\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/agents/apb_mstr_agent/apb_mstr_agent.sv:59: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void connect_phase(uvm_phase phase);\n                                                  ^~~~~\n%Error: Exiting due to 8 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void connect_phase(uvm_phase phase);
        super.connect_phase(phase);
        

        if(apb_mstr_agnt_cfg.is_active == UVM_ACTIVE) begin

            apb_mstr_drvr.apb_mstr_agnt_cfg = apb_mstr_agnt_cfg;

            apb_mstr_drvr.apb_intf = apb_mstr_agnt_cfg.apb_intf;
            

            apb_mstr_drvr.seq_item_port.connect(apb_mstr_seqr.seq_item_export);
        end
        

        if(apb_mstr_agnt_cfg.has_functional_coverage) begin
            apb_mntr.mntr2cov.connect(apb_cov_mntr.analysis_export);
        end
        

        apb_mntr.apb_intf = apb_mstr_agnt_cfg.apb_intf;
        

        apb_mntr.apb_mstr_agnt_cfg = apb_mstr_agnt_cfg;
    endfunction
function void connect_phase(uvm_phase phase);

        super.connect_phase(phase);
        

        if(apb_mstr_agnt_cfg.is_active == UVM_ACTIVE) begin

            apb_mstr_drvr.apb_mstr_agnt_cfg = apb_mstr_agnt_cfg;

            apb_mstr_drvr.apb_intf = apb_mstr_agnt_cfg.apb_intf;
            

            apb_mstr_drvr.seq_item_port.connect(apb_mstr_seqr.seq_item_export);
        end
        

        if(apb_mstr_agnt_cfg.has_functional_coverage) begin
            apb_mntr.mntr2cov.connect(apb_cov_mntr.analysis_export);
        end
        

        apb_mntr.apb_intf = apb_mstr_agnt_cfg.apb_intf;
        

        apb_mntr.apb_mstr_agnt_cfg = apb_mstr_agnt_cfg;
    endfunction