Question discussion

A direct-mapped cache of 64 KB with 32-byte blocks is used in a system with 32-bit addresses. The number of tag bits is

1383Medium DSSSB TGT Computer Science 0 replies 1 views
0

A direct-mapped cache of 64 KB with 32-byte blocks is used in a system with 32-bit addresses. The number of tag bits is

  • A15
  • B17
  • C16
  • D21
Correct answer: C

Explanation

Block offset = 5 bits, number of lines = 64 KB/32 B = 2048 so index = 11 bits, and tag = 32 − 11 − 5 = 16 bits.

Discussion 0

Nobody has replied yet. Start the discussion!