Suppose a computer using set associative cache has 221 words of main memory and a cache of 64 blocks, where each cache block contains four words.
- 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?
- If this cache is 4-way set associative, what is the format of a memory address as seen by the cache?