This assignment is due in class on Tuesday, 8 April.
The task
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, 23DABA42
, into
its tag, set, and block offset fields for each of these three cache structures.