Rom & Ram
Rom & Ram
Rom & Ram
Type Description
Application Used to store firmware and Used to store small programs and
operating systems configuration data
S.N
O EPROM EEPROM
In EPROM, UV light is used to erase the In EEPROM, electric signal is used to erase the
1.
EPROM’s content. EEPROM’s contents.
2. Whole memory location need to be erased Selected memory location can be erased
S.N
O EPROM EEPROM
Data- RAM is a volatile memory that ROM is a non-volatile memory that the could
Retention could store the data as long as retain the data even when the power is turned
the power is supplied. off.
Read/Write Read and write operations are Only read operations are supported.
supported.
Use Used to store the data that has to It is typically used to store firmware or
be currently processed by CPU microcode, which is used to initialize and
temporarily. control hardware components of the
computer.
CPU CPU can easily access data CPU cannot easily access data stored in ROM.
Interaction stored in RAM.
Size and Large size with higher capacity, Small size with less capacity, concerning
Capacity concerning ROM. RAM.
Accessibility The data stored is easily The data stored is not as easily accessible as in
accessible. the concerning RAM.
Cost RAM is more costlier than ROM. ROM is cheaper than RAM.
Chip Size A RAM chip can store only a few A ROM chip can store multiple megabytes
gigabytes (GB) of data. (MB) of data.
Function Used for the temporary storage of Used to store firmware, BIOS, and other data
data currently being processed by that needs to be retained.
the CPU.
During a read or write, the wordline goes high and the transistor connects the capacitor to the bitline.
Whatever value is on the bitline ('1' or '0') gets stored or retrieved from the capacitor.
The capacitors leak charge over time. Therefore, to maintain the data stored in memory the capacitors must
be refreshed periodically. Refreshing works just like a read and ensures data is never lost. This is where DRAM
gets the “Dynamic” moniker from—the charge on a DRAM cell is dynamically refreshed every so often.
Contrast this with SRAM (Static RAM) which retains its state without needing to be refreshed.
SRAM DRAM
These are used in cache memories. These are used in main memories.
SRAMs has lower latency DRAM has more latency than SRAM
SRAMs are more resistant to radiation DRAMs are less resistant to radiation than
than DRAM SRAMs
SRAM has higher data transfer rate DRAM has lower data transfer rate