A cache is a small, fast memory between the processor and main memory that holds copies of recently used blocks (also called lines) of main memory. The processor sends every address to the cache first.
Short notes10 min read
A cache holds far fewer blocks than main memory, so many memory blocks must share each cache location. The mapping function decides where a memory block may be placed, and therefore how the cache finds it again.
Short notes10 min read
One-page visual sheets for this topic, in the sheet library on the store. Previews are free; the full sheets come with the subject pack.
Cheat sheets3 sheets