Hi,

I'd like to implement a cache flushing mechanism to writeback dirty lines
to memory in classic cache model. I am using timing memory model, but
currently don't care about getting the correct timing. As a first step, I
would like to get the correct functionality without worrying about timing
(i.e., all writebacks happen instantly). To implement it, I am thinking of
iterating through all lines and then write back the dirty ones using
functional accesses. I don't know if a similar mechanism is already
implemented or if there is a better way to implement cache flushing?
Overall, any insights on this would be appreciated.

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

Reply via email to