mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-23 13:27:10 -04:00
[doc] Add a comment on mhpmcounter optimization
- fixes #473 Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
parent
088cd11593
commit
b2bbe50704
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ The performance counters are placed inside the Control and Status Registers (CSR
|
|||
Ibex implements the clock cycle counter ``mcycle(h)``, the retired instruction counter ``minstret(h)``, as well as the 29 event counters ``mhpmcounter3(h)`` - ``mhpmcounter31(h)`` and the corresponding event selector CSRs ``mhpmevent3`` - ``mhpmevent31``, and the ``mcountinhibit`` CSR to individually enable/disable the counters.
|
||||
``mcycle(h)`` and ``minstret(h)`` are always available and 64 bit wide.
|
||||
The ``mhpmcounter`` performance counters are optional (unavailable by default) and parametrizable in width.
|
||||
To ensure that the ``mhpmcounter`` registers are optimized away when not required, some synthesis tools might need extra settings (e.g. increasing the "effort" to high).
|
||||
|
||||
Event Selector
|
||||
--------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue