[Libre-soc-bugs] [Bug 465] add LoadStore error and exception handling via PortInterface

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Aug 19 18:46:25 BST 2020


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

Tobias Platen <libre-soc at platen-software.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libre-soc at platen-software.d
                   |                            |e

--- Comment #1 from Tobias Platen <libre-soc at platen-software.de> ---
STORE operation fill fail if one tries to write to ROM. 
Both LOAD and STORE operations will fail if the address is outside the range
that can be accessed. If the MMU is enabled, dereferencing a NULL pointer will
create an exception. I propose to add an enum to PortInterface that captures
the possible exception reasons: 

0 for no error
1 for an invalid address
2 when attempting to write to ROM
3 page fault
.....

there is an "exception if rolls" comment in
soc/src/soc/scoreboard/addr_split.py
which needs to be implemented properly. Currently this sets a single bit that
is ignored.

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


More information about the libre-soc-bugs mailing list