Question: Suppose we have a 8 GB memory that is byte addressable, and a 1 MB cache with 2 5 6 bytes per block. a )

Suppose we have a 8 GB memory that is byte addressable, and a 1 MB cache with 256 bytes per block.
a) If the cache is direct-mapped, what would be the format (tag bits, cache line bits, block offset bits) of the address?
b) If the cache is fully-associative, what would be the format of the address?
c) If the cache is 8-way associative, what would be the format of the address?

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!