ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

Smdbltrp

T1 riscv feature feature
Double trap in M-mode
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon Scopev1.0.0 (ratified)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db

Summary

The Smdbltrp extension addresses a double trap in M-mode. When the Smrnmi extension is implemented, it enables invocation of the RNMI handler on a double trap in M-mode to handle the critical error. If the Smrnmi extension is not implemented or if a double trap occurs during the RNMI handler's execution, this extension helps transition the hart to a critical error state and enables signaling the critical error to…

Syntax / Encoding

Smdbltrp v1.0.0 (ratified)

Reference Notes

The `Smdbltrp` extension addresses a double trap in M-mode.
When the `Smrnmi` extension is implemented, it enables invocation of the RNMI handler on a
double trap in M-mode to handle the critical error.
If the `Smrnmi` extension is not implemented or if a double trap occurs during the RNMI
handler's execution, this extension helps transition the hart to a critical error state and
enables signaling the critical error to the platform.

To improve error diagnosis and resolution, this extension supports debugging harts in a critical
error state. The extension introduces a mechanism to enter Debug Mode instead of asserting a
critical-error signal to the platform when the hart is in a critical error state.