← Home

stimecmph

Supervisor timer compare high

Address: 0x15D (349) · Privilege: S · Length: 32 · Writable · Defined by: RV32 and Sstc

Upper 32 bits of the `stimecmp` CSR.

Fields

31:2423:1615:87:0
TIME
BitsFieldAliasDescriptionTypeReset
[31:0]TIMEstimecmp.TIME[63:32]Upper 32 bits of the supervisor timer compare value.RWUNDEFINED_LEGAL

Software read

if (mode() != PrivilegeMode::M) {
  if (CSR[menvcfg].STCE == 1'b0 || CSR[mcounteren].TM == 1'b0) {
    raise(ExceptionCode::IllegalInstruction, mode(), $encoding);
  }
}
return CSR[stimecmp].TIME[63:32];

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.