Question: Suppose we have a 4 KB direct - mapped data cache with 4 - byte blocks. a ) Show how a 3 2 - bit

Suppose we have a 4 KB direct-mapped data cache with 4-byte blocks. a) Show how a 32-bit memory address is divided into tag, index and offset. Show clearly how many bits are in each field. (10 points) b) How many total bits are there in this cache? (10 points) c) Consider this address trace: 0x480145540x480145480x480147540x480347600x480145540x480145600x480147600x48014554 For this cache, for each address in the above trace, show the tag, index and offset in binary (or hex). Indicate whether each reference is a hit or a miss. What is the miss rate? (15 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Divide the 32bit memory address into tag index and offset fields Calculate the offset bits With a 4byte block size the offset will be 2 bits because ... View full answer

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!