Types of Memorys
In any digital system, memory is not just a single block; it's a whole hierarchy made of different types, each with specific roles. Here's how they work and differ under the hood.
RAM (Random Access Memory) RAM is volatile memory; it loses all data when power is off. It’s used as working memory for active tasks and programs. There are two main types: SRAM and DRAM.
SRAM, or Static RAM, stores each bit using a set of six transistors (usually flip-flop-based). It’s fast and stable, doesn’t need refreshing, but takes up more space on a chip; that’s why it's used in CPU caches or FPGA internal blocks, where speed matters most.
DRAM, or Dynamic RAM, stores each bit as a charge on a tiny capacitor with just one transistor per bit. The problem? The charge leaks, so the system has to refresh it every few milliseconds. It’s more compact and cheaper than SRAM, so it’s used as the main memory in laptops and desktops, the DDR modules you see.
ROM (Read-Only Memory)
ROM is non-volatile, meaning it retains data even when power is off. It stores permanent or semi-permanent data, like boot code or firmware.
Basic ROM is "hardwired" during chip fabrication. You design a decoder and fix transistors at specific row-column intersections to encode the data. Once built, you can’t change it; it’s like a burned CD.
Then came PROM, or Programmable ROM, which you can write to once using electrical fuses. Once written, it’s permanent, no erasing.
Recommended by LinkedIn
After that, EPROM was developed, which allows you to erase data using ultraviolet (UV) light. Inside, it uses floating-gate transistors that trap electrons. If you shine UV light through the quartz window on the chip, it discharges the electrons and erases the data.
Finally, we have EEPROM, which is like EPROM but better. It still uses floating-gate transistors, but instead of needing UV light, it erases and rewrites using electrical signals, and you can do it while the chip is still connected to the system. That’s what makes it perfect for BIOS chips, RFID tags, and microcontrollers.
Flash Memory: Flash is technically a type of EEPROM, but with a twist: it erases in blocks or pages, not byte by byte. That makes it faster and more compact. It's the go-to memory for USB drives, SSDs, and even mobile storage.
Cache Memory: Cache memory sits between the CPU and RAM. It’s very fast and made from SRAM, but also very expensive per bit. That’s why it's smaller. It holds frequently used data or instructions so the CPU doesn’t have to wait for slower RAM. Caches are arranged in levels L1, L2, and L3, each one bigger but slightly slower than the last.
Register Memory: Registers are the fastest and smallest memories inside the CPU itself. They're used to store data temporarily during computation, like holding the operands for an addition. Each register is built from flip-flops, and they're accessed directly by the control unit.
My Core Skills: I'm currently seeking new opportunities in VLSI Design Verification, RTL Design, and FPGA development. I have hands-on experience in:
If you're hiring engineers with a strong foundation in digital design fundamentals and modern verification methodologies, I'd love to connect!
#VLSI #Semiconductor #DigitalDesign #RTL #FPGA #SystemVerilog #UVM #Verification #ComputerArchitecture #Memory #SRAM #DRAM #Engineering #Hiring #OpenToWork