directemapped
Direct-mapped cache is a cache organization in which each block of main memory maps to exactly one cache line. It is the simplest form of cache and contrasts with set-associative and fully associative caches, which allow a memory block to reside in multiple possible cache locations.
In a direct-mapped cache, the address is divided into three parts: the tag, the index, and the
Advantages of direct mapping include low hardware cost and fast access times due to the straightforward lookup
Disadvantages center on potential conflict misses. Because every memory block has only one possible cache line,
In practice, direct-mapped caches are often used for level 1 data caches in conjunction with larger, more