Question: 7. Assume that each memory address of a computer system can address up to SG bytes. The memory location is byte addressed. Suppose we use

7. Assume that each memory address of a computer system can address up to SG bytes. The memory location is byte addressed. Suppose we use a 64K-byte cache to improve the performance. The cache is organized in a way that each block consists of 32 bytes. (a) [656] Suppose the cache is direct mapped. Which bit fields of the address indicate the tag, the cache index, and the offset, respectively? (b) [6%] Suppose the cache is fully associative. Which bit fields of the address indicate the tag and the offset, respectively? (c) [6%] Suppose the cache is 4-way set associative. Which bit fields of the address indicate the tag, the cache index, and the offset, respectively
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
