Question: 1 Set - associative Cache Given a 2 MB 4 - way cache with 3 2 - Byte cache lines; assume memory addresses are 3

1 Set-associative Cache
Given a 2MB 4-way cache with 32-Byte cache lines; assume memory addresses are 32 bits, please answer the following questions. (50 pts )
1. How many sets are there?
2. How many bits are needed for offset?
3. How many bits are needed for set index?
4. How many bits are there for the tag?
5. Given a memory address \(0\times B F F 1 F 54 D \), which set does it map to? What are its tag and offset?
1 Set - associative Cache Given a 2 MB 4 - way

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!