Cache Memory Design

If a memory location is accessed, it is likely to be accessed again soon by keeping recently accessed data close to the processor

Untitled

Architecture

Cache is a memory- it has rows and columns

Example Cache

4 lines and 4 words/line

Untitled

Where in the cache can a given main memory block reside?

How do we know if the block (i.e., memory words) that the processor wants to access is already in the cache?