Question: For a direct - mapped cache with a 3 2 - bit address, the following bits of the address are used to access the cache.

For a direct-mapped cache with a 32-bit address, the following bits of the address are used to access the cache. Tag Index Offset 31-109-54-0 a) What is the cache block size (in words)? b) How many entries does the cache have? c) 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 00041084 E8 A04001E 8C C1C B4884 Dec 041613223216010243014031001802180 d) For each reference, list (1) its tag, index, and offset, (2) whether it is a hit or a miss, and (3) which bytes were replaced (if any).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!