This document provides an overview of cache memory, including its placement, addressing, levels, mapping methods, and interaction with main memory. Key points:
- Cache memory is high-speed SRAM located on or near the CPU that stores frequently accessed data from main memory for quick access by the processor.
- Caches are organized into multiple levels (L1, L2, L3) based on access speed and size, with L1 being fastest and smallest and L3 largest and slowest.
- Cache mapping determines where main memory blocks are placed in cache and includes direct, associative, and set associative methods. Direct mapping places each block in a single cache line.
- Cache hits