Machine Hardware Performance Counter 12 Control, High half
Alias of `mhpmevent12`[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 | mhpmevent12.OF | Alias of mhpmevent12.OF. | if (HPM_COUNTER_EN[12]) {
return CsrFieldType::RWH;
} else {
return CsrFieldType::RO;
} | if (HPM_COUNTER_EN[12]) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [30] | MINH | mhpmevent12.MINH | Alias of mhpmevent12.MINH. | if (HPM_COUNTER_EN[12]) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if (HPM_COUNTER_EN[12]) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [29] | SINH | mhpmevent12.SINH | Alias of mhpmevent12.SINH. | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::S) && (CSR[misa].S == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::S)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [28] | UINH | mhpmevent12.UINH | Alias of mhpmevent12.UINH. | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::U) && (CSR[misa].U == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::U)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [27] | VSINH | mhpmevent12.VSINH | Alias of mhpmevent12.VSINH. | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H) && (CSR[misa].H == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [26] | VUINH | mhpmevent12.VUINH | Alias of mhpmevent12.VUINH. | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H) && (CSR[misa].H == 1'b1)) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if ((HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H)) {
return UNDEFINED_LEGAL;
} else {
return 0;
} |
| [25:0] | EVENT | mhpmevent12.EVENT[57:32] | High part of event selector for performance counter `mhpmcounter12`. | if (HPM_COUNTER_EN[12]) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
} | if (HPM_COUNTER_EN[12]) {
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.