data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv
None: at end of input
1: b'%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:22: 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/commands,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/commands,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/commands,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/commands/sv_main.sv:23: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\nimport uvm_pkg::*; \n       ^~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:61: Unsupported: classes\nclass prod_cfg extends uvm_object;\n^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:61: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass prod_cfg extends uvm_object;\n                       ^~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:63: Define or directive not defined: \'`uvm_object_utils\'\n  `uvm_object_utils(prod_cfg);\n  ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:65: Unsupported: new constructor\n  function new(string name="producer_config_inst");\n           ^~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:66: Unsupported: super\n    super.new(name);\n    ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:66: Unsupported: new with arguments\n    super.new(name);\n          ^~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:66: Unsupported: dotted new\n    super.new(name);\n    ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:75: syntax error, unexpected virtual\n  virtual function void do_pack(uvm_packer packer);\n          ^~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:75: syntax error, unexpected IDENTIFIER, expecting \')\'\n  virtual function void do_pack(uvm_packer packer);\n                                           ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:76: Define or directive not defined: \'`uvm_pack_int\'\n    `uvm_pack_int(min_addr)\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:77: Define or directive not defined: \'`uvm_pack_int\'\n    `uvm_pack_int(max_addr)\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:78: Define or directive not defined: \'`uvm_pack_int\'\n    `uvm_pack_int(min_data_len)\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:79: Define or directive not defined: \'`uvm_pack_int\'\n    `uvm_pack_int(max_data_len)\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:80: Define or directive not defined: \'`uvm_pack_int\'\n    `uvm_pack_int(max_trans)\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:83: syntax error, unexpected IDENTIFIER, expecting \')\'\n  virtual function void do_unpack(uvm_packer packer);\n                                             ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:84: Define or directive not defined: \'`uvm_unpack_int\'\n    `uvm_unpack_int(min_addr)\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:85: Define or directive not defined: \'`uvm_unpack_int\'\n    `uvm_unpack_int(max_addr)\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:86: Define or directive not defined: \'`uvm_unpack_int\'\n    `uvm_unpack_int(min_data_len)\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:87: Define or directive not defined: \'`uvm_unpack_int\'\n    `uvm_unpack_int(max_data_len)\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:88: Define or directive not defined: \'`uvm_unpack_int\'\n    `uvm_unpack_int(max_trans)\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:96: syntax error, unexpected endclass\nendclass\n^~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:120: Unsupported: classes\nclass producer extends uvm_component;\n^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:120: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass producer extends uvm_component;\n                       ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:126: Define or directive not defined: \'`uvm_component_utils\'\n   `uvm_component_utils(producer)\n   ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:136: syntax error, unexpected IDENTIFIER, expecting \')\'\n   function void build_phase(uvm_phase phase);\n                                       ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:137: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","BUILD Started",UVM_NONE);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:140: syntax error, unexpected IDENTIFIER, expecting \')\'\n   function void connect_phase(uvm_phase phase);\n                                         ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:141: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","CONNECT Started",UVM_NONE);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:144: syntax error, unexpected IDENTIFIER, expecting \')\'\n   function void end_of_elaboration_phase(uvm_phase phase);\n                                                    ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:145: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","END_OF_ELABORATION Started",UVM_NONE);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:148: syntax error, unexpected IDENTIFIER, expecting \')\'\n   function void start_of_simulation_phase(uvm_phase phase);\n                                                     ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:149: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","START_OF_SIMULATION Started",UVM_NONE);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:152: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task pre_reset_phase(uvm_phase phase);\n                                  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:153: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","PRE_RESET Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:156: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task reset_phase(uvm_phase phase);\n                              ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:157: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","RESET Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:160: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task post_reset_phase(uvm_phase phase);\n                                   ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:161: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","POST_RESET Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:164: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task pre_configure_phase(uvm_phase phase);\n                                      ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:165: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","PRE_CONFIGURE Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:168: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task configure_phase(uvm_phase phase);\n                                  ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:169: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","CONFIGURE Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:172: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task post_configure_phase(uvm_phase phase);\n                                       ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:173: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","POST_CONFIGURE Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:176: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task pre_main_phase(uvm_phase phase);\n                                 ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:177: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","PRE_MAIN Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:180: syntax error, unexpected IDENTIFIER, expecting \')\'\n   task main_phase(uvm_phase phase);\n                             ^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples/commands/sv_main.sv:181: Define or directive not defined: \'`uvm_info\'\n     `uvm_info("UVMC_PHASING","MAIN Started",UVM_LOW);\n     ^~~~~~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function void check_config();

     int i;
     string str;
     uvm_object obj;

       if (!uvm_config_db #(uvm_bitstream_t)::get(this,"","some_int",i))
         `uvm_error("NO_INT_CONFIG",{"No configuration for field 'some_int'",
            " found at context '",get_full_name(),"'"})
       else
         `uvm_info("INT_CONFIG",
            $sformatf("Config for field 'some_int' at context '%s' has value %0h",
            get_full_name(),i),UVM_NONE)


       if (!uvm_config_db #(string)::get(this,"","some_string",str))
         `uvm_error("NO_STRING_CONFIG",{"No configuration for field 'some_string'",
            " found at context '",get_full_name(),"'"})
       else
         `uvm_info("STRING_CONFIG",
            {"Config for field 'message' at context '", get_full_name(),
            "' has value '", str,"'"},UVM_NONE)

       if (!uvm_config_db #(uvm_object)::get(this,"","config",obj))
         `uvm_error("NO_OBJECT_CONFIG",{"No configuration for field 'config'",
            " found at context '",get_full_name(),"'"})
       else begin
          prod_cfg c;
          if (!$cast(c,obj))
            `uvm_error("BAD_CONFIG_TYPE", 
               {"Object set for configuration field 'config' at context '",
               get_full_name(),"' is not a prod_cfg type"})
          else begin
            cfg = c;
            `uvm_info("OBJECT_CONFIG",
               {"Config for field 'config' at context '",get_full_name(),
               "' has value '", cfg.convert2string(),"'"},UVM_NONE)
          end
       end

   endfunction
function void check_config();


     int i;
     string str;
     uvm_object obj;

       if (!uvm_config_db #(uvm_bitstream_t)::get(this,"","some_int",i))
         `uvm_error("NO_INT_CONFIG",{"No configuration for field 'some_int'",
            " found at context '",get_full_name(),"'"})
       else
         `uvm_info("INT_CONFIG",
            $sformatf("Config for field 'some_int' at context '%s' has value %0h",
            get_full_name(),i),UVM_NONE)


       if (!uvm_config_db #(string)::get(this,"","some_string",str))
         `uvm_error("NO_STRING_CONFIG",{"No configuration for field 'some_string'",
            " found at context '",get_full_name(),"'"})
       else
         `uvm_info("STRING_CONFIG",
            {"Config for field 'message' at context '", get_full_name(),
            "' has value '", str,"'"},UVM_NONE)

       if (!uvm_config_db #(uvm_object)::get(this,"","config",obj))
         `uvm_error("NO_OBJECT_CONFIG",{"No configuration for field 'config'",
            " found at context '",get_full_name(),"'"})
       else begin
          prod_cfg c;
          if (!$cast(c,obj))
            `uvm_error("BAD_CONFIG_TYPE", 
               {"Object set for configuration field 'config' at context '",
               get_full_name(),"' is not a prod_cfg type"})
          else begin
            cfg = c;
            `uvm_info("OBJECT_CONFIG",
               {"Config for field 'config' at context '",get_full_name(),
               "' has value '", cfg.convert2string(),"'"},UVM_NONE)
          end
       end

   endfunction