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

Number of blocks in main memory is 4M and number of blocks in cache memory is 4K. If a cache tag directory entry contain 1 valid bit and 1 modified bit along with the address tag, then the size of cache tag directory (in KB) is ___________for fully - associative cache mapping.

A
11
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
B
13
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
C
12
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
14
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
Open in App
Solution

The correct option is C 12
option (b)

In fully associative mapping


If no. of blocks in main memory=4M=222

then main memory block number=log2(222)=22bits

1 cache tag directory entry size
= 22 + 1 + 1 = 24-bits = 3B

Cache tag directory size
= number of blocks in cache * 1 entry size

= 4K * 3B

=12KB

flag
Suggest Corrections
thumbs-up
0
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