Answer on Question #45245 – Engineering - Other
A 4-way set-associative cache memory unit with a capacity of 16 KB is built using a block size of 8 words. The word length is 32 bits. The size of the physical address space is 4 GB. The number of bits for the TAG field is
Solution
Physical address size = 32 bits.
Cache size = 16k bytes = Bytes.
Block size = 8 words = 8 · 4 Byte = 32 Bytes (where each word = 4 Bytes).
No. of blocks = .
Block offset = 9 bits.
No. of sets = .
Set offset = 7 bits
Byte offset = 8 · 4 Bytes = 32 Bytes = = 5 bits.
Answer: 20 bits.
www.AssignmentExpert.com
Comments
Dear Sujata Roy, You're welcome. We are glad to be helpful. If you liked our service please press like-button beside answer field. Thank you!
Thanks.