SLIDE 1
Write Back – Write Allocate Cache – Write Reference
Check tag and index Tag AND Index are in cache Miss Hit Write it in. Mark dirty. Memref – Yes Update Cache - Yes Memref – No Update Cache – Yes Mark dirty No Yes Is there room in cache? Find the Least Recently Used Reference with the same index. Was there a previous write to the LRU reference? Replace the LRU
- reference. Mark dirty.