Hello,

The classic cache in gem5 (src/mem/cache and Cache()) is always
non-inclusive (i.e., it is neither inclusive nor exclusive). You can set
whether it is "mostly-inclusive" or "mostly-exclusive" as a parameter to
the Cache SimObject. If the cache is "mostly-exclusive" it will not fill on
a miss from a cache closer to the CPU (and the opposite for a
mostly-inclusive). Thus, if you want a mostly-exclusive cache, the caches
closer to the CPU should set the "writeback_clean" parameter to true (and
to false if the further cache is mostly-inclusive).

Jason

On Fri, Jul 14, 2017 at 3:16 AM Muhammad Avais <[email protected]>
wrote:

> Dear all,
>
>                      Gem5 supports 'Mostly exclusive' cache. How can i
> modify code to make it non exclusive cache.
>
> I think i can do it by removing maintainClusivity() function from cache.cc
> file
>
> Can someone comment, how to do it
>
>
>
> Many Thanks
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to