Question: 10. For a direct-mapped cache design with a 32-bit address, the following bits of the address are used to access the cache. Tag Set Block

10. For a direct-mapped cache design with a 32-bit address, the following bits of the address are used to access the cache.

Tag Set Block Offset Byte Offset
31-10 9-5 4-2 1-0

a. What is the cache block size?

b. How many blocks does the cache have?

c. What is the cache capacity?

d. Starting from power on, the following word-addressed cache references are recorded. 0, 4, 16, 132, 140, 160, 12, 164 i. How many blocks are replaced? j. What is the hit ratio, assuming the cache is initially empty?

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 Databases Questions!