Difference between SRAM and DRAM
Prerequisite – Different Types of RAM
1. Static Random Access Memory (SRAM) :
Data is stored in transistors and requires a constant power flow. Because of the continuous power, SRAM doesn’t need to be refreshed to remember the data being stored. SRAM is called static as no change or action i.e. refreshing is not needed to keep the data intact. It is used in cache memories.
Advantage: Low power consumption and faster access speeds.
Disadvantage: Less memory capacities and high costs of manufacturing.
2. Dynamic Random Access Memory (DRAM) :
Data is stored in capacitors. Capacitors that store data in DRAM gradually discharge energy, no energy means the data has been lost. So, a periodic refresh of power is required in order to function. DRAM is called dynamic as constant change or action i.e. refreshing is needed to keep the data intact. It is used to implement main memory.
Advantage: Low costs of manufacturing and greater memory capacities.
Disadvantage: Slow access speed and high power consumption.
Difference between SRAM and DRAM :
|1.||Transistors are used to store information in SRAM.||Capacitors are used to store data in DRAM.|
|2.||Capacitors are not used hence no refreshing is required.||To store information for a longer time, contents of the capacitor needs to be refreshed periodically.|
|3.||SRAM is faster as compared to DRAM.||DRAM provides slow access speeds.|
|4.||These are expensive.||These are cheaper.|
|5.||SRAMs are low density devices.||DRAMs are high density devices.|
|6.||These are used in cache memories.||These are used in main memories.|
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.