recategorized by
3,598 views
1 votes
1 votes

Consider a machine with a byte addressable main memory of $2^{16}$ bytes block size of $8$ bytes. Assume that a direct mapped cache consisting of $32$ lines used with this machine. How many bits will be there in Tag, line and word field of format of main memory addresses?

  1. $8,5,3$
  2. $8,6,2$
  3. $7,5,4$
  4. $7,6,3$
recategorized by

1 Answer

5 votes
5 votes

Physical address = $16$ bits

Block Size= $8B$, word offset= $3$ bits

Number of blocks in cache = $32$, cache offset = $5$ bits

TAG bits= $16-5-3=8$ bits

Option A) is correct

Answer:

Related questions

1 votes
1 votes
2 answers
2