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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Mar 4 17:27:57 GMT 2021


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

--- Comment #4 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
i went over the various implementations
https://bugs.libre-soc.org/show_bug.cgi?id=604#c0

honestly i found it a bit of a nuisance :)

the most obvious-looking (short once comments are removed) was gem5.

one downside: we are NOT doing hypervisor... yet.

so we need full compatibility with *microwatt* but microwatt is the least
obvious because it is a FSM that communicates via handshakes with dcache /
icache.

bleh.

also microwatt uses PIDR or something which is nonstandard, temporary until
hypervisor is properly implemented.

my feeling is, then, perhaps, create some ancillary functions such as a
"permission checker" which uses microwatt rules.

segment check for example:

https://github.com/antonblanchard/microwatt/blob/6523acc74344b95e7cceb83611fb8cb2a030c1a3/mmu.vhdl#L338

and permission_check

https://github.com/antonblanchard/microwatt/blob/6523acc74344b95e7cceb83611fb8cb2a030c1a3/mmu.vhdl#L362

i will just cut/paste stubs in niw, 1 sec

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


More information about the libre-soc-bugs mailing list