What is Systolic array?
An arrangement of many multiply-accumulate units in a grid that computes matrix products by passing data to neighboring units step by step. It is used in AI accelerators.
Field: CPUs and architecture
Read the beginner explainer: Matrix Multiplication FLOPs (2mnk) and Arithmetic Intensity
Japanese name: シストリックアレイ
How data flows through the grid
A systolic array is a two-dimensional grid of processing elements, each a multiply-accumulate (MAC) unit that talks only to its immediate neighbors. In the weight-stationary arrangement, each element is preloaded with one weight; input activations enter from the left edge and pass rightward one element per clock, while partial sums flow downward, each element adding its own product. Finished results leave the bottom edge. Inputs are staggered by one cycle per row so that matching values meet at the right element at the right time.
Why it is efficient
Each value fetched from memory is reused by a whole row or column of elements instead of being read once per operation. A 128 × 128 array performs 16,384 MACs per clock while being fed only along its edges, so the work done per byte of memory traffic is very high. Moving data from off-chip memory costs far more energy than a multiply-add, so this reuse saves power as well as bandwidth. Because every wire connects neighbors, there are no long broadcast buses, which permits dense layouts and high clock rates.
Dataflows and limitations
Besides weight-stationary designs, output-stationary arrays keep each partial sum in place while both operands stream through, and other variants hold inputs stationary. Every version has fill and drain latency proportional to the array size, and utilization drops when matrix dimensions are small or do not match the array, leaving elements idle. Convolutions are usually rewritten as matrix multiplications to fit. Sparse or irregular computation is a poor match because the rigid, clocked dataflow cannot skip work easily.
Origins and where you will meet it
The idea comes from H. T. Kung and colleagues, who proposed regular arrays of simple cells for very-large-scale integration (VLSI), naming them after the rhythmic pumping of the heart. It found its biggest application in neural-network accelerators, where matrix multiplication dominates; Google's TPU, for example, uses large arrays such as 128 × 128. GPUs reach a similar goal differently, using tensor cores that each compute small matrix tiles while registers and shared memory handle data reuse more flexibly.
Try it: questions about Systolic array
- ASystolic array
- BCrossbar switch
- CRing buffer
Show answer and explanation
Answer: A. Systolic array
A systolic array arranges multiply-accumulate units (MACs) in a 2D grid and pumps data rhythmically from neighbor to neighbor—named after the heart's systolic contractions. Each loaded value is reused by many units, cutting memory accesses and making matrix operations efficient. Some AI accelerators have large arrays.
- AEach unit reads data directly from main memory every time
- BThere is only one unit, so the circuit is simple
- CData is passed from unit to neighboring unit and reused, so memory reads are few and many units work simultaneously
Show answer and explanation
Answer: C. Data is passed from unit to neighboring unit and reused, so memory reads are few and many units work simultaneously
In a systolic array, data flows in a regular, pulse-like rhythm between multiply-accumulate units arranged in a grid. A value read once is passed from neighbor to neighbor and used in dozens of operations, so a great deal of computation is done relative to the data read from memory. Only short wires between neighbors are needed, so many units can be packed densely.
FAQ
Why is it called a systolic array?
Data pulses through the grid in a regular rhythm, one step per clock, much as the heart pumps blood in systolic contractions.
Does the Google TPU use a systolic array?
Yes. Its matrix units are large systolic arrays of multiply-accumulate elements, such as 128 × 128, that compute neural-network matrix products.
What is weight-stationary dataflow?
Each processing element holds one weight fixed while input activations stream past and partial sums are passed along. It minimizes repeated weight fetches, which suits neural-network inference.
Books on CPUs and architecture Ad
As an Amazon Associate I earn from qualifying purchases.
Comparisons that include this term
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.
Back to the glossary