Cache coherence system

141 views
Skip to first unread message

Rafael B. Tonetto

unread,
Dec 14, 2016, 1:57:29 PM12/14/16
to riscv-boom
Hi, Mr. Celio.

I have some doubts:

1) What's the BOOM's cache coherency system? Is it parameterizable? 

2) If so, should I change just the 'cache.scala' file? I can see that in that file there's something like "val logic = new RandomReplacement(n_ways)" about line 70.

3) Is there any way to force the dcache to flush it's data through the C++ emulator?

 
Thanks a lot!

Christopher Celio

unread,
Dec 20, 2016, 5:08:57 PM12/20/16
to riscv-boom
1. The cache coherence system is covered by the rocket-chip TileLink protocol (https://github.com/ucb-bar/rocket-chip). Some possibly outdated documentation is linked to here (http://bar.eecs.berkeley.edu/projects/2014-tilelink.html). 

2. You can try, but something like "randomreplacement" is handling how to replace which way gets evicted; nothing to do with cache coherence.

3. No, there is no way to force a D$ flush. 
Reply all
Reply to author
Forward
0 new messages