Cache Organizations
  • Direct mapped
    • A memory block can be placed in only one cache line.
    • (Block address) MOD (Number of blocks in cache)
  • Fully associative
    • A memory block can be placed in any cache line.
  • Set associative
    • A memory block can be placed in any cache line within a single set of lines.
    • (Block address) MOD (Number of sets in cache)
Chapter 7: Large and Fast: Exploiting Memory Hierarchy - 13 of 67