ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

vsip

T1 riscv register register
Virtual Supervisor Interrupt Pending
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (H)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeVS
ExtensionsH

Summary

The vsip register is a VSXLEN-bit read/write register that is VS-mode’s version of the sip CSR. When V=1, instructions that normally access sip instead access vsip. It holds the pending interrupt status for supervisor-level traps in a virtualized environment.

Syntax / Encoding

CSR 0x244 (VS-mode, RW)

Bitfields (4)

BitsFieldDescription
13LCOFIP*Local Counter Overflow Interrupt Pending* Indicates an overflow of a local counter. Read-only zero when hideleg.LCOFI == 0, else aliased to sip.LCOFIP.
9SEIP*Supervisor External Interrupt Pending* Indicates a pending external interrupt at the supervisor level. Read-only zero when hideleg.VSEI == 0, else aliased to hip.VSEIP.
5STIP*Supervisor Timer Interrupt Pending* Indicates a pending timer interrupt at the supervisor level. Read-only zero when hideleg.VSTI == 0, else aliased to hip.VSTIP.
1SSIP*Supervisor Software Interrupt Pending* Indicates a pending software interrupt at the supervisor level. Read-only zero when hideleg.VSSI == 0, else aliased to hip.VSSIP.

Reference Notes

The `vsip` register is a VSXLEN-bit read/write register that is VS-mode’s version of the `sip` CSR.
When V=1, instructions that normally access `sip` instead access `vsip`. It holds the pending
interrupt status for supervisor-level traps in a virtualized environment.

However, interrupts directed to HS-level continue to be indicated in the HS-level `sip` register,
not in `vsip`, when V=1.

The standard portion (bits 15:0) includes individual interrupt-pending bits.