Computer Memory
Computer Memory
BACK GROUND
WHAT IS A MEMORY?
WHY DOES A
COMPUTER NEED
MEMORY?
RTI, Jaipur 2
PREVIEW
INTRODUCTION
NEED
AIM
BASICS
TYPES
HOW THEY WORK
QUIZ
CONCLUSION
AIM
TO GIVE AN OVERVIEW ON
COMPUTER MEMORY
RTI, Jaipur 4
BASICS
Slow and
inexpensive
MEMORY HIERARCHY
Secondary Memory
COMPUTER SYSTEM COMPONENTS
Control
Input ALU Output
Output
Unit
Devices Devices
Devices
Special Primary
Cache
Purpose
Memory Storage
Processors
Secondary
Storage
Devices
Communication Devices
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
REGISTERS
CPU
Arithmetic operations:
Increment
Decrement
Add
Subtract
Multiply
Divide
Logical operations:
NOT
AND
OR
XOR
REGISTERS
FAST STAND-ALONE STORAGE LOCATIONS
THAT HOLD DATA TEMPORARILY IN CPU.
PC (PROGRAM COUNTER)
Main memory
a collection of storage locations,
each with a unique identifier called the address.
Word-
Data are transferred to and from memory in groups
of bits called words.
The number of bits that can be stored in one CPU
register in a computer.
Address as Bit Pattern
Address space -
The total number of uniquely identifiable locations in memory.
For example:
a memory with 64KB and a word size of 1 byte has an
address space that range from 0 to 65535.
RAM
MEMORY TYPES - RAM
Volatile
R/W by user
Two categories:
DRAM(Dynamic RAM)
Refresh
used in most PCs
SRAM(Static RAM)
No refresh
Faster more reliable
more expensive
often used only as a memory cache
MEMORY TYPES- RAM
SRAM: static RAM
No need to be refreshed
FLASH RAM
Ferroelectric RAM
COMPUTER SYSTEM COMPONENTS
ROM
MEMORY TYPES - ROM
Nonvolatile
Written by manufacture
Categories:
ROM
PROM(Programmable ROM)- Write once by user
EPROM(Erasable PROM)- physical removal and reinstallation by
special device
EEPROM(Electronically EPROM)- without being removed from
computer
MEMORY TYPES ROM
NONVOLATILE
CATEGORIES:
MAGNETIC
OPTICAL
MAGNETIC STORAGE DEVICES
If a spot is magnetized 1
Magnetic Disk
Random access device
Magnetic Tape
Sequential access device
MAGNETIC STORAGE
MAGNETIC STORAGE DEVICES
MAGNETIC TAPE
MAGNETIC STORAGE DEVICES
- HOW MAGNETIC STORAGE WORKS
A magnetic disk's medium contains iron particles,
which can be polarizedgiven a magnetic
chargein one of two directions (north or south).
Disk composition
A magnetic disk consist of a collection of platters (1to 20
per disk) that rotate on a spindle.
Disk surface divided into tracks (1000 to 4800 per platter).
Tracks are divided into sectors (64 per track), which are the
smallest unit that can be read or written.
Up to 10,000 rpm
MAGNETIC DISKS
A read/write head travels across a spinning magnetic
disk, retrieving or recording data
The organization of a
magnetic disk
PHYSICAL LAYOUT OF A MAGNETIC DISK
Performance
depends on
several factors
Rotational speed
Seek time the time
to move the R/W
head to desired track
Transfer time the
time to move data
from the disk to the
CPU/Memory
MAGNETIC STORAGE DEVICES
- HOW MAGNETIC STORAGE WORKS
As the medium
rotates, the head
writes the data.
SURFACE ORGANIZATION OF A DISK
Formatted Disk
MECHANICAL CONFIGURATION OF A TAPE
SURFACE ORGANIZATION OF A TAPE
Sequential access
Slower
Cheaper
9 vertical spots
8 bits of information
1 bit for error detection
OPTICAL STORAGE
OPTICAL STORAGE DEVICES
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).
OPTICAL STORAGE DEVICES
HOW OPTICAL STORAGE WORKS
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:
QUIZ