mhpmevent17
Machine Hardware Performance Counter 17 Control
Programmable hardware performance counter event selector <% if ext?(:Sscofpmf) %> and overflow/filtering control<% end %>
Field Summary
Name | Location | Type | Reset Value |
---|---|---|---|
63 |
[when,"HPM_COUNTER_EN[17]"] RW-H [when,"!(HPM_COUNTER_EN[17])"] RO |
[when,"HPM_COUNTER_EN[17]"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[17])"] 0 |
|
62 |
[when,"HPM_COUNTER_EN[17]"] RW [when,"!(HPM_COUNTER_EN[17])"] RO |
[when,"HPM_COUNTER_EN[17]"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[17])"] 0 |
|
61 |
[when,"HPM_COUNTER_EN[17] && implemented?(ExtensionName::S && CSR[misa].S == 1’b1)"] RW [when,"!HPM_COUNTER_EN[17] && implemented?(ExtensionName::S && CSR[misa].S == 1’b1)"] RO |
[when,"(HPM_COUNTER_EN[17] && implemented?(ExtensionName::S))"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[17] && implemented?(ExtensionName::S))"] 0 |
|
60 |
[when,"HPM_COUNTER_EN[17] && implemented?(ExtensionName::U && CSR[misa].U == 1’b1)"] RW [when,"!HPM_COUNTER_EN[17] && implemented?(ExtensionName::U && CSR[misa].U == 1’b1)"] RO |
[when,"(HPM_COUNTER_EN[17] && implemented?(ExtensionName::U))"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[17] && implemented?(ExtensionName::U))"] 0 |
|
59 |
[when,"(HPM_COUNTER_EN[17]) && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RW [when,"!(HPM_COUNTER_EN[17]) && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RO |
[when,"(HPM_COUNTER_EN[17] && implemented?(ExtensionName::H))"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[17] && implemented?(ExtensionName::H))"] 0 |
|
58 |
[when,"HPM_COUNTER_EN[17] && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RW [when,"!HPM_COUNTER_EN[17] && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RO |
[when,"HPM_COUNTER_EN[17]) && implemented?(ExtensionName::H"] UNDEFINED_LEGAL [when,"!HPM_COUNTER_EN[17]) && implemented?(ExtensionName::H"] 0 |
|
57:0 |
[when,"HPM_COUNTER_EN[17]"] RW [when,"!(HPM_COUNTER_EN[17])"] RO |
[when,"HPM_COUNTER_EN[17]"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[17])"] 0 |
Software write
This CSR may store a value that is different from what software attempts to write.
When a software write occurs (e.g., through csrrw), the following determines the written value:
OF = csr_value.OF MINH = csr_value.MINH SINH = csr_value.SINH UINH = csr_value.UINH VSINH = csr_value.VSINH VUINH = csr_value.VUINH EVENT = if (ary_includes?<$array_size(HPM_EVENTS), 58>(HPM_EVENTS, csr_value.EVENT)) { return csr_value.EVENT; } else { return UNDEFINED_LEGAL_DETERMINISTIC; }