Machine Hardware Performance Counter 25 Control, High half
Alias of `mhpmevent25`[63:32].
Introduced with the `Sscofpmf` extension. Prior to that, there was no way to access the upper 32-bits of `mhpmevent#{hpm_num}`.
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OF | MINH | SINH | UINH | VSINH | VUINH | EVENT | |||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [31] | OF | mhpmevent25.OF | Alias of mhpmevent25.OF. | if (HPM_COUNTER_EN[25]) {
return CsrFieldType::RWH;
} else {
return CsrFieldType::RO;
} | if (HPM_COUNTER_EN[25]) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [30] | MINH | mhpmevent25.MINH | Alias of mhpmevent25.MINH. | if (HPM_COUNTER_EN[25]) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if (HPM_COUNTER_EN[25]) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [29] | SINH | mhpmevent25.SINH | Alias of mhpmevent25.SINH. | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::S) && (CSR[misa].S == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::S)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [28] | UINH | mhpmevent25.UINH | Alias of mhpmevent25.UINH. | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::U) && (CSR[misa].U == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::U)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [27] | VSINH | mhpmevent25.VSINH | Alias of mhpmevent25.VSINH. | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::H) && (CSR[misa].H == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::H)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [26] | VUINH | mhpmevent25.VUINH | Alias of mhpmevent25.VUINH. | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::H) && (CSR[misa].H == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[25]) && implemented?(ExtensionName::H)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [25:0] | EVENT | mhpmevent25.EVENT[57:32] | High part of event selector for performance counter `mhpmcounter25`. | if (HPM_COUNTER_EN[25]) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if (HPM_COUNTER_EN[25]) {
return UNDEFINED_LEGAL;
} 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.