Question: [ 8 4 points ] Given a single - level 2 - way set associative cache, which has 2 cache sets in total, and each
points Given a singlelevel way set associative cache, which has cache sets in total, and each cache block size is bytes. Assume the address is bits wide.
a points How many bits of the address are used for the tag bits, set index bits, and byte offset bits, respectively?
b points Assume initially the cache is empty, ie all cache lines are invalid. Assume we use an LRU Least Recently Used cache replacement policy: when there is no empty cache block in the cache set, a cache block that is least recently used will be selected as the victim
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
