data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv
 line:51: before: "package"
1: b'%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:54: Cannot find include file: uvm_macros.svh\n  `include "uvm_macros.svh" \n           ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters,data/full_repos/permissive/220347822/uvm_macros.svh\n             data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters,data/full_repos/permissive/220347822/uvm_macros.svh.v\n             data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters,data/full_repos/permissive/220347822/uvm_macros.svh.sv\n             uvm_macros.svh\n             uvm_macros.svh.v\n             uvm_macros.svh.sv\n             obj_dir/uvm_macros.svh\n             obj_dir/uvm_macros.svh.v\n             obj_dir/uvm_macros.svh.sv\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:81: Cannot find include file: producer.sv\n  `include "producer.sv" \n           ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:115: Cannot find include file: uvm_macros.svh\n  `include "uvm_macros.svh" \n           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:170: Cannot find include file: uvm_macros.svh\n  `include "uvm_macros.svh" \n           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:55: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\n  import uvm_pkg::*;\n         ^~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:57: Unsupported: classes\n  class packet_base;\n  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:65: Unsupported: SystemVerilog 2005 reserved word not implemented: \'constraint\'\n    constraint c_data_size { data.size() inside { [1:12] }; }\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:65: syntax error, unexpected IDENTIFIER\n    constraint c_data_size { data.size() inside { [1:12] }; }\n               ^~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:72: Unsupported: classes\n  class packet extends packet_base;\n  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:72: Unsupported: extends\n  class packet extends packet_base;\n                       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:76: Unsupported: virtual class member qualifier\n    extern virtual function string convert2string();  \n           ^~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:76: Unsupported: extern class method prototype\n    extern virtual function string convert2string();  \n    ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:86: Unsupported: Hierarchical class references\n  function string packet_base::convert2string();\n                             ^~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:86: Unsupported: scoped class reference\n  function string packet_base::convert2string();\n                               ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:72: Unsupported: Out of class block function declaration\n  class packet extends packet_base;\n        ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:90: Unsupported: Hierarchical class references\n  function string packet::convert2string();\n                        ^~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:90: Unsupported: scoped class reference\n  function string packet::convert2string();\n                          ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:86: Unsupported: Out of class block function declaration\n  function string packet_base::convert2string();\n                               ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:91: Unsupported: super\n    return $sformatf("%s extra_int:%h",super.convert2string(),extra_int);\n                                       ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:94: syntax error, unexpected endpackage\nendpackage : user_pkg\n^~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:116: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\n  import uvm_pkg::*;\n         ^~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:120: Unsupported: classes\n  class convert_packet_base extends uvmc_converter #(packet_base);\n  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:120: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n  class convert_packet_base extends uvmc_converter #(packet_base);\n                                    ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:122: Unsupported: Static in this context\n    static function void do_pack(packet_base t, uvm_packer packer);\n    ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:122: syntax error, unexpected IDENTIFIER, expecting \')\'\n    static function void do_pack(packet_base t, uvm_packer packer);\n                                                           ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:123: Define or directive not defined: \'`uvm_pack_enum\'\n      `uvm_pack_enum(t.cmd)\n      ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:124: Define or directive not defined: \'`uvm_pack_int\'\n      `uvm_pack_int(t.addr)\n      ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:125: Define or directive not defined: \'`uvm_pack_queue\'\n      `uvm_pack_queue(t.data)\n      ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:128: Unsupported: Static in this context\n    static function void do_unpack(packet_base t, uvm_packer packer);\n    ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:128: syntax error, unexpected IDENTIFIER, expecting \')\'\n    static function void do_unpack(packet_base t, uvm_packer packer);\n                                                             ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:129: Define or directive not defined: \'`uvm_unpack_enum\'\n      `uvm_unpack_enum(t.cmd,packet_base::cmd_t)\n      ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:130: Define or directive not defined: \'`uvm_unpack_int\'\n      `uvm_unpack_int(t.addr)\n      ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:131: Define or directive not defined: \'`uvm_unpack_queue\'\n      `uvm_unpack_queue(t.data)\n      ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:137: Unsupported: classes\n  class convert_packet extends uvmc_converter #(packet);\n  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:137: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n  class convert_packet extends uvmc_converter #(packet);\n                               ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:139: Unsupported: Static in this context\n    static function void do_pack(packet t, uvm_packer packer);\n    ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:139: syntax error, unexpected IDENTIFIER, expecting \')\'\n    static function void do_pack(packet t, uvm_packer packer);\n                                                      ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:141: Define or directive not defined: \'`uvm_pack_int\'\n      `uvm_pack_int(t.extra_int)\n      ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:144: Unsupported: Static in this context\n    static function void do_unpack(packet t, uvm_packer packer);\n    ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:144: syntax error, unexpected IDENTIFIER, expecting \')\'\n    static function void do_unpack(packet t, uvm_packer packer);\n                                                        ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:146: Define or directive not defined: \'`uvm_unpack_int\'\n      `uvm_unpack_int(t.extra_int)\n      ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:171: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\n  import uvm_pkg::*;\n         ^~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:178: Unsupported: classes\n  class sv_env extends uvm_env;\n  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:178: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n  class sv_env extends uvm_env;\n                       ^~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:182: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(sv_env)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:182: syntax error, unexpected \'(\'\n    `uvm_component_utils(sv_env)\n                         ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:193: syntax error, unexpected ::, expecting IDENTIFIER\n      uvmc_tlm #(packet,uvm_tlm_phase_e,convert_packet)::\n                                                       ^~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:203: Unsupported: new with arguments\n    env = new("env");\n          ^~~\n%Error: Internal Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/converters/sv_converter_class.sv:168: ../V3ParseSym.h:114: Symbols suggest ending CLASS \'sv_env\' but parser thinks ending MODULE \'sv_main\'\nmodule sv_main;\n       ^~~~~~~\n'
function string convert2string();

  endclass


  class packet extends packet_base;

    rand int extra_int;

    extern virtual function string convert2string();

  endclass


  `include "producer.sv"




  function string packet_base::convert2string();
    return $sformatf("cmd:%s addr:%h data:%p",cmd,addr,data);
  endfunction
function string convert2string();


  endclass


  class packet extends packet_base;

    rand int extra_int;

    extern virtual function string convert2string();

  endclass


  `include "producer.sv"




  function string packet_base::convert2string();
    return $sformatf("cmd:%s addr:%h data:%p",cmd,addr,data);
  endfunction