L 10 Memory Types
L 10 Memory Types
Dr Anita Choudhary
Assistant Professor
Department of Computer Science
[email protected] 05/11/202
5
1
Table of Content
Computer Memory
Registers
Cache Memory
RAM
ROM
DMA Controller
05/11/2025 2
Computer Memory
05/11/2025 3
Memory Hierarchy
05/11/2025 4
Memory Hierarchy
05/11/2025 5
Memory Hierarchy
05/11/2025 6
Registers
• Registers are the smallest data holding elements that are built into the
processor itself. These are the memory locations that are directly
accessible by the processor. It may hold an instruction, a storage address,
or any kind of data such as a bit sequence or individual characters.
• There are different types of registers listed below :
• Accumulator Register
• Program Counter (PC) Register
• General-Purpose Registers
• Instruction Register (IR)
• Memory Address Register (MAR)
• Memory Data Register (MDR)
• Stack Pointer (SP)
• Floating-Point Registers 05/11/2025 7
Registers
05/11/2025 8
Cache Memory
• The cache is a high-speed data storage mechanism used to
temporarily store frequently accessed or recently used data and
instructions.
• It is situated between the main memory (RAM) and the central
processing unit (CPU) in a computer system.
• By storing frequently accessed data closer to the CPU, cache
enables quicker access times, reducing the latency associated
with fetching data from slower main memory.
05/11/2025 9
Types of CPU Cache
05/11/2025 12
Dynamic RAM
05/11/2025 13
RDRAM
• RDRAM was initially expected to become the standard in PC
memory, especially after Intel agreed to license the Rambus
technology for use with its future chipsets.
• Further, RDRAM was expected to become a standard for VRAM.
However, RDRAM got embroiled in a standards war with an
alternative technology - DDR SDRAM, quickly losing out on grounds
of price, and, later on, performance.
• By around 2001, RDRAM was no longer supported by any
mainstream computing architecture.
05/11/2025 14
ROM
• Short for Read-Only Memory, ROM is a type of "built-in"
memory that is capable of holding data and having that data
read from the chip, but not written to.
• Unlike Random Access Memory (RAM), ROM is non-
volatile which means it keeps its contents regardless if it has
power or not.
• A diode is used.
• A diode normally allows current to flow in only one direction
and has a certain threshold, known as the forward breakover,
that determines how much current is required before the diode
will pass it on. In silicon-based items such as processors and
memory chips, the forward breakover voltage is approximately
0.6 volts.
05/11/2025 15
RAM and ROM
RAM ROM
Random Access Memory or Read-only memory or ROM is
RAM is a form of data storage also a form of data storage that
that can be accessed randomly can not be easily altered or
at any time, in any order and reprogrammed.Stores
Definition from any physical location., instuctions that are not
allowing quick access and nescesary for re-booting up to
manipulation. make the computer operate
when it is switched off.They are
hardwired.
Stands for Random Access Memory Read-only memory
RAM allows the computer to ROM stores the program
read data quickly to run required to initially boot the
Use
applications. It allows reading computer. It only allows
and writing. reading.
RAM is volatile i.e. its contents It is non-volatile i.e. its contents
Volatility are lost when the device is are retained even when the
powered off. device is powered 05/11/2025
off. 16
The two main types of RAM are The types of ROM include
Types
static RAM and dynamic RAM. PROM, EPROM and EEPROM.
ROM
05/11/2025 19
PROM
05/11/2025 20
PROM
• A charge sent through a column will
pass through the fuse in a cell to a
grounded row indicating a value of 1.
• Since all the cells have a fuse, the
initial (blank) state of a PROM chip is
all 1s.
• To change the value of a cell to 0,
you use a programmer to send a
specific amount of current to the cell.
• The higher voltage breaks the
connection between the column and
row by burning out the fuse.
• This process is known as burning the 05/11/2025 21
PROM.
EPROM
• This erases the targeted area of the chip, which can then be
rewritten.
• Flash memory works much faster than traditional EEPROMs
because instead of erasing one byte at a time, it erases a block
or the entire chip, and then rewrites it.
• The electrons in the cells of a Flash-memory chip can be
returned to normal ("1") by the application of an electric field, a
higher-voltage charge.
05/11/2025 25
Direct Memory Access
05/11/2025 26
Speed, Size, and Cost
A big challenge in the design of a computer system is to
provide a sufficiently large memory, with a reasonable
speed at an affordable cost.
Static RAM:
Very fast, but expensive, because a basic SRAM cell has a complex circuit
making it impossible to pack a large number of cells onto a single chip.
Dynamic RAM:
Simpler basic cell circuit, hence are much less expensive, but significantly
slower than SRAMs.
Magnetic disks:
Storage provided by DRAMs is higher than SRAMs, but is still less than what is
necessary.
Secondary storage such as magnetic disks provide a large amount
of storage, but is much slower than DRAMs.
Thank You
05/11/2025 28