[gem5-users] Re: Implementing Cache Replacement Policies

2020-10-28 Thread Daniel Carvalho via gem5-users
Hello, A few years ago I have implemented a few PC-reliant RPs for fun, but did not merge them upstream because I did not have time to fully test them. One day they shall see the light of day, though :) I don't remember what is required for the PC change in particular, but here are the changes

[gem5-users] Re: Implementing Cache Replacement Policies

2020-10-28 Thread Abhishek Singh via gem5-users
Hi, I think you should check already implemented policies in src/mem/cache/replacement_policies and then design yours taking that as an template/example. In order to get information which you mentioned, you might have to change/add arguments to accessBlock, findBlock, insertBlock, etc function in