← All projects

NPU · 12 nm FinFET · Multi-Vt · Clock gating · Scan DFT · in progress

NVIDIA NVDLA 12 nm: 1.1 GHz, Multi-Vt, Full Scan

NVIDIA’s open-source deep-learning accelerator, taken from RTL to a foundry-clean layout under a licensed 12 nm FinFET PDK, with power, test and floorplan symmetry built in from the start.

Target 0.909 ns (1.1 GHz) at the slow corner with 10% supply droop, checked hot and cold, on a 13-metal stack with three threshold-voltage flavours. Signoff is the foundry’s own DRC and LVS on the merged GDS. The SRAM macros are generated. All five partitions are synthesized and meet timing on both slow corners; M got there after an RTL retime of its MAC array. All five floorplans are verified clean, with the pins on facing block edges lined up wire for wire.

Implementation flow: RTL, five partition syntheses, five partition hard macros with the MAC partition used twice, top-level assembly, then foundry DRC and LVS RTL A · Genus C · Genus M · Genus O · Genus P · Genus A · Innovus C · Innovus M · Innovus ×2 O · Innovus P · Innovus Top6 macros DRCLVS Each partition is synthesized and laid out on its own, then placed as a hard macro.
The flow: five partitions, each synthesized and laid out on its own

How NVDLA works

ARCHITECTURE

NVDLA (NVIDIA Deep Learning Accelerator) is a fixed-function inference engine that NVIDIA open-sourced in 2017. A host CPU programs it through a register interface (CSB), points it at feature maps and weights in memory, and the hardware runs a layer (convolution, activation, pooling, normalization) without the CPU touching the data.

The convolution core does most of the work. CDMA streams feature-map data and weights from memory into the on-chip convolution buffer (CBUF). The sequencer (CSC) reads them back in the order the math needs and feeds the MAC array (CMAC), split into two identical halves. CACC sums partial results across channels.

Results then flow through the post-processing pipeline: SDP applies per-element operations (bias, batch norm, ReLU/PReLU, element-wise add), PDP does pooling, and CDP does cross-channel normalization. BDMA and RUBIK copy and reshape tensors between layers.

For physical design, NVDLA is cut into five partitions, each synthesized and laid out on its own. Partition C carries the convolution buffer: 128 dual-port SRAM macros.

NVDLA dataflow: memory to CDMA, CBUF, CSC, CMAC, CACC, SDP, then PDP, CDP, BDMA and RUBIK, coloured by partitionDRAM / SRAM · MCIFfeature maps, weights, resultsCDMAfetch from memoryCBUF128 SRAM macrosCSCweight decodeCMAC ×2multiply (ma, mb)CACCpartial sumsSDPbias, BN, ReLUPDPpoolingCDPLRN, LUT exp/logBDMA · RUBIKcopy, reshapePartition CPartition MPartition APartition PPartition O

NVDLA dataflow, coloured by partition

Low power, test and PPA

IMPLEMENTATION

All five partitions share one synthesis script and one place-and-route script, so each gets the same treatment.

Three threshold voltages

done

The slow, regular and fast Vt flavours are loaded together. Optimization is weighted toward leakage, so cells stay on the slow flavour by default and switch to a faster one only where a path needs the speed. Hold fixing uses slow-flavour delay cells only.

Clock gating

done · 99.9% of flops gated

NVDLA’s own RTL clock gates are imported as real gating cells, and synthesis adds more where 3 to 64 flops share an enable. Scan-enable is defined before the gates go in, so every gate’s test pin is driven by it rather than tied to a constant.

Scan chains

done · 1.86 M scan flops

Muxed scan inserted by synthesis from the library’s own scan flops: 128 chains per partition behind on-chip compression, so each block needs only 8 scan-in and 8 scan-out pins and the assembled design still fits a pad ring. Written out as SCANDEF so placement can reorder each chain by location. Each netlist is checked by Conformal equivalence and by Modus chain tracing and ATPG.

PPA optimization

applied

Genus 25.1 at its highest optimization effort, with physical libraries and the extraction tech file loaded so cell sizes and wire estimates are real. Timing carries margin from the first run: clock uncertainty for jitter and skew, a flat on-chip-variation derate, and a boundary budget on every partition port, checked at both slow corners. The clock period stays fixed: misses get fixed in the design or the flow, not by relaxing the target.

SRAM for 13 metals

