Example: 1KB Direct Mapped Cache with 32B Blocks
For a 1024 (210) byte cache with 32-byte blocks:
- The uppermost 22 = (32 - 10) address bits are the Cache Tag
- The lowest 5 address bits are the Byte Select (Block Size = 25)
- The next 5 address bits (bit5 - bit9) are the Cache Index