data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv
 line:13: before: "package"
1: b"%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:15: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\n  import PkgAxiStreamBfm::*;\n         ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:37: Unsupported: Initial values in struct/union members.\n    logic [47:0]  dest_mac   = DEF_DEST_MAC_ADDR;\n                               ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:38: Unsupported: Initial values in struct/union members.\n    logic [47:0]  src_mac    = DEF_SRC_MAC_ADDR;\n                               ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:39: Unsupported: Initial values in struct/union members.\n    ether_type_t  ether_type = IPV4;\n                               ^~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:45: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n    raw_pkt_t     payload;\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:48: syntax error, unexpected '}'\n  } eth_pkt_t;\n  ^\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:51: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic raw_pkt_t flatten_eth_pkt(input eth_pkt_t pkt);\n                               ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:75: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic eth_pkt_t unflatten_eth_pkt(input raw_pkt_t pay);\n                               ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:98: syntax error, unexpected IDENTIFIER, expecting ')'\n  function automatic logic eth_pkt_compare(input eth_pkt_t a, input eth_pkt_t b);\n                                                           ^\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:128: Unsupported: Initial values in struct/union members.\n    logic  [3:0]      header_length  = 4'd5;\n                                       ^~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:129: Unsupported: Initial values in struct/union members.\n    logic  [3:0]      version        = 4'd4;\n                                       ^~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:130: Unsupported: Initial values in struct/union members.\n    logic  [5:0]      dscp           = 6'b0000_00;\n                                       ^~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:131: Unsupported: Initial values in struct/union members.\n    logic  [1:0]      ecn            = 2'b00;\n                                       ^~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:132: Unsupported: Initial values in struct/union members.\n    logic [15:0]      length         = 16'hXXXX;  \n                                       ^~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:133: Unsupported: Initial values in struct/union members.\n    logic [15:0]      identification = 16'h462E;\n                                       ^~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:134: Unsupported: Initial values in struct/union members.\n    logic             rsv_zero       = 1'b0;\n                                       ^~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:135: Unsupported: Initial values in struct/union members.\n    logic             dont_frag      = 1'b1;\n                                       ^~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:136: Unsupported: Initial values in struct/union members.\n    logic             more_frag      = 1'b0;\n                                       ^~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:137: Unsupported: Initial values in struct/union members.\n    logic [12:0]      frag_offset    = 16'd0;\n                                       ^~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:138: Unsupported: Initial values in struct/union members.\n    logic  [7:0]      time_to_live   = 16'd64;\n                                       ^~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:139: Unsupported: Initial values in struct/union members.\n    ip_protocol_t     protocol       = UDP;\n                                       ^~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:140: Unsupported: Initial values in struct/union members.\n    logic [15:0]      checksum       = 16'hXXXX;  \n                                       ^~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:141: Unsupported: Initial values in struct/union members.\n    logic [31:0]      src_ip         = DEF_SRC_IP_ADDR;\n                                       ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:142: Unsupported: Initial values in struct/union members.\n    logic [31:0]      dest_ip        = DEF_DEST_IP_ADDR;\n                                       ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:148: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n    raw_pkt_t     payload;\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:155: syntax error, unexpected IDENTIFIER, expecting ')'\n  function automatic logic [15:0] calc_ipv4_checksum(input raw_pkt_t pkt);\n                                                                     ^~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:161: syntax error, unexpected IDENTIFIER\n    checksum = 0;\n    ^~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:164: syntax error, unexpected IDENTIFIER\n    for (int i = 0 ; i < 20 ; i+=2 ) begin\n                     ^\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:176: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic raw_pkt_t flatten_ipv4_pkt(input ipv4_pkt_t pkt);\n                               ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:185: syntax error, unexpected if\n    if ($isunknown(pkt.hdr.length))\n    ^~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:229: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic ipv4_pkt_t unflatten_ipv4_pkt(input raw_pkt_t pay);\n                                ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:263: syntax error, unexpected IDENTIFIER, expecting ')'\n  function automatic logic ipv4_pkt_compare(input ipv4_pkt_t a, input ipv4_pkt_t b);\n                                                             ^\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:294: Unsupported: Initial values in struct/union members.\n    logic [15:0]       src_port   = DEF_SRC_UDP_PORT;\n                                    ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:295: Unsupported: Initial values in struct/union members.\n    logic [15:0]       dest_port  = DEF_DEST_UDP_PORT;\n                                    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:296: Unsupported: Initial values in struct/union members.\n    logic [15:0]       length     = 16'hXXXX;  \n                                    ^~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:297: Unsupported: Initial values in struct/union members.\n    logic [15:0]       checksum   = 16'hXXXX;  \n                                    ^~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:303: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n    raw_pkt_t     payload;\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:309: syntax error, unexpected IDENTIFIER, expecting ')'\n    input raw_pkt_t pkt);\n                    ^~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:312: syntax error, unexpected IDENTIFIER\n    raw_pkt_t    virtual_header;\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:335: syntax error, unexpected IDENTIFIER\n    for (int i = 0 ; i < pkt.size ; i+=2 ) begin\n                     ^\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:347: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic raw_pkt_t flatten_udp_pkt(\n                               ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:349: syntax error, unexpected input, expecting IDENTIFIER or '=' or do or final\n    input logic [31:0] dest_ip,\n    ^~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:350: syntax error, unexpected input, expecting IDENTIFIER or '=' or do or final\n    input udp_pkt_t pkt);\n    ^~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:358: syntax error, unexpected if\n    if ($isunknown(pkt.hdr.length))\n    ^~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:389: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic udp_pkt_t unflatten_udp_pkt(input raw_pkt_t pay);\n                               ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:406: syntax error, unexpected IDENTIFIER, expecting ')'\n  function automatic logic udp_pkt_compare(input udp_pkt_t a, input udp_pkt_t b);\n                                                           ^\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:423: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n  function automatic raw_pkt_t build_udp_pkt (\n                               ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:425: syntax error, unexpected input, expecting IDENTIFIER or '=' or do or final\n    input ipv4_hdr_t ipv4_hdr,\n    ^~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:426: syntax error, unexpected input, expecting IDENTIFIER or '=' or do or final\n    input udp_hdr_t  udp_hdr,\n    ^~~~~\n%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/rfnoc/PkgEthernet.sv:427: syntax error, unexpected input, expecting IDENTIFIER or '=' or do or final\n    input raw_pkt_t  pay,\n    ^~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n"
function automatic void clear_error();

      foreach (this.user[i]) begin
        this.user[i][UWIDTH-1] = 0;
      end

    endfunction
function automatic void clear_error();


      foreach (this.user[i]) begin
        this.user[i][UWIDTH-1] = 0;
      end

    endfunction