data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv
 line:2: before: "_req_clr"
1: b'%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:2: Define or directive not defined: \'`uvm_analysis_imp_decl\'\n`uvm_analysis_imp_decl(_req_clr)\n^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:2: syntax error, unexpected \'(\'\n`uvm_analysis_imp_decl(_req_clr)\n                       ^~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:4: Unsupported: classes\nclass dma_perf_collector extends uvm_scoreboard;\n^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:4: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass dma_perf_collector extends uvm_scoreboard;\n                                 ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:5: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(dma_perf_collector)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:14: Unsupported: new constructor\n    function new(string name="dma_perf_collector", uvm_component parent);\n             ^~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:14: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function new(string name="dma_perf_collector", uvm_component parent);\n                                                                 ^~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:21: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void build_phase(uvm_phase phase);\n                                                ^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:27: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void connect_phase(uvm_phase phase);\n                                                  ^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:32: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual task run_phase(uvm_phase phase);\n                                     ^~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:38: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function void write_req_clr(dma_req_clr_item item);\n                                                 ^~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:40: Define or directive not defined: \'`uvm_info\'\n        `uvm_info("perf collector", $sformatf("Seq_item written from monitor: \\n"), UVM_HIGH)\n        ^~~~~~~~~\n%Error: data/full_repos/permissive/178106827/verif/env/dma_perf/dma_perf_collector.sv:48: syntax error, unexpected IDENTIFIER, expecting \')\'\n    virtual function void check_phase(uvm_phase phase);\n                                                ^~~~~\n%Error: Exiting due to 13 error(s)\n'
function void check_phase(uvm_phase phase);
        super.check_phase(phase);

		$display("\n\n-----------------DMA Performance Report-------------------\n");
		$display("Total TX Transfers: %0d",dma_perf_item_h.total_tx_transfers);
		$display("Total TX Cycles:    %0d",dma_perf_item_h.total_tx_cycles);
		$display("Average TX Cycles:  %0d\n",dma_perf_item_h.average_tx_cycles);
    endfunction
function void check_phase(uvm_phase phase);

        super.check_phase(phase);

		$display("\n\n-----------------DMA Performance Report-------------------\n");
		$display("Total TX Transfers: %0d",dma_perf_item_h.total_tx_transfers);
		$display("Total TX Cycles:    %0d",dma_perf_item_h.total_tx_cycles);
		$display("Average TX Cycles:  %0d\n",dma_perf_item_h.average_tx_cycles);
    endfunction