Open In App

Different Types of RAM (Random Access Memory )

RAM(Random Access Memory) is a part of the computer’s Main Memory which is directly accessible by the CPU. RAM is used to Read and Write data into it which is accessed by the CPU randomly. RAM is volatile in nature, which means if the power goes off, the stored information is lost. RAM is used to store the data that is currently processed by the CPU. Most of the programs and data that are modifiable are stored in RAM. 

How Do I Know What Type of RAM my Computer Uses?

You can use system information tools or software such as CPU-Z or HWiNFO to identify the type of RAM installed in your computer. You can also check the motherboard manual or consult the manufacturer’s website for information on compatible RAM types.

Integrated RAM chips are available in two forms: 

The block diagram of the RAM chip is given below.  

RAM Block Diagram

What is SRAM?

The SRAM memories consist of circuits capable of retaining the stored information as long as the power is applied. That means this type of memory requires constant power. SRAM memories are used to build Cache Memory.

SRAM Memory Cell

Static memories(SRAM) are memories that consist of circuits capable of retaining their state as long as power is on. Thus this type of memory is called volatile memory. The below figure shows a cell diagram of SRAM. A latch is formed by two inverters connected as shown in the figure. Two transistors T1 and T2 are used for connecting the latch with two-bit lines. The purpose of these transistors is to act as switches that can be opened or closed under the control of the word line, which is controlled by the address decoder. When the word line is at 0-level, the transistors are turned off and the latch remains its information. SRAM does not require refresh time. For example, the cell is at state 1 if the logic value at point A is 1 and at point, B is 0. This state is retained as long as the word line is not activated. 

SRAM Memory Cell

For the Read operation, the word line is activated by the address input to the address decoder. The activated word line closes both the transistors (switches) T1 and T2. Then the bit values at points A and B can transmit to their respective bit lines. The sense/write circuit at the end of the bit lines sends the output to the processor. 
For the Write operation, the address provided to the decoder activates the word line to close both switches. Then the bit value that is to be written into the cell is provided through the sense/write circuit and the signals in bit lines are then stored in the cell. 

What is DRAM?

DRAM stores the binary information in the form of electric charges applied to capacitors. The stored information on the capacitors tends to lose over a period of time and thus the capacitors must be periodically recharged to retain their usage. DRAM requires refresh time. The main memory is generally made up of DRAM chips.

DRAM Memory Cell

Though SRAM is very fast, it is expensive because of its every cell requires several transistors. Relatively less expensive RAM is DRAM, due to the use of one transistor and one capacitor in each cell, as shown in the below figure., where C is the capacitor and T is the transistor. Information is stored in a DRAM cell in the form of a charge on a capacitor and this charge needs to be periodically recharged. 
For storing information in this cell, transistor T is turned on and an appropriate voltage is applied to the bit line. This causes a known amount of charge to be stored in the capacitor. After the transistor is turned off, due to the property of the capacitor, it starts to discharge. Hence, the information stored in the cell can be read correctly only if it is read before the charge on the capacitors drops below some threshold value. 

DRAM

Types of DRAM

There are mainly 5 types of DRAM.

Difference Between SRAM and DRAM

The below table lists some of the differences between SRAM and DRAM.

SRAM

DRAM

SRAM stands for Static Random Access Memory.

DRAM stands for Dynamic Random Access Memory.

Uses a flip-flop circuit to store data

Uses a capacitor and a transistor to store data

SRAM has a lower access time, so it is faster compared to DRAM.

DRAM has a higher access time, so it is slower than SRAM.

SRAM has long data life.

DRAM has short data life.

SRAM has a storage capacity of 1 MB to 16 MB in most cases.

DRAM, which is often found in tablets and smartphones, has a capacity of 1 GB to 2 GB

SRAM is costlier than DRAM.

DRAM costs less compared to SRAM.

SRAM provides faster speed of data read/write.

DRAM provides slower speed of data read/write.

SRAM requires a constant power supply, which means this type of memory consumes more power.

DRAM offers reduced power consumption due to the fact that the information is stored in the capacitor.

Good choice for applications that may be exposed to extreme temperatures.

Not suitable for such applications.

Due to complex internal circuitry, less storage is available compared to the same physical size of a DRAM memory chip.

Due to the small internal circuitry in the one-bit memory cell of DRAM, a large storage capacity is available.

SRAM has low packaging capacity.

DRAM has a high packaging density.

SRAM is used in cache memories.

DRAM is used in main memories.

SRAM does not require refresh time. DRAM requires periodic refresh time.

SRAMs are used as cache memory in computer and other computing devices.

DRAMs are used as main memory in computer systems.

FAQs on Different Types of RAM

1. What is the difference between DDR3 and DDR4 RAM?

Answer:

DDR4 RAM has a beeter speed as compared to DDR3 RAM. It has also lower power consumption and more higher capacities as compared to DDR3.

2. What is determined by RAM Speed in the system?

Answer:

RAM Speed determines how much data is transferred at a time in the system. More faster the RAM, more faster the processing speed.


Article Tags :