-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L2 cache refill #56
Comments
Hi, scope.add(l2.cache.logic.cache.events.acquire.miss, 0xF04) will add a counter which will count cache refills triggered by d$ You want to combine the two ?
yes
Yes |
Is it possible add an L2 Data cache refill counter within |
I don't understand
You can create a unified counter by doing : scope.add(l2.cache.logic.cache.events.acquire.miss.pull() || l2.cache.logic.cache.events.getPut.miss.pull(), 0xF30) |
thank you so much :) i was wondering about L2 cache refill counter below seems like miss counter only
|
1 miss => 1 refill (for the current config), so they are the same |
Will it be possible to measure L2 miss counter of specific core from L2 cache ? |
Ahhh yes it is. i reworked the Scope stuff a bit, here it is : |
Thank you so much :) May be it will nice to update the picture in L2 cache in documentation so it will be easy to understand any user How does L2 cache is working. like we now have like MSHR (miss status holding register ) from each core in L2 cache. https://spinalhdl.github.io/NaxRiscv-Rtd/main/NaxRiscv/memory/index.html |
Those are very very experimental things, just for the SoC simulation, it may change soon, not sure it is good to document them, until there is a good final version. |
Dear Charles,
How do I add an L2 Data cache refill counter within
withL2
block ?I guess this is for L1 cache
In addition to the L2 cache miss counter, is SCOPE_HART_DCACHE_REFILL for L1 Dcache inside ext/NaxSoftware/baremetal/socdemo ?
Thank you so much :)
The text was updated successfully, but these errors were encountered: