data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv
1: b"%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:21: syntax error, unexpected ::\n    localparam DCACHE_BYTE_OFFSET = $clog2(ariane_pkg::DCACHE_LINE_WIDTH/8);\n                                                     ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:22: syntax error, unexpected ::\n    localparam DCACHE_NUM_WORDS   = 2**(ariane_pkg::DCACHE_INDEX_WIDTH-DCACHE_BYTE_OFFSET);\n                                                  ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:23: syntax error, unexpected ::, expecting ';'\n    localparam DCACHE_DIRTY_WIDTH = ariane_pkg::DCACHE_SET_ASSOC*2;\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/std_cache_pkg.sv:46: syntax error, unexpected ::, expecting ':'\n        logic [ariane_pkg::DCACHE_TAG_WIDTH-1:0]  tag;     \n                         ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:47: 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/std_cache_pkg.sv:50: syntax error, unexpected '}'\n    } cache_line_t;\n    ^\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:54: syntax error, unexpected ::\n        logic [(ariane_pkg::DCACHE_TAG_WIDTH+7)/8-1:0]  tag;     \n                          ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:55: syntax error, unexpected ::\n        logic [(ariane_pkg::DCACHE_LINE_WIDTH+7)/8-1:0] data;    \n                          ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:56: syntax error, unexpected ::, expecting ':'\n        logic [ariane_pkg::DCACHE_SET_ASSOC-1:0]        vldrty;  \n                         ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:60: syntax error, unexpected ::\n    function automatic logic [$clog2(ariane_pkg::DCACHE_SET_ASSOC)-1:0] one_hot_to_bin (\n                                               ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:61: syntax error, unexpected ::, expecting ':'\n        input logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] in\n                               ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:63: syntax error, unexpected IDENTIFIER\n        for (int unsigned i = 0; i < ariane_pkg::DCACHE_SET_ASSOC; i++) begin\n                                 ^\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:69: syntax error, unexpected ::, expecting ':'\n    function automatic logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] get_victim_cl (\n                                        ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:70: syntax error, unexpected ::, expecting ':'\n        input logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] valid_dirty\n                               ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:73: syntax error, unexpected ::, expecting ':'\n        logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] oh = '0;\n                         ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/std_cache_pkg.sv:74: syntax error, unexpected IDENTIFIER\n        for (int unsigned i = 0; i < ariane_pkg::DCACHE_SET_ASSOC; i++) begin\n                                 ^\n%Error: Exiting due to 16 error(s)\n"
function automatic logic [$clog2(ariane_pkg::DCACHE_SET_ASSOC)-1:0] one_hot_to_bin (
        input logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] in
    );
        for (int unsigned i = 0; i < ariane_pkg::DCACHE_SET_ASSOC; i++) begin
            if (in[i])
                return i;
        end
    endfunction
function automatic logic [$clog2(ariane_pkg::DCACHE_SET_ASSOC)-1:0] one_hot_to_bin (
        input logic [ariane_pkg::DCACHE_SET_ASSOC-1:0] in
    );

        for (int unsigned i = 0; i < ariane_pkg::DCACHE_SET_ASSOC; i++) begin
            if (in[i])
                return i;
        end
    endfunction