Using the MTVAL register to store AHB errors #22
Unanswered
andrenemat
asked this question in
Mi-V RV32 Soft Processors
Replies: 2 comments 2 replies
|
Whenever investigating traps, it generally makes sense to check the following registers:
which are documented in the The RISC-V Instruction Set Manual I don't know what "Using the MTVAL register to store AHB errors" means. |
1 reply
|
You should probably read this so: |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SW team is asking how they can handle errors on the AHB Lite bus.
If they try accessing an invalid AHB address for example, they are getting a trap. But they are wondering how they can get more information about the failed access (which address, etc.).
Is this information captured in one of the RISC-V registers?
All reactions