CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged. Which of the following is guaranteed to be not affected?

Open in App
Solution

(D)
Since block size is unchanged, number of bits in block offset will remain unchanged. As, associativity of cache is doubled, number of lines in one set is doubled, number of sets reduces to half, number of bits in set number decreases by 1 and number of bits in tag increments by 1. All this results in the decrease in the width of set index decoder and increase in the width of tag comparator. As, Associativity and number of lines are doubled then new associativity of cache will be 2K. To handle this new associativity, size of multiplexers must be 2K×1. So, width of way selection multiplier also increases. Only the width of processor to main memory data bus remains unchanged because it depends on the number of bits in block offset which is unchanged here. It has nothing to do with cache associativity.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Cache Address Mapping: Associative Mapping 1
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon