Question: Consider a system using 29-bit main memory addresses. This memory is byte addressable. The system uses a direct mapped cache of 64 32-byte blocks. Use
Consider a system using 29-bit main memory addresses. This memory is byte addressable. The system uses a direct mapped cache of 64 32-byte blocks. Use the provided solutions to answer the questions below. a. What is the size of main memory in MB? b. Main memory contains how many cache-able blocks? (use a power of two: like 2^x) c. When considering how each main memory address maps into cache, how many bits are used for the tag? d. How many bits are needed for the offset? e. How many bits are needed to identify the cache block?
| Solutions |
|---|
| 18 |
| 8 |
| 5 |
| 6 |
| 4 |
| 2^29 |
| 2^13 |
| 512 |
| 1024 |
| 2^24 |
| 2^17 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
