Question: Q5 For a direct-mapped cache design with a 64-bit address, the following bits of the address are used to access the cache. Tag Index Offset
Q5
For a direct-mapped cache design with a 64-bit address, the following bits of the address are used to access the cache.
| Tag | Index | Offset |
| 6310 | 95 | 40 |
5.1 What is the cache block size (in words)?
5.2 How many blocks does the cache have?
5.3 What is the ratio between total bits required for such a cache implementation over the data storage bits?
Beginning from power on, the following byte-addressed cache references are recorded.
| Address | ||||||||||||
| Hex | 00 | 04 | 10 | 84 | E8 | A0 | 400 | 1E | 8C | C1C | B4 | 884 |
| Dec | 0 | 4 | 16 | 132 | 232 | 160 | 1024 | 30 | 140 | 3100 | 180 | 2180 |
5.4 Foreachreference,list(1)itstag,index,ando set,(2)whether it is a hit or a miss, and (3) which bytes were replaced (if any).
5.5 What is the hit ratio? 5.6 List the final state of the cache,with each valid entry represented as a record of
For example, <0, 3, Mem[0xC00]-Mem[0xC1F]>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
