Question: The 1 0 8 8 words constitute 6 8 blocks, occuping blocks 0 to 6 7 in the memory. The cache has space for 6
The words constitute blocks, occuping blocks to in the memory. The
cache has space for blocks. Hence, after blocks have been read
from the memory into the cache on the first pass, the cache is full. The next four
blocks, numbered to map to sets and Each of them will replace
the least recently used cache block in its set, which is block During the second
pass, memory block has to be reloaded into set of the cache, since it has been
overwritten by block It will be placed in the least recently used block of set at
that point, which is block Next, memory blocks and will replace block of
sets and in the cache, respectively. Memory blocks to will be found in the
cache. Memory blocks to which were in block location of sets to have
now been overwritten, and will be reloaded in block location of these sets.
How do we know that there are four sets
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
