Replies: 2 comments 5 replies
-
Hey @mahdi259. How can I help you? Do want to benchmark the efficiency of a certain cache configuration? The CPU features some "hardware performance monitors" (HPMs) which can be used to count certain events like instruction fetch wait cycles (see 📚 Hardware Performance Monitors (HPM) CSRs). Unfortunately, we do not (yet?) have HPM events for cache misses. However, there are some HPM events that can give some insights about cache efficiency:
|
Beta Was this translation helpful? Give feedback.
-
I use neorv32_tb in which Icache and Dcache are enabled and there is an external memory. Block numbers * block sizes are as below: |
Beta Was this translation helpful? Give feedback.
-
Hi @stnolting
Can I ask you guide me about analyzing cache activity of a sample program?
Beta Was this translation helpful? Give feedback.
All reactions