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

Sstvecv

T1 riscv feature feature
Vectored exception handling
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

stvec.MODE must be capable of holding the value 1 (Vectored). When stvec.MODE=Vectored, interrupts set pc to stvec.BASE + 4 * cause, allowing each interrupt source to have its own entry point. Synchronous exceptions still use the base address regardless of the mode.

Syntax / Encoding

Sstvecv v1.0.0 (ratified)

Reference Notes

`stvec.MODE` must be capable of holding the value 1 (Vectored).
When `stvec.MODE`=Vectored, interrupts set `pc` to `stvec.BASE + 4 * cause`,
allowing each interrupt source to have its own entry point.
Synchronous exceptions still use the base address regardless of the mode.