Question: Cache Layout: Given a 16KB direct mapped, write-back I cache and a 32KB 4-way set-associative, write-back D cache, both with 32 byte blocks (a) Calculate

Cache Layout:

Given a 16KB direct mapped, write-back I cache and a 32KB 4-way set-associative, write-back D cache, both with 32 byte blocks

(a) Calculate the number of tag,index and offset bits for the I cache.

(b) How many bits are needed to implement the I cache? Hint : Dont forget all the bookkeeping bits (e.g., valid, LRU, etc.).

(c) Calculate the number of tag,index and offset bits for the D cache.

(d) How many bits are needed to implement the D cache?

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!