| |||
| Home > Event Monitor > Cache controller event monitor | |||
The cache controller is delivered with an event monitor block template that is intended to be plugged onto the cache controller event bus. It can be reshaped by the licensee to meet their system requirements.
The addition of an event monitor block in a system that contains an ARM processor and a cache controller enables monitoring of events and errors in the RAMs that make up the cache controller. This information can be used to tune the overall system performance.
To optimize the performance of a system, the cache controller event monitor block provides four event counters, EMN0-EMN3. They can be used to count the instances of four different events selected from a list of possible external events, through the cache controller event bus, or internal events such as overflows or clock edges. Each counter is a 32-bit counter and has its own interrupt generation logic. By combining different statistics, you can obtain a variety of performance metrics.
The example system described in this Appendix has the following features:
one 32-bit monitor control register, EMMC
one 32-bit counter status register, EMCS
four 32-bit counter configuration registers, EMCC0-EMCC3
four 32-bit read-only event counters, EMC0-EMC3
AHB-Lite interface, for internal register accesses
ability to track the following events
CPU instruction read request to L210 cache
CPU instruction read hit in L210 cache
CPU data read request to L210 cache
CPU data read hit in L210 cache
CPU data write request to L210 cache, not write-through
CPU data write request to L210 cache, write-through
CPU data write hit in L210 cache
L210 buffered write abort
L210 cache half-line eviction, two events for one full-line eviction
allocation to the L210 caused by write transaction, write-allocate
error on data RAM read access
error on data RAM write access
error on tag RAM read access
error on tag RAM write access
parity error on data RAM read access
parity error on tag RAM read transaction.
intended to run at same speed as L210 block, 300Mhz target in 0.18µm process.
synchronous or asynchronous AHB-Lite interface.