MEMORY ORGANIZATION,
MEMORY HIERARCHY
EEE/DSDCA/SV 2
Computer
Input
Output
Control unit
Memory
ALU
EEE/DSDCA/SV 3
Topics :
Introduction
Memory organization
Memory hierarchy
Characteristics of memory systems
Main Memory design
Introduction
Memory Memory system
Integral part of computer Internal memory
system
Main memory
Store information needed by
Secondary memory
the system
Holds program and data
Memory design
Memory system cost
Organization
Storage capacity
Speed of operation
5 / 19
Memory Hierarchy
Main Memory I/O Processor
CPU
Cache
Magnetic
Disks Magnetic Tapes
EEE/DSDCA/SV 6
Internal memory
Registers in the CPU
Hold temporary results when computation in progress
Primary memory
Main memory
Storage area in which all programs are executed
CPU can directly access data that are stored in primary memory
Size larger than processor memory
Speed slower than processor memory
Secondary memory
Storage media
Magnetic discs
Used to hold data files and programs which are not frequently used.
Also referred to as backup store
EEE/DSDCA/SV 7
Access modes
(method used to access information from the memory)
, low: data on lines D 3-D0 are written into the word addressed by
A9-A0
mode
H x Not selected
L L Write
L H read
EEE/DSDCA/SV 19
1K X 8 RAM
Two RAMs horizontally expanded
EEE/DSDCA/SV 20
4K x 4 RAM system
Four 1K x 4 RAMs vertically connected to get 4K x 4 RAM
4K x 4 = 4 x 210 x 4 = 212 x 4
Address bus- 12 bits wide
Data 4 bits
A11- A10 : inputs to a 2 to 4 decoder ,
Decoder outputs select the RAM chip
EEE/DSDCA/SV 22
0 0 RAM chip 0
0 1 RAM chip 1
1 0 RAM chip 2
1 1 RAM chip 3
EEE/DSDCA/SV 23
the number of chips = k =