Last checked · Chain step 05: Memory is stacked and scarce

What is SRAM?

Read in 5 min · card 05, memory is stacked and scarce

SRAM is memory built from ordinary transistors, made in the same process as a processor’s logic and usually placed on the same chip. Processors use it for caches, and AI chips use it to keep data close to the circuits that do the arithmetic.

That is the short answer. The DRAM explainer covers a computer’s main working memory. This page covers the kind on the processor chip itself. My main source is a Semiconductor Engineering article by Karen Heyman. It is not new, so I have used its explanations and left out its view of what comes next.

How it works, as far as my sources go

Heyman describes the standard cell, which keeps a bit, as a small group of transistors. Samuel K. Moore, writing in IEEE Spectrum, adds that those transistors have different jobs.

Apollos Ezeogu, in a preprint on arXiv, calls the cell a latch. The preprint says the cell holds its data while the power is on, and needs no refresh. It is the only source I have checked that says so outright, and I have read only its abstract. Another arXiv preprint, by Duan and others, describes the cell as cross-coupled, with a bit on one side and its opposite on the other. I have read only that abstract too.

DRAM does need refreshing. The DRAM page explains why.

Heyman describes the catch. A cell must be weak enough to be overwritten, and firm enough to keep its data when left alone. Ezeogu’s abstract says a cell’s noise margin is worse while it is being read or written than while it is holding.

Where it sits

In a Semiconductor Engineering roundtable, written up by Heyman, speakers from Alphawave Semi, Quadric and Siemens EDA talk about SRAM. The Siemens EDA speaker describes it as compatible with the ordinary logic process, and the Alphawave Semi speaker says it can be built directly alongside the logic.

It takes up area. Larry Hardesty, writing in MIT News, explains that DRAM uses fewer transistors for each bit, so it is more space-efficient.

It is often used as a cache. Hardesty describes a cache as a fast, local store of data in frequent use. Each item carries a tag: its address in main memory. SRAM’s circuitry can compare the tags itself and hand back the match. DRAM, he writes, only sends what it is asked for.

Heyman describes caches in levels: private to a core at first, then shared by several. When nearby SRAM runs short, data has to come from farther away. That takes more power and more time.

In AI accelerators

In the roundtable, the speaker from Quadric says any kind of processor needs some SRAM, for scratchpads, local memories and intermediate results. The same speaker describes a design in which the bulk of a model sits off the chip, in other memory.

That speaker also describes building the memory in banks that can be turned off.

Matthew S. Smith, writing in IEEE Spectrum, describes renewed interest in keeping a model’s weights in on-chip SRAM, close to the arithmetic. The AI accelerator explainer compares that with memory next door.

Why it is hard to shrink

Heyman reports that the SRAM cell shrinks more slowly than logic does. Thinner oxide and lower voltage used to help, and no longer help much. Narrower wires add resistance.

Moore adds that each array of cells also needs support circuits around it.

It has not stopped shrinking. Moore’s article is the later one. It describes nanosheet transistors, which can be narrower than the ones they replaced, as a help to SRAM.

Heyman’s article describes another route: SRAM could be made on an older process and joined to newer logic. The chiplet explainer covers how pieces are joined.

Leakage

A preprint on arXiv by Dizabadi and Kaya targets the leakage of a cell that is only holding its data. I have read only the abstract.

Heyman’s article says leakage depends steeply on voltage. In certain designs, SRAM can enter a sleep mode, which applies only enough voltage for the cells to keep their data.

What researchers are trying

These are research, not products.

Charles Q. Choi, in IEEE Spectrum, reports an SRAM cell whose transistors are spread over stacked layers of silicon, which shrinks its footprint. Yield and heat are the difficulties, he writes.

Other memories are studied for some of SRAM’s work. Gain cells, covered on the DRAM page, have been proposed for caches in an arXiv preprint by Singh and others, with staggered refresh. I have read only its abstract. Katherine Bourzac, in IEEE Spectrum, says they suit short-lived data, while magnetic, phase-change and resistive memories suit data that is read often and written rarely. Heyman says magnetic and resistive memories have smaller cells but write slowly. Bourzac’s article also says no memory is best at everything.

Where it sits in the chain

This page belongs to the memory step of the chain. HBM is the stacked memory beside the processor.

Gaps

No source I checked covers these yet:

  • what static means in the name
  • the history of SRAM
  • why SRAM is fast, in circuit terms
  • the latch and needing no refresh, beyond preprint abstracts
  • which transistors form the latch
  • how a cell is read and written, step by step
  • what happens when the power goes off
  • how a cache and a scratchpad differ in who decides what stays
  • what causes leakage, in detail
  • heat limits when cache is stacked on a processor
  • magnetic memory used as cache in finished products

Where this leaves me

SRAM keeps data close, takes up room and leaks while it waits.

Ezeogu’s preprint says the cell needs no refresh. I have refreshed my queue position anyway. It holds its data very well. My status still says Queued.

Key terms

  • Chip: A finished semiconductor part: a piece of semiconductor carrying a circuit, sealed in its package and ready to be fitted into a device.
  • Transistor: A very small switch made of semiconductor. Applying a voltage turns it on or off, and large numbers of them wired together make up complex devices.
  • AI accelerator: A chip built or used to train and run AI models. The main kinds are GPUs and chips designed specifically for AI work.

Sources