Presentation 5421 Content Document 20250306025428PM
Presentation 5421 Content Document 20250306025428PM
Memory Organization
Contents
• Memory Hierarchy
• Main Memory
• Auxiliary Memory
• Associative Memory
• Cache Memory
• Virtual Memory
• Memory Management Hardware
Introduction
Computer Memory Refers to electronics holding place for
instruction and data where the processor can reach
quickly.
• Hit ratio.
• When the CPU refers to memory and finds
the word in cache, it is said to produce a hit.
• If the word is not found in cache, it is in main
memory and it counts as a miss.
• The ratio of hits divided by the total CPU
references to memory is hit ratio.
MEMORY AND CACHE MAPPING
• Transformation of data from main memory to cache
memory is referred to as a mapping process.
• Three types of mapping procedures:
1. Associative Mapping
2. Direct Mapping
3. Set-Associative Mapping.
MEMORY AND CACHE MAPPING
Associative Mapping