Classification of Memory
Classification of Memory
Organisation
Classification of Memory
Register
• Registers are present inside the processor.
• They are basically set of flipflop.
• They store data and addresses, and can directly take part in
arithmetic and logic operations.
• They are very small in size, typically just a few bytes.
Primary Memory
• It is the original form of memory also called as Main memory
communicates directly within the CPU , Auxiliary memory and the
Cache memory.
• Main memory is used to kept programs or data when the
processor is active to use them.
• When a program or data is activated to execute, the
processor first loads instructions or programs from
secondary memory into main memory, and then the
processor starts execution.
• Accessing or executing of data from primary memory is
faster because it has a cache or register memory that
provides faster response, and it is located closer to
the CPU.
Primary Memory
• It comprises of RAM and ROM both are semiconductor memories.
• ROM is Non-volatile. It is used for storing permanent information like
the BIOS program. It is typically of 2MB-4MB in size
• RAM is read and write memory. It is volatile memory. Hence it is used
for day to day operation. Every file access from secondary memory
loaded into RAM. Typically size 4GB- 8GB.
RAM (Random Access Memory)
It is one of the faster types of main memory accessed
directly by the CPU.
It is the hardware in a computer device to temporarily store
data, programs or program results.
It is used to read/write data in memory until the machine is
working.
It is volatile, which means if a power failure occurs or the
computer is turned off, the information stored in RAM will be
lost.
All data stored in computer memory can be read or accessed
randomly at any time.
• There are two types of RAM
• SRAM
• DRAM
DRAM DRAM Dynamic Random-Access Memory)
It is a type of RAM that is used for the dynamic storage of data in
RAM.
In DRAM, each cell carries one-bit information.
The cell is made up of two parts: a capacitor and a transistor.
The size of the capacitor and the transistor is so small, requiring
millions of them to store on a single chip.
Hence, a DRAM chip can hold more data than an SRAM chip of the
same size.
However, the capacitor needs to be continuously refreshed to
retain information because DRAM is volatile.
If the power is switched off, the data store in memory is lost.
Characteristics of DRAM
1. It requires continuously refreshed to retain the data.
2. It is slower than SRAM
3. It holds a large amount of data
4. It is the combination of capacitor and transistor
5. It is less expensive as compared to SRAM
6. Less power consumption
• SRAM SRAM Static Random-Access Memory)
It is a type of RAM used to store static data in the memory.
It means to store data in SRAM remains active as long as the
computer system has a power supply.
However, data is lost in SRAM when power failures have
occurred.
Characteristics of Static RAM
1. It does not require to refresh.
2. It is faster than DRAM
3. It is expensive.
4. High power consumption
5. Longer life
6. Large size
7. Uses as a cache memory
SRAM DRAM
It is a Static Random-Access Memory. It is a Dynamic Random Access Memory.
The access time of SRAM is slow. The access time of DRAM is high.
It uses flip-flops to store each bit of It uses a capacitor to store each bit of
information. information.
It does not require periodic refreshing to It requires periodically refreshing to
preserve the information. preserve the information.
The data in this memory is written or erased one byte at a time; byte per
byte, whereas, in flash memory data is written and erased in blocks.
So, it is faster than EEPROM. It is used for storing a small amount of data in
computer and electronic systems and devices such as circuit boards.
Data can be access directly by the processor or CPU. Data cannot be accessed directly by the I/O
processor or CPU.
Stored data can be a volatile or non-volatile memory. The nature of secondary memory is always
non-volatile.
It is more costly than secondary memory. It is less costly than primary memory.