wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider a direct mapped cache of size 32KB with block size 32 bytes. The CPU generates 32 bit addresses. The number of bits needed for cache indexing and the number of tag bits are respectively

A
10,17
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
10,22
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
15,17
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
5,17
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 10,17
Size of cache=32KB
=32×210byte=25×210byte
=215byte=15bits

Size of tag=3215=17bits
Cache index=LOWO=155=10bits

flag
Suggest Corrections
thumbs-up
12
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
The Tripartite Struggle for Kannauj
HISTORY
Watch in App
Join BYJU'S Learning Program
CrossIcon