Interrupt entry and exit in FE310-G002

FE310-G002 manual on section 8.2.1 Interrupt Entry and Exit says the following.
The value of mstatus.MIE is copied into mcause.MPIE. But there isn’t any MPIE bit in cause register as per RISC-V privileged spec. Is that supposed to be status.MPIE?


Hi Vincent,

Yes - you’re correct, that is a typo. It should be mstatus.MPIE not mcause.MPIE in the first bullet and second-to-last bullet in Section 8.2.1.

We’ll get that fixed for the next release of the Manual.

Thank you for helping us improve the documentation.