data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh
None: at end of input
1: b'%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:108: Unsupported: classes\nclass uvmc_tlm_gp_converter;  \n^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:121: Unsupported: \'static\' class item\n    static function void do_pack(uvm_tlm_generic_payload t, uvm_packer packer);\n    ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:121: syntax error, unexpected IDENTIFIER, expecting \')\'\n    static function void do_pack(uvm_tlm_generic_payload t, uvm_packer packer);\n                                                         ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:191: syntax error, unexpected if\n        if (t == null)\n        ^~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:192: Define or directive not defined: \'`uvm_fatal\'\n            `uvm_fatal("UVMC",\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:261: syntax error, unexpected IDENTIFIER\n        uvm_tlm_command_e new_command = uvm_tlm_command_e\'(bits[2]);\n        ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:268: syntax error, unexpected if\n        if (t == null)\n        ^~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/src/connect/sv/uvmc_converter.svh:269: Define or directive not defined: \'`uvm_fatal\'\n            `uvm_fatal( "UVMC",\n            ^~~~~~~~~~\n%Error: Cannot continue\n        ... See the manual and https://verilator.org for more assistance.\n'
function void m_pre_unpack (
        ref bits_t bits, input uvm_tlm_generic_payload t, uvm_packer unpacker);

        byte unsigned new_data[];
        byte unsigned new_byte_enable[];

        bit [63:0] new_address = { bits[1], bits[0] };
        uvm_tlm_command_e new_command = uvm_tlm_command_e'(bits[2]);
        int unsigned new_data_len = bits[3];
        longint unsigned new_data_ptr_chandle = {bits[5],bits[4]};
        int unsigned new_byte_enable_len = bits[7];
        longint unsigned new_byte_enable_ptr_chandle = {bits[9],bits[8]};
        int unsigned new_streaming_width = bits[10];

        if (t == null)
            `uvm_fatal( "UVMC",
                "Null transaction handle passed to uvmc_tlm_gp_converter::m_pre_unpack()")



        if( new_data_len != 0 && t.m_data.size() == 0 ) begin

            t.m_address = new_address;
            t.m_command = new_command;
            t.m_length = new_data_len;
            t.m_byte_enable_length = new_byte_enable_len;

            if( new_data_len > 0 ) begin


                new_data = new[new_data_len]; 








                    UVMC_CONV_SV2C_copy_c2sv_array(
                        new_data_len, new_data_ptr_chandle, new_data );
                t.m_data = new_data;
            end




                if( new_byte_enable_len > 0 ) begin
                    new_byte_enable = new[new_byte_enable_len];
                    UVMC_CONV_SV2C_copy_c2sv_array( new_byte_enable_len,
                        new_byte_enable_ptr_chandle, new_byte_enable );
                    t.m_byte_enable = new_byte_enable;
                end

            t.m_streaming_width = new_streaming_width;
        end





`ifdef VCS_OR_INCA
        else begin



            if( new_data_len != 0 && t.is_read() )
                UVMC_CONV_SV2C_copy_c2sv_array(
                    t.m_length, new_data_ptr_chandle, t.m_data );
            UVMC_CONV_SV2C_free_duplicated_storage( new_data_ptr_chandle );
            UVMC_CONV_SV2C_free_duplicated_storage(
                new_byte_enable_ptr_chandle );
        end
`endif


        t.m_response_status = uvm_tlm_response_status_e'(bits[6]);

    endfunction
function void m_pre_unpack (
        ref bits_t bits, input uvm_tlm_generic_payload t, uvm_packer unpacker);


        byte unsigned new_data[];
        byte unsigned new_byte_enable[];

        bit [63:0] new_address = { bits[1], bits[0] };
        uvm_tlm_command_e new_command = uvm_tlm_command_e'(bits[2]);
        int unsigned new_data_len = bits[3];
        longint unsigned new_data_ptr_chandle = {bits[5],bits[4]};
        int unsigned new_byte_enable_len = bits[7];
        longint unsigned new_byte_enable_ptr_chandle = {bits[9],bits[8]};
        int unsigned new_streaming_width = bits[10];

        if (t == null)
            `uvm_fatal( "UVMC",
                "Null transaction handle passed to uvmc_tlm_gp_converter::m_pre_unpack()")



        if( new_data_len != 0 && t.m_data.size() == 0 ) begin

            t.m_address = new_address;
            t.m_command = new_command;
            t.m_length = new_data_len;
            t.m_byte_enable_length = new_byte_enable_len;

            if( new_data_len > 0 ) begin


                new_data = new[new_data_len]; 








                    UVMC_CONV_SV2C_copy_c2sv_array(
                        new_data_len, new_data_ptr_chandle, new_data );
                t.m_data = new_data;
            end




                if( new_byte_enable_len > 0 ) begin
                    new_byte_enable = new[new_byte_enable_len];
                    UVMC_CONV_SV2C_copy_c2sv_array( new_byte_enable_len,
                        new_byte_enable_ptr_chandle, new_byte_enable );
                    t.m_byte_enable = new_byte_enable;
                end

            t.m_streaming_width = new_streaming_width;
        end





`ifdef VCS_OR_INCA
        else begin



            if( new_data_len != 0 && t.is_read() )
                UVMC_CONV_SV2C_copy_c2sv_array(
                    t.m_length, new_data_ptr_chandle, t.m_data );
            UVMC_CONV_SV2C_free_duplicated_storage( new_data_ptr_chandle );
            UVMC_CONV_SV2C_free_duplicated_storage(
                new_byte_enable_ptr_chandle );
        end
`endif


        t.m_response_status = uvm_tlm_response_status_e'(bits[6]);

    endfunction