computer-architecture memory

Definition

Direct-Mapped Cache

A direct-mapped cache is a cache in which each block of main memory maps to exactly one cache set, and each set contains exactly one block. So for each memory block, there is only one possible location in the cache.

A direct-mapped cache is therefore a special case of a set-associative cache with associativity .

Hardware

Example

Unique location per memory address