Supervisor timer compare
Supervisor timer compare register.
When `menvcfg.STCE` is set, `stimecmp` is operational and provides supervisor mode with a CSR-based timer interrupt facility.
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TIME | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [63:0] | TIME | Time compare value for supervisor timer interrupts. | RW | UNDEFINED_LEGAL |
if (mode() != PrivilegeMode::M) {
if (CSR[menvcfg].STCE == 1'b0 || CSR[mcounteren].TM == 1'b0) {
raise(ExceptionCode::IllegalInstruction, mode(), $encoding);
}
}
return CSR[stimecmp].TIME;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.