Question: 7. A CPU can address 16 MiB of main memory. It has a direct-mapped cache in which it stores 256 eight-byte cache lines. (a) How
7. A CPU can address 16 MiB of main memory. It has a direct-mapped cache in which it stores 256 eight-byte cache lines.
(a) How many bits are required for a memory address?
(b) How many bits are required for the Byte field of the address?
(c) How many bits are required for the Line field of the address?
(d) How many bits are required for the Tag field of the address?
(e) How many bits are required for the Data field of each cache entry?
(f) How many bits total are required for all the fields of one cache entry? (g) How many bits total are required for the entire cache?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
