Question: Question #2 Consider a 32-byte direct mapped cache with 8-byte blocks. The cache is initially empty and receives the following 12-bit address (represented in hexadecimal).

 Question \#2 Consider a 32-byte direct mapped cache with 8-byte blocks.

Question \#2 Consider a 32-byte direct mapped cache with 8-byte blocks. The cache is initially empty and receives the following 12-bit address (represented in hexadecimal). 004,005,068,0C8,068,0DD,045,004,0C8 (a) Draw the detailed cache block diagram. Specify which parts of the 12-bit physical address are used for tag, block index, and byte offset. (b) In your cache, what will be the tags at the end of the sequence? Assume that cache is initially empty. Determine hit ratio and show the final states of the cache (including tag bits and valid bit). Show all of your work to get full credit. (c) Determine the total size of the cache in bits including the tag and valid bit

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!