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

sctrstatus

T1 riscv register register
Supervisor Control Transfer Records Status
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (Smctr)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeS
ExtensionsSmctr

Summary

The sctrstatus register provides access to CTR status information and is updated by hardware whenever CTR is active.

Syntax / Encoding

CSR 0x14f (S-mode, RW)

Bitfields (2)

BitsFieldDescription
31FROZENWhen set, inhibits transfer recording.
7:0WRPTRWrite Pointer. Indicates the physical CTR buffer entry to be written next. Note: Bits above depth-1 are read-only zero depending on the configured CTR depth.