Document HPM event 40 and external HPM events 41-50#8
Open
tejassinghbhati wants to merge 2 commits into
Open
Conversation
tejassinghbhati
force-pushed
the
agent/validate-external-hpm-config
branch
from
July 16, 2026 14:04
f666596 to
6071087
Compare
Document events 41-50 exposed via the EXTERNAL_HPM_EVENT_NUM macro, as requested in PR review. Documentation-only change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EXTERNAL_HPM_EVENT_NUMcompile-time macro, including which configurations (4, 6, 10) expose each eventWhy
top_drac.svmapspmu_flags.stall_irto HPM event 40, whileevents.mdpreviously stopped at event 39. In addition, the external PMU/HPM events
wired in via
EXTERNAL_HPM_EVENT_NUM(L2/L1.5 access and miss, NOC flow andstall events) were undocumented. Per review feedback on #7, the
configuration-validation RTL was dropped and only the documentation is kept.
Impact
Users configuring hardware performance counters can identify and select the
register-rename stall event and the external L2/L1.5/NOC events correctly.
Validation
rtl/top_drac.sv(events 41-44 for any supported width, 45-46 for width 6,45-50 for width 10)
Related to #7