1. Theory
- Definition: Static random access memory (SRAM) stores each bit in a bistable latch that holds its state as long as power is applied, with no refresh.
- 6T cell: Two cross-coupled CMOS inverters (PMOS pull-ups and NMOS pull-downs) form the latch, and two NMOS access transistors connect the storage nodes to the bitlines.
- Bistability: The latch has two stable states only while the loop gain exceeds one.
- Cell ratio (): The pull-down to access transistor strength ratio; a large keeps a read from flipping the cell.
- Pull-up ratio (): The pull-up to access transistor strength ratio; a small lets the bitline overpower the cell during a write.
- Static noise margin (SNM): The side of the largest square that fits in the smaller lobe of the butterfly curve, i.e. the largest DC noise the cell tolerates.
- 8T and 10T cells: Extra transistors add a separate read port so reads do not disturb the storage nodes.
2. Working Principle
- Hold: With the wordline low, the cross-coupled inverters regenerate the stored value, drawing only leakage current.
- Read: Both bitlines are precharged high; the wordline opens the access transistors and the 0-node side pulls its bitline down, while the 0 node rises slightly (read disturb).
- Write: The bitlines are driven to opposite values and the access transistor pulls the 1 node below the opposite inverter’s trip point, flipping the latch.
- Read-write conflict: Sizing trades read stability (large ) against writability (small ), typically to and .
- Minimum supply voltage: Threshold mismatch between the six transistors raises the practical retention and operating voltage to a few hundred millivolts.
- FinFET sizing: Fin quantization removes continuous sizing, so assist circuits or 8T cells recover margin.
- Soft errors: Particle strikes can flip the cell when the collected charge exceeds the critical charge .
3. Applications
- CPU and GPU caches: L1, L2 and L3 caches and register files, where the fastest access is needed.
- On-chip buffers in SoCs and accelerators: Scratchpad memory in AI accelerators, network switches and DSPs.
- FPGA configuration and block RAM: Configuration bits and embedded memory blocks.
| Name | Formula | Related Formulae | Variables/Constants |
|---|---|---|---|
| Inverter switching threshold (trip point) | |||
| Bistability condition | |||
| Cell ratio and pull-up ratio | |||
| Read disturb voltage on the stored 0 node | |||
| Read current | |||
| Write node voltage | |||
| Static noise margin | |||
| Subthreshold inverter gain and data retention voltage | |||
| Standby leakage current | |||
| Threshold mismatch of the cell transistors | |||
| Critical charge and soft error rate |
Important Questions
Ques: Why does an SRAM cell use six transistors, and what does each pair do?
A cell must hold one bit indefinitely while power is applied, so it uses two cross-coupled inverters (each a PMOS pull-up and an NMOS pull-down) that regenerate each other and give two stable states, as long as the loop gain . Two NMOS access transistors connect the storage nodes to the bitlines when the wordline is high. The access transistors must be able to overpower the cell during a write but must not disturb it during a read, and this conflict is what the and ratios control. Unlike DRAM the cell needs no refresh, but it holds a bit through static leakage paths that consume standby power. Reference: J.M. Rabaey, A. Chandrakasan and B. Nikolic, Digital Integrated Circuits, 2nd ed., Prentice Hall, 2003.
Ques: Why must the cell ratio be greater than one but the pull-up ratio small?
During a read, both bitlines are precharged high and the access transistor of the 0 node forms a voltage divider with the pull-down transistor, so the 0 node rises to . The cell is stable only if stays below the trip point of the opposite inverter, which demands a strong pull-down (large ). During a write, the bitline pulls the 1 node down against the PMOS pull-up, and the node must fall below , which needs a weak pull-up (small ). Sizing therefore trades read stability against writability, usually with to 2 and . Reference: E. Seevinck, F.J. List and J. Lohstroh, “Static-noise margin analysis of MOS SRAM cells,” IEEE J. Solid-State Circuits 22, 748 (1987).
Ques: How is the static noise margin obtained from the butterfly curve?
The voltage transfer curve of one inverter is plotted together with the mirror image of the other inverter’s curve. The two curves cross at three points (two stable, one metastable) and enclose two lobes. The SNM is the side of the largest square that fits inside the smaller lobe, because that is the largest DC noise, applied in series with both nodes in the worst direction, that leaves the stored state intact. For read SNM the access transistors are connected to bitlines at , which squeezes the lobes and reduces the margin below the hold SNM. Reference: E. Seevinck, F.J. List and J. Lohstroh, IEEE J. Solid-State Circuits 22, 748 (1987).
Ques: What are the 8T and 10T cells, and why are they used?
In the 6T cell the same access transistors serve for reads and writes, so a read disturbs the cell. In the 8T cell two additional transistors form a separate read port whose gate is connected to the storage node, so the read does not touch the storage nodes and the read SNM becomes equal to the hold SNM. Its read current is then set by the series stack of the read-access and read-buffer transistors instead of by . The 8T cell costs more area and needs a second bitline, but it works to a lower supply voltage. The 10T cell adds further devices to also remove the half-select disturb and the leakage on the read bitline. Reference: L. Chang et al., “Stable SRAM cell design for the 32 nm node and beyond,” Symp. VLSI Technology, 128 (2005); B.H. Calhoun and A.P. Chandrakasan, “A 256-kb 65-nm sub-threshold SRAM design for ultra-low-voltage operation,” IEEE J. Solid-State Circuits 42, 680 (2007).
Ques: What limits the minimum supply voltage of an SRAM cell?
The cell keeps its data only while the loop gain exceeds one. For a subthreshold inverter the gain is , which falls to one at , about 40 to 50 mV for an ideal symmetric cell with to . In practice threshold mismatch between the six transistors (Pelgrom scaling ) moves the real retention voltage to a few hundred millivolts, and the read and write margins, which need more headroom than the hold margin, set the operating minimum. The ideal bound is the same minimum supply that R.M. Swanson and J.D. Meindl derived for the subthreshold CMOS inverter, and the data retention voltage of real cells was studied by Qin et al. Reference: R.M. Swanson and J.D. Meindl, “Ion-implanted complementary MOS transistors in low-voltage circuits,” IEEE J. Solid-State Circuits 7, 146 (1972); H. Qin, Y. Cao, D. Markovic, A. Vladimirescu and J. Rabaey, “SRAM leakage suppression by minimizing standby supply voltage,” Proc. ISQED, 55 (2004); A.J. Bhavnagarwala, X. Tang and J.D. Meindl, “The impact of intrinsic device fluctuations on CMOS SRAM cell stability,” IEEE J. Solid-State Circuits 36, 658 (2001); M.J.M. Pelgrom, A.C.J. Duinmaijer and A.P.G. Welbers, IEEE J. Solid-State Circuits 24, 1433 (1989).
Ques: How does scaling to FinFET and gate-all-around devices change SRAM sizing?
The width of a FinFET is quantized by the number of fins, so and cannot be tuned continuously. Cells are named by their fin counts in the order pull-up, pass-gate, pull-down. The high-density 1-1-1 cell has and a poor read margin; the 1-2-2 cell keeps but doubles the read current, and only a cell with more pull-down than pass-gate fins (such as 1-2-3) raises above 1. Read and write assist circuits or an 8T cell are used to make up for the missing sizing freedom. The undoped fin body also reduces random dopant fluctuation, so improves and the cell has less threshold variation than a planar cell of the same area. Nanosheet transistors allow continuous sheet width and restore some of the tuning. Reference: C.-H. Jan et al., “A 22nm SoC platform technology featuring 3-D tri-gate and high-k/metal gate, optimized for ultra low power, high performance and high density SoC applications,” IEDM Tech. Dig., 44 (2012).
Ques: What is a soft error, and why does it matter more at low supply voltage?
A soft error is a flip of the stored bit caused by charge generated by an ionizing particle (an alpha particle from packaging, or a secondary from a cosmic-ray neutron) that is collected by a reverse-biased drain junction of the off transistor on the storage node. The cell flips if the collected charge exceeds . Scaling reduces both and , so falls, but the sensitive area also falls, so the rate per cell has stayed roughly constant while the rate per chip rises with array size. Reference: P. Hazucha and C. Svensson, “Impact of CMOS technology scaling on the atmospheric neutron soft error rate,” IEEE Trans. Nucl. Sci. 47, 2586 (2000).
Related pages in this vault: Dynamic Random Access Memory (DRAM), Static and Dynamic Random Access Memory (SRAM and DRAM), Gain Cell (2T and 3T eDRAM), Fin Field Effect Transistor (FinFET), Floating Body Random Access Memory (Capacitorless 1T DRAM), Mismatch and Variability, CMOS Logic Transistors, Radiation.