You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently MSIM is able to print an alert when (CPU) exception is raised.
The idea behind this issue is to explain why the exception was raised. While it is often possible to determine the reason from various status registers, explicit explanation might help beginners understand the issue more quickly.
Below are to concrete examples where such information would was clearly missing and students were unable to quickly find out what were the actual reasons for the exception.
When TLB refill is raised it might be worth stating that there is no such item or that there is such an item but with different ASID.
Page fault (on RISC-V) should explain whether the reason is missing page table entry or missing SUM bit when supervisor tries to access user pages.
The text was updated successfully, but these errors were encountered:
Somewhere along the messages such as cpu%u raised TLB refill exception ....
Should we use trace mode for this, or would you prefer to introduce a new explain mode?
So far it is just an idea and I have not yet thought about out all the details. But I think it would be an extension of the trace mode, i.e. --explain would imply --trace.
Currently MSIM is able to print an alert when (CPU) exception is raised.
The idea behind this issue is to explain why the exception was raised. While it is often possible to determine the reason from various status registers, explicit explanation might help beginners understand the issue more quickly.
Below are to concrete examples where such information would was clearly missing and students were unable to quickly find out what were the actual reasons for the exception.
The text was updated successfully, but these errors were encountered: