stimecmp
Supervisor timer compare
- Address
0x14D- Group
- Supervisor-level CSRs
- Privilege
SRW(privileged spec CSR listing, Supervisor Timer Compare)- Access
- read/write; lowest privilege S (supervisor)
- Address range
- Standard read/write
- Name in riscv-unified-db
- Supervisor timer compare
Privileged spec: Supervisor timer compare
Description
Supervisor timer compare register.
When menvcfg.STCE is set, stimecmp is operational and provides
supervisor mode with a CSR-based timer interrupt facility.
From riscv-unified-db, reformatted.
Fields
| Field | Bits | Type | Description |
|---|---|---|---|
TIME | 63-0 | RW | Time compare value for supervisor timer interrupts. |
Fields from riscv-unified-db; field types computed by IDL functions there are not shown.
Specification and related pages
- The RISC-V Instruction Set Manual, Volume II: CSR listing (src/priv/csrs.adoc)
- riscv-opcodes csrs.csv
- riscv-unified-db: spec/std/isa/csr/Sstc/stimecmp.yaml
- csrrw, csrrs, csrrc (Zicsr instructions that access CSRs)