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

vsie

T1 riscv register register
Virtual Supervisor Interrupt Enable
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 vsie register is a VSXLEN-bit read/write register that is VS-mode’s version of supervisor CSR sie. When V=1, vsie substitutes for the usual sie, so instructions that normally read or modify sie actually access vsie instead. However, interrupts directed to HS-level continue to be indicated in the HS-level sip register, not in vsip, when V=1.

Syntax / Encoding

CSR 0x204 (VS-mode, RW)

Bitfields (4)

BitsFieldDescription
13LCOFIELCOFIE. Read-only zero when hideleg.LCOFI is 0. Else, alias of sie.LCOFIE.
9SEIESEIE. Read-only zero when hideleg.VSEI is 0. Else, alias of hie.VSEIE.
5STIESTIE. Read-only zero when hideleg.VSTI is 0. Else, alias of hie.VSTIE.
1SSIESSIE. Read-only zero when hideleg.VSSI is 0. Else, alias of hie.VSSIE.

Reference Notes

The vsie register is a VSXLEN-bit read/write register that is VS-mode’s version of
supervisor CSR sie. When V=1, vsie substitutes for the usual sie, so instructions that
normally read or modify sie actually access vsie instead. However, interrupts directed to
HS-level continue to be indicated in the HS-level sip register, not in vsip, when V=1.

When bit 13 of hideleg is zero, vsie.LCOFIE is read-only zero. Else, vsie.LCOFIE is an alias of sie.LCOFIE.
When bit 10 of hideleg is zero, vsie.SEIE is read-only zero. Else, vsie.SEIE is an alias of hie.VSEIE.
When bit 6 of hideleg is zero, vsie.STIE is read-only zero. Else, vsie.STIE is an alias of hie.VSTIE.
When bit 2 of hideleg is zero, vsie.SSIE is read-only zero. Else, vsie.SSIE is an alias of hie.VSSIE.