8. Suppose a computer using set associative cache has 2^21 words of main memory and a cache of 64 blocks, where each cache block contains 4 words.
a) If this cache is 2-way set associative, what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, set, and word fields?
b) If this cache is 4-way set associative, what is the format of a memory address as seen by the cache?
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.