data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv
 line:34: before: "class"
1: b'%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:34: Unsupported: classes\nclass producer #(type T=int) extends ovm_component;\n^~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:34: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass producer #(type T=int) extends ovm_component;\n                                     ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:37: Unsupported: Parameter classes\n   ovm_analysis_imp #(T,producer#(T)) ap_in; \n                                  ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:37: syntax error, unexpected \')\', expecting IDENTIFIER or \'=\' or do or final\n   ovm_analysis_imp #(T,producer#(T)) ap_in; \n                                    ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:40: syntax error, unexpected IDENTIFIER\n   packet expected_pkt;\n   ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:42: Define or directive not defined: \'`ovm_component_param_utils\'\n   `ovm_component_param_utils(producer #(T))\n   ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:42: Unsupported: Parameter classes\n   `ovm_component_param_utils(producer #(T))\n                                         ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:42: syntax error, unexpected \')\', expecting IDENTIFIER or \'=\' or do or final\n   `ovm_component_param_utils(producer #(T))\n                                           ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:44: Unsupported: new constructor\n   function new(string name, ovm_component parent=null);\n            ^~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:44: syntax error, unexpected IDENTIFIER, expecting \')\'\n   function new(string name, ovm_component parent=null);\n                                           ^~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:53: Unsupported: this\n     ovm_test_done.raise_objection(this);\n                                   ^~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:60: Unsupported: new with arguments\n       T pkt = new();\n               ^~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:61: Unsupported: SystemVerilog 2005 reserved word not implemented: \'randomize\'\n       assert(pkt.randomize());\n                  ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:61: syntax error, unexpected \'(\'\n       assert(pkt.randomize());\n                            ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:67: Define or directive not defined: \'`ovm_info\'\n       `ovm_info("PRODUCER/PKT/SEND_REQ",\n       ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:67: syntax error, unexpected \',\'\n       `ovm_info("PRODUCER/PKT/SEND_REQ",\n                                        ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:76: Define or directive not defined: \'`ovm_info\'\n     `ovm_info("PRODUCER/END_TEST","Dropping objection to ending the test",OVM_LOW)\n     ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:76: syntax error, unexpected \',\'\n     `ovm_info("PRODUCER/END_TEST","Dropping objection to ending the test",OVM_LOW)\n                                  ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:82: syntax error, unexpected IDENTIFIER, expecting \')\'\n   virtual function void write(packet t);\n                                      ^\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:84: Define or directive not defined: \'`ovm_info\'\n       `ovm_info("PRODUCER/PKT/RECV_RSP",\n       ^~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:88: Define or directive not defined: \'`ovm_error\'\n                                                                                                                                     : ... Suggested alternative: \'`error\'\n         `ovm_error("PRODUCER/PKT/ADDR_MISCOMPARE",\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/220347822/nvidia-dla-blocks/hw/third_party_tools/uvmc-2.3.0/examples_ovm/converters/producer.sv:93: Define or directive not defined: \'`ovm_error\'\n                                                                                                                                     : ... Suggested alternative: \'`error\'\n         `ovm_error("PRODUCER/PKT/DATA_MISCOMPARE",\n         ^~~~~~~~~~\n%Error: Exiting due to 22 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void write(packet t);

       `ovm_info("PRODUCER/PKT/RECV_RSP",
          $sformatf("SV producer response:\n   %s\n", t.convert2string()), OVM_MEDIUM)

       if (t.addr != expected_pkt.addr)
         `ovm_error("PRODUCER/PKT/ADDR_MISCOMPARE",
            $sformatf("Expected address to be %h, got back %h",
                    expected_pkt.addr,t.addr))

       if (t.data != expected_pkt.data)
         `ovm_error("PRODUCER/PKT/DATA_MISCOMPARE",
            $sformatf("Expected data to be %p, got back %p",
                    expected_pkt.data,t.data))

       expected_pkt = null; 

   endfunction
function void write(packet t);


       `ovm_info("PRODUCER/PKT/RECV_RSP",
          $sformatf("SV producer response:\n   %s\n", t.convert2string()), OVM_MEDIUM)

       if (t.addr != expected_pkt.addr)
         `ovm_error("PRODUCER/PKT/ADDR_MISCOMPARE",
            $sformatf("Expected address to be %h, got back %h",
                    expected_pkt.addr,t.addr))

       if (t.data != expected_pkt.data)
         `ovm_error("PRODUCER/PKT/DATA_MISCOMPARE",
            $sformatf("Expected data to be %p, got back %p",
                    expected_pkt.data,t.data))

       expected_pkt = null; 

   endfunction