UGC NET CS 2020Computer System Architecture › Memory HierarchyVerified
UGC NET CS 2020 PYQ: Consider a machine with a byte addressable main memory of $2^{16}$ bytes and block size of 8 bytes. Assume…
Consider a machine with a byte addressable main memory of $2^{16}$ bytes and block size of 8 bytes. Assume that a direct mapped cache consisting of 32 lines is used with this machine. How many bits will be there in Tag, line and word field of format of main memory addresses?
- A8,5,3Correct answer
- B8,6,2
- C7,5,4
- D7,6,3
Answer
(A) 8,5,3
Approach
Split a 16-bit address into tag, line and word fields for a direct-mapped cache.
Reviewed by UGC IQ Editorial Team.