Semiconductor memory technologies — Memory system design

What Is Semiconductor Memory?

Just like humans use the brain to store thoughts and memories, a computer uses memory chips to store data and instructions.
These chips are made from semiconductors — special materials (like silicon) that can act as both conductors and insulators, depending on how they’re used.

That’s why it’s called semiconductor memory.

Every piece of data — whether it’s a number, a character, or an image pixel — is stored as a series of tiny electrical charges (0s and 1s) in these chips.


⚙️ The Basic Idea

Each bit (0 or 1) in semiconductor memory is stored in a cell — a tiny electronic circuit made of transistors and capacitors.
Billions of these cells are packed together to form a memory chip.

Here’s a simple view of how memory fits into a computer system:

         +---------------------+
         |     CPU (Processor) |
         +---------+-----------+
                   |
                   | (Address/Data Bus)
                   |
         +---------+-----------+
         |      Memory Unit     |
         |  (Semiconductor Chip)|
         +---------+-----------+
                   |
                   v
         +---------------------+
         |   Storage / I/O     |
         +---------------------+

🧩 Two Main Types of Semiconductor Memory

Memory technologies are generally divided into two broad categories:

1. Volatile Memory

  • Loses data when power is turned off.
  • Used for fast, temporary storage — like your computer’s working area.
  • Example: RAM (Random Access Memory).

2. Non-Volatile Memory

  • Keeps data even without power.
  • Used for permanent storage — like ROM, flash drives, or SSDs.
  • Example: ROM, Flash Memory.

Let’s explore both types in a friendly way. 👇


🔹 Volatile Memory – RAM (Random Access Memory)

RAM is like your computer’s “workspace.”
Imagine you’re doing homework on a desk. You spread out books and papers you need right now.
That’s what RAM does — it holds data and programs your CPU is currently using.

There are two main types of RAM:

🧱 (a) Static RAM (SRAM)

  • Made using flip-flops (a set of transistors that hold data as long as power is on).
  • Very fast because it doesn’t need refreshing.
  • But it’s expensive and takes up more space.
  • Used mainly for cache memory (the CPU’s ultra-fast memory).

💧 (b) Dynamic RAM (DRAM)

  • Uses capacitors to store bits as tiny electrical charges.
  • These charges leak over time, so they must be refreshed constantly — like refilling a leaking bucket.
  • Slower than SRAM but cheaper and denser (more bits per chip).
  • Used as main memory in most computers.
FeatureSRAMDRAM
Storage ElementFlip-FlopCapacitor
SpeedVery FastModerate
CostHighLow
Refresh Needed?NoYes
UseCacheMain Memory

🔸 Non-Volatile Memory – ROM and Beyond

Non-volatile memories remember data even when the power is gone.
They’re like your notebook — once you’ve written something, it stays there until you erase it.

🧾 (a) ROM – Read Only Memory

  • Stores data permanently during manufacturing.
  • Used to store firmware — the “startup instructions” your computer runs when powered on.

There are a few variations of ROM:

TypeDescription
PROM (Programmable ROM)Can be programmed once by the user.
EPROM (Erasable PROM)Can be erased using ultraviolet light and reprogrammed.
EEPROM (Electrically Erasable PROM)Can be erased and reprogrammed using electricity — no light needed.
Flash MemoryA modern, faster version of EEPROM. Used in USB drives, SSDs, and memory cards.

⚡ How Flash Memory Works (A Quick Peek)

Flash memory stores data using floating-gate transistors that can trap electrons.
When power is off, the electrons stay trapped — keeping your data safe.

That’s why even when your phone battery dies, your photos and songs are still there. 📱


💡 Diagram: Classification of Semiconductor Memory

                    Semiconductor Memory
                             |
            +----------------+----------------+
            |                                 |
     Volatile Memory                   Non-Volatile Memory
            |                                 |
     +------+------+
     |             |
   SRAM          DRAM              ROM, PROM, EPROM, EEPROM, Flash

🧮 How Memory Chips Are Organized

Memory chips are arranged in rows and columns of memory cells.
Each cell has an address that the CPU uses to access it — just like house numbers on a street.

When the CPU needs data:

  1. It sends the address to memory.
  2. The memory chip finds the matching cell.
  3. The value (0 or 1) is sent back through the data bus.

So, memory access is like the CPU saying:

“Hey, memory! Give me what’s stored at address 1010!”

And memory responds instantly with the data.


🔍 Summary Table

Memory TypeVolatilitySpeedCostExample Use
SRAMVolatileVery FastHighCPU Cache
DRAMVolatileModerateLowMain Memory
ROMNon-VolatileFastFixedBIOS
FlashNon-VolatileFastMediumSSDs, USBs

🧠 Real-World Analogy

Think of your computer like an office:

ComponentAnalogy
CPUThe worker (does all the calculations)
RAMThe desk (temporary space for active work)
ROMThe rulebook (startup instructions)
Flash/SSDThe filing cabinet (long-term storage)

When the worker (CPU) needs something quickly, they use the desk (RAM).
When the task is done, everything is filed away in the cabinet (Flash/SSD).