[gem5-users] L2 stores data or instruction

2018-01-18 Thread Muhammad Avais
Dear All, Is there any way to know that block in L2 cache stores data or instruction? Many Thanks Best Regards Avais ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] L2 stores data or instruction

2018-01-18 Thread Nikos Nikoleris
Hi Avais, If I am not missing something, it should be quite easy to mark the blocks that are filled due to an instruction fetch. You would first need to add the relevant flag in the CacheBlk class and set the flag in the Cache::handleFill if pkt->req->isInstFetch(). Make sure that you initialize

Re: [gem5-users] L2 stores data or instruction

2018-01-18 Thread Muhammad Avais
Dear Nikos, Many thanks, I will do accordingly, Best Regards Avais On Thu, Jan 18, 2018 at 8:29 PM, Nikos Nikoleris wrote: > Hi Avais, > > If I am not missing something, it should be quite easy to mark the > blocks that are filled due to an instructio