Supervisor Trap Value Register (stval) - 2024.1 English - UG1629

MicroBlaze V Processor Reference Guide (UG1629)

Document ID
UG1629
Release Date
2024-05-30
Version
2024.1 English

The stval register is a read/write register. When a trap is taken into S-mode, stval is either set to zero or written with exception-specific information to assist software in handling the trap. The register only exists when supervisor mode is enabled (C_USE_MMU > 2).

The exception-specific information is listed in the description of the Machine Trap Value Register (mtval).