← Home

vstimecmph

Virtual supervisor timer compare high

Address: 0x25D (605) · Privilege: VS · Length: 32 · Writable · Defined by: RV32 and H and Sstc · Virtual address: 349

Upper 32 bits of the `vstimecmp` CSR.

Fields

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

Software read

if (CSR[menvcfg].STCE == 1'b0 || CSR[mcounteren].TM == 1'b0) {
  raise(ExceptionCode::IllegalInstruction, mode(), $encoding);
} else if (CSR[henvcfg].STCE == 1'b0 || CSR[hcounteren].TM == 1'b0) {
  raise(ExceptionCode::VirtualInstruction, mode(), $encoding);
}
return CSR[vstimecmp].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.