Skip to content
BetterDL

Memory cell

Also called: storage cell, bit cell, memory cells, storage element

The circuit that stores one bit in a memory array, such as a latch in SRAM, a capacitor and transistor in DRAM, or a floating-gate transistor in flash.

A memory is a huge grid of cells, each storing one bit. The cell's design decides most of the memory's character:

  • SRAM: a latch of two cross-coupled inverters plus two access transistors (6 transistors). Fast, needs no refresh, but large.
  • DRAM: one transistor and one capacitor. Tiny and cheap, but the charge leaks, so it needs refresh.
  • ROM: a connection or no connection to a data line. Fixed at manufacture or programming.
  • Flash and EEPROM: a transistor with a floating gate that traps charge. Non-volatile and rewritable.

Every cell connects to a word line (which row is selected) and a bit line (the data for its column). When its word line is active, the cell is connected to its bit line so it can be read or written. Otherwise it's isolated and just holds its bit.

Cell size is why technologies differ in memory density: a 6-transistor SRAM cell takes several times the area of a DRAM cell.

Worked example

Example

Counting cells

How many cells does a 4K × 8 memory contain?

  1. 1.

    One cell per bit.

  2. 2.

    4K × 8 = 4096 × 8 = 32,768 cells.

  3. 3.

    As SRAM, that's 6 × 32,768 = 196,608 transistors in the cells. As DRAM, 32,768 transistors and 32,768 capacitors.

Common mistakes

  • Thinking a cell stores a whole word. Each cell holds one bit; a word is a row of cells.

  • Calling the SRAM cell non-volatile because it's a latch. A latch still needs power.

Practice Memory cell

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Memory cell is taught in Memory.