Cache Corruption by Gem5

Hello

      I need to access data in cache and manipulate it for injecting fault into application. I am working on the research project about fault tolerance in hpc and need to observe cache level data . I would like to get your help and your suggestion about it. I will be grateful if you can help me?
Best
Emin Ozturk
Ohio State University

Answer From Jason !!!!

Hi Emin,

You can start by looking at the cache code in src/mem/cache. It should be pretty obvious where the data is stored (e.g., see line 77 in cache.hh). If you wanted to randomly corrupt some data, you could add a new event that fires at a random interval and chooses a block to corrupt, as an example.
Hopefully this gets you started on the right path.
Jason
To understand Event in Gem5 please look at shared link below.