data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/ariane_pkg.sv
1: b"%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/ariane_pkg.sv:125: syntax error, unexpected ::, expecting ';'\n    localparam dm::hartinfo_t DebugHartInfo = '{\n                 ^~\n                                                                                        : ... Perhaps 'dm' is a package which needs to be predeclared? (IEEE 1800-2017 26.3)\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/ariane_pkg.sv:151: syntax error, unexpected ::, expecting ';'\n    localparam logic [63:0] SMODE_STATUS_READ_MASK = riscv::SSTATUS_UIE\n                                                          ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/ariane_pkg.sv:164: syntax error, unexpected ::, expecting ';'\n    localparam logic [63:0] SMODE_STATUS_WRITE_MASK = riscv::SSTATUS_SIE\n                                                           ^~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/ariane_pkg.sv:523: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n        riscv::pte_t           content;\n        ^~~~~\n%Error: data/full_repos/permissive/489147019/Flows/ASAP7/ariane136/rtl/ariane_pkg.sv:711: syntax error, unexpected endpackage\nendpackage\n^~~~~~~~~~\n%Error: Exiting due to 5 error(s)\n"
function automatic logic [7:0] be_gen(logic [2:0] addr, logic [1:0] size);
        case (size)
            2'b11: begin
                return 8'b1111_1111;
            end
            2'b10: begin
                case (addr[2:0])
                    3'b000: return 8'b0000_1111;
                    3'b001: return 8'b0001_1110;
                    3'b010: return 8'b0011_1100;
                    3'b011: return 8'b0111_1000;
                    3'b100: return 8'b1111_0000;
                endcase
            end
            2'b01: begin
                case (addr[2:0])
                    3'b000: return 8'b0000_0011;
                    3'b001: return 8'b0000_0110;
                    3'b010: return 8'b0000_1100;
                    3'b011: return 8'b0001_1000;
                    3'b100: return 8'b0011_0000;
                    3'b101: return 8'b0110_0000;
                    3'b110: return 8'b1100_0000;
                endcase
            end
            2'b00: begin
                case (addr[2:0])
                    3'b000: return 8'b0000_0001;
                    3'b001: return 8'b0000_0010;
                    3'b010: return 8'b0000_0100;
                    3'b011: return 8'b0000_1000;
                    3'b100: return 8'b0001_0000;
                    3'b101: return 8'b0010_0000;
                    3'b110: return 8'b0100_0000;
                    3'b111: return 8'b1000_0000;
                endcase
            end
        endcase
        return 8'b0;
    endfunction
function automatic logic [7:0] be_gen(logic [2:0] addr, logic [1:0] size);

        case (size)
            2'b11: begin
                return 8'b1111_1111;
            end
            2'b10: begin
                case (addr[2:0])
                    3'b000: return 8'b0000_1111;
                    3'b001: return 8'b0001_1110;
                    3'b010: return 8'b0011_1100;
                    3'b011: return 8'b0111_1000;
                    3'b100: return 8'b1111_0000;
                endcase
            end
            2'b01: begin
                case (addr[2:0])
                    3'b000: return 8'b0000_0011;
                    3'b001: return 8'b0000_0110;
                    3'b010: return 8'b0000_1100;
                    3'b011: return 8'b0001_1000;
                    3'b100: return 8'b0011_0000;
                    3'b101: return 8'b0110_0000;
                    3'b110: return 8'b1100_0000;
                endcase
            end
            2'b00: begin
                case (addr[2:0])
                    3'b000: return 8'b0000_0001;
                    3'b001: return 8'b0000_0010;
                    3'b010: return 8'b0000_0100;
                    3'b011: return 8'b0000_1000;
                    3'b100: return 8'b0001_0000;
                    3'b101: return 8'b0010_0000;
                    3'b110: return 8'b0100_0000;
                    3'b111: return 8'b1000_0000;
                endcase
            end
        endcase
        return 8'b0;
    endfunction