Mod 5
Mod 5
Memory Organization
Course Outcome: Apply different memory mapping techniques in memory
organization
-Neha Surti
Characteristics of Memory
• Location
• Capacity
• Unit of transfer
• Access method
• Performance
• Physical type
• Physical characteristics
• Organization
Characteristics of Memory
• Internal
Location • External
Semiconductor - RAM
Physical Types Magnetic - Disk & Tape
Optical - CD & DVD
Transistors are used to store information in SRAM. Capacitors are used to store data in DRAM.
In this bit are stored in voltage form. In this bit is stored in the form of electric energy.
These are used in cache memories. These are used in main memories.
SRAM has higher data transfer rate DRAM has lower data transfer rate
SRAM is used in high-speed cache memory DRAM is used in lower-speed main memory
Memory Hierarchy
Cache Memory
Cache/Main Memory Structure
Cache Mapping Techniques
Set-
Direct Associative
Associative
Mapping Mapping
Mapping
Cache Mapping
Direct Memory Mapping
Direct Memory Mapping
Direct Memory Mapping
Direct Memory Mapping
Direct Memory Mapping
Direct Memory Mapping
Associative Mapping
Set Associative Mapping
Cache coherence
• Caches in multiprocessing environment introduce the cache coherence problem.
• In a shared memory multiprocessor with a separate cache memory for each processor, when
multiple processors maintain locally cached copies of a unique-shared memory location, any
local modification of the location can result in globally inconsistent view of memory.
• Cache coherence schemes prevent this problem by maintaining a uniform state for each
cached block of data.
Associative Memory
• It is also known as content addressable memory (CAM)
Interleaved Memory
• It is an abstraction technique that divides memory into many modules such that successive
words in the address space are placed in different modules.
• Interleaved memory is designed to compensate for the relatively slow speed of dynamic
random-access memory (DRAM) or core memory by spreading memory addresses evenly
across memory modules.
• Types of Interleaved Memory
• High order interleaving-
MSB of the memory address decides memory banks where a particular location resides.
• Low order interleaving-
LSB of the memory address decides memory banks where a particular location resides.
Thank You