generated

Both CBUF macro sizes were generated with the memory compiler, with timing views at every signoff corner. A macro uses only the lower metal layers and blocks them; everything above routes straight over it, so the same layout works on the 13-metal stack.

Signoff corners

set

Setup at the slow corner with 10% supply droop, hot and cold, since at FinFET voltages cold can be the slower case. Hold at the fast corner with 10% over-voltage, also hot and cold. Power at the typical corner, 85 °C.

Synthesis

GENUS 25.1

Partitions run one at a time on a shared server. Results go here as each one closes: setup slack at 0.909 ns, cell count, scan chains, clock gates and the Vt mix (regular / low / super-low). The floorplan column is the Innovus init check: DRC, power-grid connectivity and pin legality.

PartitionContentsSynthesisFloorplan
ACACCmet 0.909 ns, hot and cold · 128 scan chains · Vt 82/13/5%clean: 0 DRC, PG connected, 3,550 pins legal
CCDMA, CBUF (128 SRAM), CSCmet 0.909 ns, hot and cold · 128 scan chains · Vt 74/17/8%clean (v2, rows in 36 µm SRAM pin channels): 0 DRC, PG connected, 7,706 pins legal
MCMAC (used twice)met 0.909 ns, hot and cold, after an RTL retime of the MAC adder tree (first run −55 ps) · 128 scan chains · Vt 38/32/30%clean: 0 DRC, PG connected, 3,885 pins legal
OCDP, PDP, BDMA, RUBIK, MCIF, CVIF, CSB, GLBmet 0.909 ns, hot and cold · 128 scan chains · Vt 82/14/5%clean: 0 DRC, PG connected, 16,505 pins legal
PSDPmet 0.909 ns, hot and cold · 128 scan chains · Vt 78/14/7%clean: 0 DRC, PG connected, 9,724 pins legal

Scan chains and clock gating

Every partition has the same test structure: 128 balanced internal chains behind on-chip compression, so the tester drives only 8 scan-in and 8 scan-out pins per block and each test pattern shifts in 16× fewer cycles. Clock gating covers practically every flop: across the five partitions, 52,976 gates switch off 99.9% of 1.86 million flops when their data is not changing. In every partition, all clock-gate test pins are driven by scan-enable (0 left tied), so the gated flops still shift during test.

PartitionFlopsScan flopsChain lengthClock gatesFlops gated
A396,759396,6233,0997,65699.95%
C231,871231,6071,8106,37599.79%
M66,03465,8985152,84799.77%
O744,144744,0085,85625,16399.85%
P422,975422,8393,30410,93599.93%

From the Genus scan-chain and clock-gating reports. M is counted once, though it is placed twice in the block. Most of A’s flops are its accumulator buffers, built as flop RAMs so they can be scanned. Chain length is the longest of the 128 chains.

ATPG coverage

Test patterns generated in Modus for every partition, stuck-at and transition faults. Transition patterns are launched on capture at 400 MHz, the fastest clock the tester rules allow. Every partition is above 98% stuck-at and 86% transition coverage.

PartitionStuck-at coverageTransition coverage
A99.71%86.1%
C98.22%89.0%
M99.44%96.9%
O99.38%87.1%
P99.69%88.7%

Test coverage from the Modus global fault statistics after all stuck-at and transition pattern sets.

Place-and-route plan

FLOORPLAN

Each partition is placed and routed on its own as a hard macro, then the block is assembled from those macros. The floorplan is mirror-symmetric: one MAC partition layout is used twice, with MB flipped.

The arrangement comes from counting every signal between partitions in NVDLA’s top-level netlist. The two MAC partitions are the same module, and their connections mirror each other port for port: every MA port that goes to O goes to C on MB (2,423 bits), and every MA port to P goes to A on MB (1,434 bits). So MA and MB become full-height strips on the outer edges, one layout used twice, and the rest stacks in the centre: C on top, O in the middle, P and A side by side at the bottom. That gives the big links shared edges: O–P (6,280 bits), C–O (5,117) and P–A (1,950).

C straddles the mirror axis, so its 128 SRAM macros are symmetric too: two banks of eight identical columns on its left and right, one the mirror image of the other, with the CDMA and CSC logic between them. Columns pair up so their pin edges face a shared 36 µm channel. The channels hold standard-cell rows, so the read-data and clock buffers sit right at the macro pins; the rest of each bank stays free of rows. A macro blocks only the lower metal layers, so C’s edge pins, including the 2,423 bits to MB, route over the columns into the logic, and the bottom edge stays free for the 5,117 bits to O. O’s right edge is free as well, so the 2,662 bits of chip-level ports split evenly between both side channels.

