← Home

mcycleh

High-half machine Cycle Counter

Address: 0xB80 (2944) · Privilege: M · Length: 32 · Writable · Defined by: RV32 and Sm · Indirect address: 64 · Indirect slot: 4

High-half alias of `mcycle`.

Fields

31:2423:1615:87:0
COUNT
BitsFieldAliasDescriptionTypeReset
[31:0]COUNTAlias of upper half of `mcycle.COUNT`.RW-RHUNDEFINED_LEGAL

Software read

# since the counter may be shared among harts, reads must be handled
# as a builtin function
return read_mcycle()[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.