Question: There is a 6 4 bytes two - way set associative data cache array where each cache block contains 8 bytes on a 1 6
There is a bytes twoway set associative data cache array where each cache block contains bytes on a bit processor. Assume a true LRU replacement policy. Assume that the cache is initially empty all valid bits are zero Suppose we are accessing the memory locations in the order of
M H M M M M M H
a How many index bits, offset bits, and tag bits are there?
b How many of these address requests are hitsmisses
c What is the hit ratio? Hint: you need to compute the number of sets first
d How many blocks are replaced?
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
