data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:28: Unsupported: classes\nclass ahb_seq_item extends uvm_sequence_item;\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:28: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass ahb_seq_item extends uvm_sequence_item;\n                           ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:32: Define or directive not defined: \'`uvm_object_utils\'\n`uvm_object_utils(ahb_seq_item)\n^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:38: syntax error, unexpected rand\nrand bit[31:0] DATA;\n^~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:39: syntax error, unexpected rand\nrand ahb_rw_e HWRITE;\n^~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:45: Unsupported: SystemVerilog 2005 reserved word not implemented: \'constraint\'\nconstraint addr_align {HADDR[1:0] == 0;}\n^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:52: Unsupported: new constructor\nextern function new(string name = "ahb_seq_item");\n                ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:53: syntax error, unexpected extern\nextern function void do_copy(uvm_object rhs);\n^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:62: Unsupported: super\n  super.new(name);\n  ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:62: Unsupported: new with arguments\n  super.new(name);\n        ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:62: Unsupported: dotted new\n  super.new(name);\n  ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:65: Unsupported: Hierarchical class references\nfunction void ahb_seq_item::do_copy(uvm_object rhs);\n                          ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:65: Unsupported: scoped class reference\nfunction void ahb_seq_item::do_copy(uvm_object rhs);\n                            ^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:38: Unsupported: Out of class block function declaration\nrand bit[31:0] DATA;\n         ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:65: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void ahb_seq_item::do_copy(uvm_object rhs);\n                                               ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:68: syntax error, unexpected if\n  if(!$cast(rhs_, rhs)) begin\n  ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:68: Unsupported or unknown PLI call: $cast\n  if(!$cast(rhs_, rhs)) begin\n      ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:69: Define or directive not defined: \'`uvm_fatal\'\n    `uvm_fatal("do_copy", "cast of rhs object failed")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:80: Unsupported: Hierarchical class references\nfunction bit ahb_seq_item::do_compare(uvm_object rhs, uvm_comparer comparer);\n                         ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:80: Unsupported: scoped class reference\nfunction bit ahb_seq_item::do_compare(uvm_object rhs, uvm_comparer comparer);\n                           ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:65: Unsupported: Out of class block function declaration\nfunction void ahb_seq_item::do_copy(uvm_object rhs);\n                            ^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:80: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction bit ahb_seq_item::do_compare(uvm_object rhs, uvm_comparer comparer);\n                                                 ^~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:83: syntax error, unexpected if\n  if(!$cast(rhs_, rhs)) begin\n  ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:83: Unsupported or unknown PLI call: $cast\n  if(!$cast(rhs_, rhs)) begin\n      ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:84: Define or directive not defined: \'`uvm_error\'\n                                                                                 : ... Suggested alternative: \'`error\'\n    `uvm_error("do_copy", "cast of rhs object failed")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:96: Unsupported: Hierarchical class references\nfunction string ahb_seq_item::convert2string();\n                            ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:96: Unsupported: scoped class reference\nfunction string ahb_seq_item::convert2string();\n                              ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:80: Unsupported: Out of class block function declaration\nfunction bit ahb_seq_item::do_compare(uvm_object rhs, uvm_comparer comparer);\n                           ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:99: Unsupported: super\n  $sformat(s, "%s\\n", super.convert2string());\n                      ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:107: Unsupported: Hierarchical class references\nfunction void ahb_seq_item::do_print(uvm_printer printer);\n                          ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:107: Unsupported: scoped class reference\nfunction void ahb_seq_item::do_print(uvm_printer printer);\n                            ^~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:96: Unsupported: Out of class block function declaration\nfunction string ahb_seq_item::convert2string();\n                              ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:107: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void ahb_seq_item::do_print(uvm_printer printer);\n                                                 ^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:116: Unsupported: Hierarchical class references\nfunction void ahb_seq_item:: do_record(uvm_recorder recorder);\n                          ^~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:116: Unsupported: scoped class reference\nfunction void ahb_seq_item:: do_record(uvm_recorder recorder);\n                             ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:107: Unsupported: Out of class block function declaration\nfunction void ahb_seq_item::do_print(uvm_printer printer);\n                            ^~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/ahb_agent/ahb_seq_item.svh:116: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void ahb_seq_item:: do_record(uvm_recorder recorder);\n                                                    ^~~~~~~~\n%Error: Exiting due to 37 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function bit ahb_seq_item::do_compare(uvm_object rhs, uvm_comparer comparer);
  ahb_seq_item rhs_;

  if(!$cast(rhs_, rhs)) begin
    `uvm_error("do_copy", "cast of rhs object failed")
    return 0;
  end
  return super.do_compare(rhs, comparer) &&

    HADDR == rhs_.HADDR &&
    DATA == rhs_.DATA &&
    HWRITE == rhs_.HWRITE &&
    HRESP == rhs_.HRESP;

endfunction
function bit ahb_seq_item::do_compare(uvm_object rhs, uvm_comparer comparer);

  ahb_seq_item rhs_;

  if(!$cast(rhs_, rhs)) begin
    `uvm_error("do_copy", "cast of rhs object failed")
    return 0;
  end
  return super.do_compare(rhs, comparer) &&

    HADDR == rhs_.HADDR &&
    DATA == rhs_.DATA &&
    HWRITE == rhs_.HWRITE &&
    HRESP == rhs_.HRESP;

endfunction