Machine Hardware Performance Counter 11, Upper half
Upper half of mhpmcounter11.
The `hpmcounter11h` CSR is a read-only shadow of this CSR. Access to `hpmcounter11h` is controlled with `mcounteren.HPM11`
, `scounteren.HPM11`
, and `hcounteren.HPM11`
as follows:
.2+h![.rotate]#`mcounteren.HPM11`# .2+h! [.rotate]#`scounteren.HPM11`# .2+h! [.rotate]#`hcounteren.HPM11`# 4+^.>h! `hpmcounter11h` behavior .^h! S-mode .^h! U-mode .^h! VS-mode .^h! VU-mode
! 0 ! - ! - ! `IllegalInstruction` ! `IllegalInstruction` ! `IllegalInstruction` ! `IllegalInstruction` ! 1 ! 0 ! 0 ! read-only ! `IllegalInstruction` ! `VirtualInstruction` ! `VirtualInstruction` ! 1 ! 1 ! 0 ! read-only ! read-only ! `VirtualInstruction` ! `VirtualInstruction` ! 1 ! 0 ! 1 ! read-only ! `IllegalInstruction` ! read-only ! `VirtualInstruction` ! 1 ! 1 ! 1 ! read-only ! read-only ! read-only ! read-only
.2+h![.rotate]#`mcounteren.HPM11`# .2+h! [.rotate]#`scounteren.HPM11`# 2+^.>h! `hpmcounter11h` behavior .^h! S-mode .^h! U-mode
! 0 ! - ! `IllegalInstruction` ! `IllegalInstruction` ! 1 ! 0 ! read-only ! `IllegalInstruction` ! 1 ! 1 ! read-only ! read-only
.2+h![.rotate]#`mcounteren.HPM11`# ^.>h! `hpmcounter11h` behavior .^h! U-mode
! 0 ! `IllegalInstruction` ! 1 ! read-only
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COUNT | |||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [31:0] | COUNT | mhpmcounter11.COUNT[63:32] | Upper bits of counter. | return (HPM_COUNTER_EN[11]) ? CsrFieldType::RWH : CsrFieldType::RO; | return (HPM_COUNTER_EN[11]) ? UNDEFINED_LEGAL : 0; |
if (HPM_COUNTER_EN[11]) {
return read_hpm_counter(11)[63:32];
} else {
return 0;
}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.