Static random-access memory (SRAM)

SRAM is fast, volatile memory that stores each bit in a small circuit of transistors and holds it without refreshing, used for processor caches and as on-chip memory in AI chips.

Static random-access memory stores each bit in a latch: a tiny circuit that settles into one of two stable states and stays there. The common design uses six transistors per bit. Four form two cross-coupled inverters that hold the value, and two act as gates for reading and writing. As long as power is on, the bit stays put. That is the difference from DRAM, the main memory in computers, which stores bits as charge that leaks away and must be refreshed constantly. Both are volatile: switch off the power and the data is lost.

The trade-off is speed against space. SRAM is much faster than DRAM, but it needs more transistors per bit, so it takes more chip area and costs more per bit. That is why computers use a hierarchy: small amounts of SRAM as registers and caches right next to the processor, and much larger amounts of DRAM for main memory.

SRAM is one of the oldest chip technologies. Robert Norman at Fairchild Semiconductor invented bipolar SRAM in 1963, and John Schmidt at Fairchild invented MOS SRAM in 1964. Intel's first product, in 1969, was the 3101, a 64-bit bipolar SRAM chip.

In AI hardware, SRAM matters because moving data often limits speed more than arithmetic does. Keeping weights and intermediate results in on-chip SRAM avoids slow trips to external memory. Groq builds its inference chips around on-chip SRAM, which it says delivers upwards of 80 terabytes per second of bandwidth, against about 8 terabytes per second for the high-bandwidth memory used with GPUs. Cerebras goes furthest, with 44 GB of SRAM spread across the whole-wafer WSE-3. The catch is capacity: because SRAM is far less dense than DRAM, keeping a large model entirely in SRAM means spreading it across many chips, or across a whole wafer.

SRAM has also become harder to shrink. Between 1987 and 2017 the shrinking of SRAM cells slowed as transistors got smaller, and smaller cells brought reliability and leakage problems. Each new manufacturing process therefore adds less SRAM capacity than it once did, which makes on-chip memory a growing design constraint for AI chips.

Common questions

What is the difference between SRAM and DRAM?

SRAM stores each bit in a circuit of about six transistors that holds its value while powered, so it is fast and needs no refreshing. DRAM stores each bit as charge in a single tiny capacitor that must be refreshed constantly, which makes it slower but far denser and cheaper. Computers use SRAM for caches and DRAM for main memory.

Why do some AI chips use SRAM instead of HBM?

On-chip SRAM sits right next to the processing units, so data moves much faster than to external memory. Groq says its on-chip SRAM reaches upwards of 80 terabytes per second, against about 8 for GPU high-bandwidth memory. The cost is capacity, so large models must be spread over many chips.

Is SRAM volatile?

Yes. SRAM keeps its data only while it has power and loses it when switched off. Static refers to the fact that, unlike DRAM, it does not need to be refreshed while power is on.

Why is SRAM expensive?

Each bit needs several transistors, typically six, where DRAM needs one transistor and a capacitor. That takes much more chip area per bit, and chip area is the main cost in making semiconductors.

Finding more

Search for "SRAM vs DRAM", "6T SRAM cell", "SRAM scaling" or "on-chip memory AI accelerator" to understand the role of fast memory in chips. Good sources include computer architecture textbooks and university course material, the International Solid-State Circuits Conference and other IEEE publications for new SRAM designs, and chip makers' technical documentation. Treat bandwidth comparisons from AI chip start-ups with care, since they usually compare their best case with a competitor's typical figure.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.