ACA-Lecture 14
ACA-Lecture 14
1. Introduction
Memory Hierarchy is a structure that organizes memory types in levels based on:
Cache is a small, high-speed memory placed between the CPU and RAM.
It stores frequently accessed data and instructions.
7. Types of Cache
• L1 Cache:
o Closest to CPU
o Smallest and fastest
• L2 Cache:
o Larger but slower than L1
o Often shared among cores
• L3 Cache:
o Even larger
o Shared among all CPU cores
a) Direct Mapping
b) Associative Mapping
c) Set-Associative Mapping
Ask students: