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

satp

T1 riscv register register
Supervisor Address Translation and Protection
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (S)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeS
ExtensionsS

Summary

Controls the translation mode in (H)S-mode and U-mode, and holds the current ASID and page table base pointer.

Syntax / Encoding

CSR 0x180 (S-mode, RW)

Bitfields (3)

BitsFieldDescription
63:60MODE*Translation Mode* Controls the current translation mode according to the table below. [separator="!",%autowidth] ! Value ! Name ! Description ! 0 ! Bare a! No translation -> virtual address == physical address <%- if ext?(:Sv39) -%> ! 8 ! Sv39 ! 39-bit virtual address translation <%- end -%> <%- if ext?(:Sv48) -%>
59:44ASID*Address Space ID* [RV32: 30:22, RV64: 59:44]
43:0PPN*Physical Page Number* The physical address of the active root page table is PPN << 12. Can only hold values that correspond to a valid page table base, which will be implementation-dependent. [RV32: 21:0, RV64: 43:0]