Hi all

When I use --debug-flag=Cache in gem5, I see "data" parameter in trace file as 
below

-----------694000: system.l2: Block addr 1140 moving from state 0 to state: 7 
(E) valid: 1 writable: 1 readable: 1 dirty: 0 tag: 45 data: a1

I have read in mem/cache/blk.hh that "data" is a pointer to an unit8 variable, 
what is this "data"?Is it a pointer to an array of uint8_t with 64 element  
that stores actual data?If no how can I trace actual data of cache? 
In above trace file "data" always has 8 bits width as expected! because it 
refers to the first element of the mentioned array (see mem/cache/blk.h print 
function).

Thank you in advance for your help and your time

Mohamad Jokar
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to