← Home

siselect

Supervisor Indirect Register Select

Address: 0x150 (336) · Privilege: S · Length: SXLEN · Writable · Defined by: Smcsrind or Sscsrind

The `siselect` register will support the value range 0..0xFFF at a minimum. A future extension may define a value range outside of this minimum range. Only if such an extension is implemented will `siselect` be required to support larger values.

Requiring a range of 0-0xFFF for `siselect`, even though most or all of the space may be reserved or inaccessible, permits M-mode to emulate indirectly accessed registers in this implemented range, including registers that may be standardized in the future.

Values of `siselect` with the most-significant bit set (bit XLEN - 1 = 1) are designated only for custom use, presumably for accessing custom registers through the alias CSRs. Values of `siselect` with the most-significant bit clear are designated only for standard use and are reserved until allocated to a standard architecture extension. If XLEN is changed, the most-significant bit of `siselect` moves to the new position, retaining its value from before.

Fields

RV32

31:2423:1615:87:0
VALUE

RV64

63:5655:4847:4039:3231:2423:1615:87:0
VALUE
BitsFieldAliasDescriptionTypeReset
RV32 [31:0]
RV64 [63:0]
VALUEValue ranges are allocated to dependent extensions, which specify the register state accessible via each `sireg*` register, for each `siselect` value.RWUNDEFINED_LEGAL

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.