Chapter 3 - Memory
Chapter 3 - Memory
Chapter 3 - Memory
Chapter - 3
Memory & Storage
https://www.tutorialspoint.com/computer_fundamentals/computer_motherboard.htm
Memory
What is Computer Memory?
A memory is just like a human brain. It is used to store data and instructions.
Computer memory is the storage space in the computer, where data is to be
processed and instructions required for processing are stored.
The memory is divided into large number of small parts called cells.
Each location or cell has a unique address, which varies from zero to memory size
minus one.
For example, if the computer has 64k words, then this memory unit
has 64 * 1024 = 65536 memory locations. The address of these
locations varies from 0 to 65535.
4
Memory
Representation
5
As we know that digital computers work on only two states:
ON (1) and OFF (0).
These two values are represented by two different voltages within
the circuit.
Each of these values (either 0 or 1) is called a binary digit or bit and
can be considered a symbol for a piece of information.
6
Various units used to measure computer memory are as follows:
7
Types of Memory
Memory is the most essential element of a computing system because
without it computer can’t perform simple tasks.
8
Fig : Classification of Computer Memory
9
Primary memory (RAM and ROM)
Random Access Memory (RAM) is primary-volatile memory
Read Only Memory (ROM) is primary-non-volatile memory.
11
12
Types of Random Access Memory
SRAM DRAM
(Static RAM) (Dyanmic RAM)
13
Types of Random Access Memory
SRAM is also used in
personal computers, workstations, routers
and peripheral equipment: CPU register
SRAM
files, internal CPU caches and external
(Static RAM) burst mode SRAM caches, hard disk
buffers, router buffers, etc. LCD screens
and printers also normally employ static
RAM to hold the image displayed
SRAM (static RAM) is random access memory (RAM) that retains
data bits in its memory as long as power is being supplied.
14
Types of Random Access Memory
Dynamic random access memory (DRAM)
is a type of semiconductor memory that is
typically used for the data or program
DRAM
code needed by a computer processor to
(Dyanmic RAM) function. DRAM is a common type of
random access memory (RAM) that is
used in personal computers (PCs),
workstations and servers.
15
Types of Read Only Memory
EPROM EEPROM
PROM
(Erasable (Electrically erasable
(Programmable
Programmable programmable read
read-only memory)
read only memory) only memory)
16
Types of Read Only Memory
PROM
(Programmable
read-only memory)
17
Types of Read Only Memory
EPROM
(Erasable
Programmable
read only memory)
18
Types of Read Only Memory
E EPROM
The data can be erased by applying (Electrically erasable
electric field, no need of ultra violet programmable read
only memory)
light. We can erase only portions of the
chip.
19
Cache Memory in Computer Organization
Cache Memory is a special very high-speed memory.
It is used to speed up and synchronizing with high-speed CPU.
Cache memory is an extremely fast memory type that acts as a buffer
between RAM and the CPU.
It holds frequently requested data and instructions so that they are
immediately available to the CPU when needed.
Cache memory is used to reduce the average time to access data from the
Main memory.
The cache is a smaller and faster memory which stores copies of the data
from frequently used main memory locations.
20
Cache Memory
21
Levels of Memory
Level 1 or Register –
It is a type of memory in which data is stored and accepted that are
immediately stored in CPU. Most commonly used register is accumulator,
Program counter, address register etc.
22
The secondary storage devices which are built into the computer or
connected to the computer are known as a secondary memory of the
computer.
It is also known as external memory or auxiliary storage.
23