data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv
1: b"%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:47: syntax error, unexpected ::, expecting ';'\n  localparam L15_SET_ASSOC           = ariane_pkg::DCACHE_SET_ASSOC; \n                                                 ^~\n                                                                                              : ... Perhaps 'ariane_pkg' is a package which needs to be predeclared? (IEEE 1800-2017 26.3)\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:52: syntax error, unexpected ::\n  localparam L1I_WAY_WIDTH           = $clog2(ariane_pkg::ICACHE_SET_ASSOC);\n                                                        ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:53: syntax error, unexpected ::\n  localparam L1D_WAY_WIDTH           = $clog2(ariane_pkg::DCACHE_SET_ASSOC);\n                                                        ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:61: syntax error, unexpected ::\n  localparam ICACHE_OFFSET_WIDTH     = $clog2(ariane_pkg::ICACHE_LINE_WIDTH/8);\n                                                        ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:62: syntax error, unexpected ::\n  localparam ICACHE_NUM_WORDS        = 2**(ariane_pkg::ICACHE_INDEX_WIDTH-ICACHE_OFFSET_WIDTH);\n                                                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:65: syntax error, unexpected ::\n  localparam DCACHE_OFFSET_WIDTH     = $clog2(ariane_pkg::DCACHE_LINE_WIDTH/8);\n                                                        ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:66: syntax error, unexpected ::\n  localparam DCACHE_NUM_WORDS        = 2**(ariane_pkg::DCACHE_INDEX_WIDTH-DCACHE_OFFSET_WIDTH);\n                                                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:69: syntax error, unexpected ::, expecting ';'\n  localparam DCACHE_NUM_BANKS        = ariane_pkg::DCACHE_LINE_WIDTH/64;\n                                                 ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:78: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::DCACHE_INDEX_WIDTH+ariane_pkg::DCACHE_TAG_WIDTH-1:0] wtag;\n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:84: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::DCACHE_SET_ASSOC-1:0]                                hit_oh;   \n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:120: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::ICACHE_INDEX_WIDTH-1:0]       idx;          \n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:122: syntax error, unexpected '}'\n  } cache_inval_t;\n  ^\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:126: syntax error, unexpected ::\n    logic [$clog2(ariane_pkg::ICACHE_SET_ASSOC)-1:0] way;          \n                            ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:130: syntax error, unexpected '}'\n  } icache_req_t;\n  ^\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:134: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::ICACHE_LINE_WIDTH-1:0]        data;         \n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:139: syntax error, unexpected '}'\n  } icache_rtrn_t;\n  ^\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:150: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n    ariane_pkg::amo_t                                amo_op;       \n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:155: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::DCACHE_LINE_WIDTH-1:0]        data;         \n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:159: syntax error, unexpected '}'\n  } dcache_rtrn_t;\n  ^\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:257: syntax error, unexpected ::, expecting ':'\n  function automatic logic [ariane_pkg::ICACHE_SET_ASSOC-1:0] icache_way_bin2oh (\n                                      ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:258: syntax error, unexpected ::\n    input logic [$clog2(ariane_pkg::ICACHE_SET_ASSOC)-1:0] in\n                                  ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:260: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::ICACHE_SET_ASSOC-1:0] out;\n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:266: syntax error, unexpected ::, expecting ':'\n  function automatic logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] dcache_way_bin2oh (\n                                      ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:267: syntax error, unexpected ::\n    input logic [$clog2(ariane_pkg::DCACHE_SET_ASSOC)-1:0] in\n                                  ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:269: syntax error, unexpected ::, expecting ':'\n    logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] out;\n                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/serpent_cache_pkg.sv:364: syntax error, unexpected endpackage\nendpackage : serpent_cache_pkg\n^~~~~~~~~~\n%Error: Exiting due to 26 error(s)\n"
function automatic logic[63:0] swendian64(input logic[63:0] in);
    automatic logic[63:0] out;
    for(int k=0; k<64;k+=8)begin
        out[k +: 8] = in[63-k -: 8];
    end
    return out;
  endfunction
function automatic logic[63:0] swendian64(input logic[63:0] in);

    automatic logic[63:0] out;
    for(int k=0; k<64;k+=8)begin
        out[k +: 8] = in[63-k -: 8];
    end
    return out;
  endfunction