Hi Giannis,

This is a great question. I'm not certain for the base set associative
caches whether they support non power of two associativities. However,
Daniel recently generalized the indexing policies to make it possible to do
skewed caches. I would imagine that you could similarly extend the new
interface to support non power of two associativity (if it isn't already
supported). See
https://gem5.googlesource.com/public/gem5/+/master/src/mem/cache/tags/indexing_policies
for
more details.

Cheers,
Jason

On Thu, Jul 11, 2019 at 10:00 AM Ioannis Konstantinou <
[email protected]> wrote:

> Hello everyone,
> I just noticed that I can't run simulation with not power of 2 associative
> caches but I want to run with all the possible associativities(ex.
> 1,2,3,4,5 etc) for my analysis. Is this possible by modifying the source
> code?
> Thanks in advance for your help
> Giannis
> _______________________________________________
> 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