This assignment is due in class on Tuesday, 8 April.
Suppose a computer has 32-bit addresses. Draw how addresses are broken into tag, set (if any), and block offset fields for a 8 M byte cache for the following cache structures.
- A direct cache with blocks of size 128 bytes
- An 8-way cache with blocks of size 32 bytes
- A fully associatve cache with blocks of size 1024 bytes
Break down the 32-bit address,
its tag, set, and block offset fields for each of these three cache structures.