gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Victim Cache Block

R
rajeswarips1997@gmail.com
Wed, Jun 5, 2024 1:26 PM

Hello everyone,

I have a task which implements an array that stores victim cache blocks. When a miss occurs, it should first check the victim cache block array, and if it is a hit, the request should be served from the array. If it is a miss in the victim cache block array, then the normal execution is expected. I am looking to implement this in Ruby cache memory. While I have managed to store the victim cache blocks using the CacheProbe() function in the CacheMemory.cc file under Ruby, I am still unclear about the appropriate approach to take. Any guidance on this matter would be greatly appreciated.

Thank you.

Rajeswari

Hello everyone, I have a task which implements an array that stores victim cache blocks. When a miss occurs, it should first check the victim cache block array, and if it is a hit, the request should be served from the array. If it is a miss in the victim cache block array, then the normal execution is expected. I am looking to implement this in Ruby cache memory. While I have managed to store the victim cache blocks using the CacheProbe() function in the CacheMemory.cc file under Ruby, I am still unclear about the appropriate approach to take. Any guidance on this matter would be greatly appreciated. Thank you. Rajeswari