[Libre-soc-bugs] [Bug 604] ISACaller simulator needs RADIX MMU support

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Apr 18 10:18:50 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=604

--- Comment #51 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Tobias Platen from comment #50)
> I went back through the git revision history.
> 
> Those numbers had been wrong from the beginning, but at that time I did not
> realize that those were wrong.

me neither

> It would be correct if pgbase were 64 bits.

yeyyeh

> def _get_pgtable_addr(self, mask_size, pgbase, addrsh):
>         """
>         x"00" & r.pgbase(55 downto 19) &
>         ((r.pgbase(18 downto 3) and not mask) or (addrsh and mask)) &
>         "000";
>         """
>                            pgbase[8:45],              #
>                            (prtbl[45:61] & ~mask16) | #
                              ^^^^^
                         this should be pgbase

>                            (addrsh       & mask16),   #
>                            zero3
>                            )
>         return res

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list