Planned NV_nvdla floorplan, to scale and mirror-symmetric about the vertical axisMAC partitions MA and MB are full-height strips on the outer edges, MB the mirror image of MA. In the centre, C runs across the top with its 128 SRAM macros in two mirrored banks of eight identical columns, O sits below it, and P and A sit side by side along the bottom. Ribbons mark the shared edges and the number of signals crossing each one; the only link without a shared edge is A to C, 106 bits, routed through the side channel.MIRROR AXISCHIP PORTSCHIP PORTS6,2805,1171,9502,4231,4342,4231,434A–C 106MACMACMBCMACmirroredCCDMA · CSC · CBUFlogic between two mirrored SRAM banksOCDP · PDP · BDMA · RUBIKMCIF · CVIF · CSB · GLBPSDPACACCshared edge · signals crossingSRAM macro · bold edge = pinsorientation · MB = MA mirrored

Planned floorplan, to scale from block-area estimates. Ribbons: shared edges and the signals crossing them. Dotted: A–C, 106 bits, the only link without a shared edge, routed through the side channel.

Power grid

Each block carries its own grid from the cell rails up to the top two power layers, which also become the block’s power pins. The top-level mesh lands directly on them. Every layer pair in the grid crosses at right angles, so every crossing gets a via.

Routing

Signals route on the layers below the power mesh, with timing- and crosstalk-driven routing, antenna diodes, and up to three automatic repair passes on any design-rule marker. The clock uses double-width, double-space wires on the middle layers.

Pin alignment

Each pin on a shared edge sits exactly opposite its partner pin on the neighbouring block, so the top-level buses run straight across the channel with no crossings. That holds for all 16,215 wires on the O–P, C–O, A–P and MAC–P/A edges. The tool places a pin group in netlist order, not list order, so each port is placed on its own, starting at its partner’s coordinates.

Foundry signoff

The router’s own checker is not the signoff. The merged GDS goes through the foundry DRC deck after double-patterning colouring and metal fill, then LVS against the routed netlist.

Next

ROADMAP
  1. Synthesize all five partitions

    Done: all five meet 0.909 ns on both slow corners. M needed an RTL retime of the MAC array (the level-0 registers moved ahead of the 8:2 carry-save tree, same latency). ATPG coverage for every partition is in the table above. Next: Conformal equivalence of every netlist against the RTL.

  2. Block place-and-route

    C first, as it holds all 128 SRAM macros. Init is done and clean for all five: a coloured power mesh with trimmed ends, zero DRC, every pin legal, and the pins on each shared edge placed in the same order and position as the partner block’s. A is through placement and clock tree, with hold and design-rule checks clean, and is ready for routing. C’s first clock-tree run showed the floorplan was wrong: with the SRAM banks fully blocked, no buffer could sit near the macro pins, leaving about 9,000 slow-slope nets on the read data and 0.40 ns clock slopes on the SRAM clocks. C was re-floorplanned with rows in 36 µm pin channels and is now routed and through signoff timing (Quantus extraction, Tempus with crosstalk): setup and hold met on all four corners, zero transition, capacitance and fanout violations, zero DRC and antenna, connectivity clean, and exported as a hard macro (layout, abstract, timing model per corner). Then the foundry’s own metal fill went in, and timing with the fill extracted told a different story: about 8% more wire capacitance turned +3 ps of setup slack into −321 ps on 3,900 paths. Re-fixing C with the fill in the extraction brought that back to −18 ps on 10 paths, with hold clean; the last paths and a refill check are next. The flow for every partition now fills before its signoff timing fix, then refills and re-times after it, so the fill cost is fixed once instead of found at the end.

  3. Block assembly

    Six macros in the symmetric floorplan, the MAC partition used twice, the top-level clock balanced against each block’s internal clock latency, and the inter-partition buses routed through the channels.

  4. Foundry signoff

    Double-patterning colouring, metal fill, foundry DRC to zero, then LVS on the merged GDS.

Under the licensed 12 nm PDK, the foundry, library and cell names, memory-compiler settings and absolute area and power are not published here.