Lec 0.4 Computer Memory
Lec 0.4 Computer Memory
Lec 0.4 Computer Memory
Control
Input ALU Output
Output
Unit
Devices Devices
Devices
Special Primary
Cache
Purpose
Memory Storage
Processors
Secondary
Storage
Devices
Communication Devices
Three levels of memory hierarchy
Principle: the closer the memory is to the CPU, the faster it is.
Memory addresses
• Memory is a collection of
cells, each with a unique
physical/memory address
• Each cell can hold one byte
or 8 bits
Unit
------------ ------------------------ ------------
kilobyte 210 bytes 103 bytes
megabyte 220 bytes 106 bytes
gigabyte 230 bytes 109 bytes
terabyte 240 bytes 1012 bytes
petabyte 250 bytes 1015 bytes
exabyte 260 bytes 1018 bytes
CLASSIFICATION- BIG PICTURE
Registers
2ns
Cache (I, II, III)
Volatile SRAM
DRAM
Primary SDRAM
Memory Types & (Semiconductor – chip). RAM EDRAM
Main Memory
Storage Devices EDO
FLASH RAM
PROM
Non-volatile EPROM
ROM EEPROM
Tape
Magnetic memory HD, Zip Disk
Secondary FDD
(Devices)
Optical
CD-ROM, CD-R, CD-RW
Memory DVD-ROM, DVD-R 5ms
DVD- RW
Magnetic Storage Devices - Diskettes
• Diskette drives, also known as floppy disk drives, read and write to
diskettes (called floppy disks or floppies).
• In disks the areas to save data are organized as a set of concentric circles
called Tracks. Floppy disks have 80 tracks. The disks are further divided
into pie-slice Sectors.
• 300 rpm
The organization of a
magnetic disk
Optical Storage Devices –
How Optical Storage Works
• To store data, the disk's metal surface is covered with tiny dents (pits) and
flat spots (lands), which cause light to be reflected differently.
• When an optical drive shines light into a pit, the light cannot be reflected
back. This represents a bit value of 0 (off). A land reflects light back to its
source, representing a bit value of 1 (on).
1 0
Optical storage devices
• CD-ROM: compact disc ROM (Read Only Memory)
– Capacity: 650MB
• CD-R: compact disc recordable
• CD-RW: compact disc rewritable
• DVD: digital versatile disc
– Capacity: 4.7GB – 17GB
• DVD-R
• DVD-RW (2 versions: + (plus) and
– (dash)
DVD (Digital Versatile Disk)
– Allows up to 17 gigabytes of storage (from 4.7
GB to 17 GB).
– Compatible with older CD-ROM technology.
– The four versions of the DVD: