Hello everyone,

I am working on cache replacement policies using the classic memory model,
I was using a gem5 version from April but I have a problem because one
Parsec benchmark (canneal) finish incorrectly with LRU based policies.

I tested an updated version of gem5 (the version from today) and the
benchmark works perfectly, I tried to implement all my policies into the
new version of the simulator but I see that the way the cache replacement
policies were definied have changed.

There is not builder.cc, I the old versions I added a new variable in src/
mem/cache/BaseCache.py (replPolicy = Param.String("LRU", "")) and I used
that variable in src/mem/cache/builder.cc. Could somebody tell me how can I
add a new cache replacement policy in the new simulator version?

​Thanks in advance

             Roberto
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to