Webcentive RISC-V Reference

sscratch

Supervisor scratch register

Address
0x140
Group
Supervisor-level CSRs
Privilege
SRW (privileged spec CSR listing, Supervisor Trap Handling)
Access
read/write; lowest privilege S (supervisor)
Address range
Standard read/write
Name in riscv-unified-db
Supervisor Scratch Register

Privileged spec: Supervisor scratch register

Description

Scratch register for software use. Bits are not interpreted by hardware.

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
SCRATCHRV32 31-0 / RV64 63-0RW

Scratch value

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages