Question: When a CPU writes to the cache, both the item in the cache and the corresponding item in the memory must be updated. If data is not in the cache, it must be fetched from memory and loaded in the cache. If ti is the time taken to reload the cache on a miss, show that the effective average access time of the memory system is given by
tave = htc + (1 - h)tm + (1 - h)t1