data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv
 line:8: before: "class"
1: b'%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:8: Unsupported: classes\nclass apb_environment extends uvm_env;\n^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:8: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass apb_environment extends uvm_env;\n                              ^~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:9: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(apb_environment)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:22: Unsupported: new constructor\n    function new(string name="apb_environment", uvm_component parent);\n             ^~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:22: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function new(string name="apb_environment", uvm_component parent);\n                                                              ^~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:27: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void build_phase(uvm_phase phase);\n                                                ^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:32: Define or directive not defined: \'`uvm_fatal\'\n            `uvm_fatal("ENV_CFG Not Found ERROR", $sformatf("Unable to retrieve env_cfg from uvm_config_db"))\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:50: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void connect_phase(uvm_phase phase);\n                                                  ^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/apb_mstr_env/apb_env.sv:64: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual task run_phase(uvm_phase phase);\n                                     ^~~~~\n%Error: Exiting due to 9 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_env_cfg.has_scoreboard) begin

            apb_mstr_agnt.apb_mntr.ap.connect(apb_scb.ap_mntr2scb);

            apb_mstr_agnt.apb_mstr_drvr.drv2scb.connect(apb_scb.ap_drv2scb);
        end   
        dma_perf_mon.req_clr_analysis_port.connect(dma_perf_collect_h.req_clr_port);		
    endfunction
function void connect_phase(uvm_phase phase);

        super.connect_phase(phase);
        

        if(apb_env_cfg.has_scoreboard) begin

            apb_mstr_agnt.apb_mntr.ap.connect(apb_scb.ap_mntr2scb);

            apb_mstr_agnt.apb_mstr_drvr.drv2scb.connect(apb_scb.ap_drv2scb);
        end   
        dma_perf_mon.req_clr_analysis_port.connect(dma_perf_collect_h.req_clr_port);		
    endfunction