RAM and ROM
RAM and ROM
What is RAM?
A RAM constitutes the internal memory of the CPU for storing data, program and program
result. It is read/write memory. It is called Random Access Memory (RAM).
Since the access time in RAM is independent of the address to the word that is, each
storage location inside the memory is as easy to reach as other location & takes the same
amount of time. We can reach into the memory at random & extremely fast but can also
be quite expensive.
RAM is a volatile memory i.e., data stored in it is lost when we switch off the computer or
if there is a power failure. Hence, a backup uninterruptible power system (UPS) is often
used with computers. RAM is small, both in terms of its physical size and in the amount of
data it can hold.
Types of RAM
RAM or Random Access Memory is classified into the following two types −
Because of the extra space in the matrix, SRAM uses more chips than DRAM for the same
amount of storage space, thus making the manufacturing costs higher. Static RAM is
mainly used as cache memory needs to be very fast and small.
https://www.tutorialspoint.com/digital-electronics/ram-and-rom.htm 1/6
10/8/24, 3:15 PM RAM and ROM
Characteristics of SRAM
Being a type of RAM, the SRAM is also a volatile memory. Thus, it requires a
continuous power supply to maintain its stored data. If power supply is removed or
switched off, the data stored in the SRAM will delete.
SRAM is a high-speed random access memory. SRAM does not need to be refreshed
to maintain its stored data.
All DRAMs are made up of memory cells. These cells are composed of one capacitor and
one transistor.
Characteristics of DRAM
The important characteristics of DRAM (Dynamic Random Access Memory) are listed below
−
Since DRAM is also a random access memory, hence it is also a volatile memory and
thus requires a continuous power supply to retain its stored data. The data stored
in DRAM is lost, when power supply to is turned off.
In DRAM, the memory cells are made up of capacitors and transistors. Where each
memory cell can store a 1-bit of data in the form electric charge in a capacitor.
In DRAM, to prevent losing stored data due to leakage in capacitor, a refresh circuit is
required for periodic refresh cycles. This is the primary reason the term "dynamic" is
used in DRAM.
For DRAM, the access time is typically of the order in nanoseconds (ns). DRAM is
less expensive than SRAM.
https://www.tutorialspoint.com/digital-electronics/ram-and-rom.htm 2/6
10/8/24, 3:15 PM RAM and ROM
This is all about RAM (Random Access Memory) and its types. Let us now discuss about
another type of memory device called ROM.
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
What is ROM?
ROM stands for Read Only Memory. The memory from which we can only read but cannot
write on it. This type of memory is non-volatile. The information is stored permanently in
such memories during manufacture.
A ROM, stores such instruction as are required to start computer when electricity is first
turned on, this operation is referred to as bootstrap. ROM chip are not only used in the
computer but also in other electronic items like washing machine and microwave oven.
Types of ROM
The following are some important types of Read Only Memory (ROM) −
MROM
PROM
EPROM
EEPROM
Let’s discuss these different types of ROMs in detail along with their important
characteristics.
Since it is a type of ROM, thus it is also a non-volatile memory. The MROMs are
programmed at the time of manufacturing and its data cannot be modified or changed at a
later point of time.
Characteristics of MROM
MROM is a non-volatile memory. Hence, it can retain its data even when power
supply is turned off or removed.
https://www.tutorialspoint.com/digital-electronics/ram-and-rom.htm 3/6
10/8/24, 3:15 PM RAM and ROM
MROM is mainly used for storing permanent software and instructions like firmware,
bootloader code, and other system data essential for system operations.
In MROM, data and programs are written during the manufacturing process. Once it
is programmed, the stored data cannot be modified or changed. Thus, it is a one-
time programmable memory.
The major disadvantage of the MROM is its limited flexibility that means once it is
programmed, the stored data cannot be changed or deleted.
Inside the PROM chip, there are small fuses which are burnt open during programming. It
can be programmed only once and is not erasable.
Characteristics of PROM
Here are the important characteristics of the programmable read only memory −
PROM also retains its stored data, when the power supply is turned off.
PROM is a programmable memory, but it can be programmed by the user only once.
Then, its stored data cannot be changed, deleted, or rewritten.
In PROM, the memory cells are made by using either fuse-based technology, in which
storing the data involves blowing of tiny fuses.
PROM is also a read only memory, thus it supports read operations only.
Like MROM, PROM also offers limited flexibility, as the data cannot be changed or
erased, once it is programmed.
https://www.tutorialspoint.com/digital-electronics/ram-and-rom.htm 4/6
10/8/24, 3:15 PM RAM and ROM
Characteristics of EPROM
EPROM provides a permanent storage for data even in the absence of power supply.
EPROM provides the high storage density. Hence, it can hold large amounts of data in
a relatively small physical space.
EPROM is slower to write, that can affect overall performance of the system.
In EEPROM, any location can be selectively erased and programmed. EEPROMs can be
erased one byte at a time, rather than erasing the entire chip. Hence, the process of re-
programming is flexible but slow.
Characteristics of EEPROM
The important characteristics of electrically erasable programmable read only memory are
highlighted below −
EEPROM also provides random data access capabilities. This feature allows for
efficient and fast data manipulation and management.
EEPROM consumes very less power. Hence, it is better suited to use in battery-
powered devices where energy efficiency is important.
EEPROM is a cost effective read only memory device designed use in modern digital
systems.
https://www.tutorialspoint.com/digital-electronics/ram-and-rom.htm 5/6
10/8/24, 3:15 PM RAM and ROM
Conclusion
In this chapter, we explained the basics RAM and ROM along with their different types and
characteristics.
https://www.tutorialspoint.com/digital-electronics/ram-and-rom.htm 6/6