Forum Discussion
Altera_Forum
Honored Contributor
13 years agoExtracting cache hits/misses
Hi, I need to know the cache hit and miss count for a program running on a NIOS II core. I have made attempts at doing this through hardware, which is hindered by the core being encrypted, Sign...
Altera_Forum
Honored Contributor
13 years agoAn I-cache miss count can obviously be determined by monitoring the instruction port's avalon master cycles.
You might be able to something similar for the data cache, slightly more compex due to uncached requests. The ration of cache misses to clocks might be useful - if not exactly what you are looking for.