Hello, I want to implement an eager writeback mechanism in MOESI_CMP_directory-L2. The basic idea is to poll each cache set in a round-robin fashion and kick out the dirty blocks in LRU position. Since the SLICC keeps track of the block states and does not support loops, my questions are:
(1) Implement outside SLICC? For example, in CacheMemory.cc I can easily deallocate any cache block, but it is hard to modify the corresponding block states (in directories) and write the data back to memory if the block is dirty. (2) Implement inside SLICC? I can easily access directories and send blocks to the main memory, but it is hard to loop over all cache sets. Any thought would be appreciated. Thanks, Chao
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
