- There are two types of Random Access Memory or RAM, each has its own advantages and disadvantages compared to the other.
- SRAM (Static RAM) and DRAM (Dynamic RAM) holds data but in a different ways. DRAM requires the data to be refreshed periodically in order to retain the data.
- SRAM does not need to be refreshed as the transistors inside would continue to hold the data as long as the power supply is not cut off.
- This behavior leads to a few advantages, not the least of which is the much faster speed that data can be written and read.
- The additional circuitry and timing needed to introduce the refresh creates some complications that makes DRAM memory slower and less desirable than SRAM.
- One complication is the much higher power used by DRAM memory, this difference is very significant in battery powered devices.
- SRAM modules are also much simpler compared to DRAM, which makes it easier for most people to create an interface to access the memory.
- This makes it easier to work with for hobbyists and even for prototyping.
Summary:
1. SRAM is static while DRAM is dynamic
2. SRAM is faster compared to DRAM
3. SRAM consumes less power than DRAM
4. SRAM uses more transistors per bit of memory compared to DRAM
5. SRAM is more expensive than DRAM
6. Cheaper DRAM is used in main memory while SRAM is commonly used in cache memory
No comments:
Post a Comment