How NVIDIA designs GPU circuits with reinforcement learning
NVIDIA has handed standard cell layout and arithmetic circuit design to reinforcement learning agents, NVCell and PrefixRL, which learn from design-rule checks and synthesis results.
NVIDIAUnited StatesSemiconductorsIn productionWho built it Built in-houseKind of solution Scientific discovery and designScale Nearly 13,000 AI-designed circuit instances in the NVIDIA Hopper GPU architectureScenario Reinforcement learning chip circuit designBusiness function Engineering and designOrganization EnterpriseAI types Generative AI, Machine learning, Optimization
- Who built it
- Built in-house
- Kind of solution
- Scientific discovery and design
- Scale
- Nearly 13,000 AI-designed circuit instances in the NVIDIA Hopper GPU architecture
- Scenario
- Reinforcement learning chip circuit design
- Business function
- Engineering and design
- Organization
- Enterprise
- AI types
- Generative AI, Machine learning, Optimization
tl;drNVCell ports NVIDIA's standard cell library overnight on a single GPU, work that took 10 months.See the results
NVIDIA uses reinforcement learning agents to design the building blocks of its GPUs. NVCell lays out the standard cells that each new manufacturing process needs, and PrefixRL designs arithmetic circuits such as adders2, 3.
In March 2026, at NVIDIA’s GTC conference, chief scientist Bill Dally said that NVCell now ports a standard cell library overnight on a single GPU1, 2. The same work took a team of eight engineers about 10 months1.
The NVIDIA Hopper GPU architecture has nearly 13,000 instances of circuits that PrefixRL designed. The best PrefixRL adder has 25% lower area than an adder from a conventional electronic design automation (EDA) tool at the same delay3.
Before the deployment
Each time NVIDIA moves to a new semiconductor manufacturing process, it must redesign around 2,500 to 3,000 standard cells, the small reusable layout blocks such as logic gates and memory latches2. Dally said at GTC that NVIDIA is “trying to use AI wherever we can in our design process”1.
- Manual porting: A library of roughly 2,500 to 3,000 cells took a team of eight engineers about 10 months to port1.
- Complex design rules: At advanced technology nodes, the number of design rules is exploding and the rules have become more complex, which keeps cell layout automation hard4.
- Solver-based routing: Earlier routers based on mixed integer linear programming (MILP) need the design rules written as equalities or inequalities4.
- Arithmetic circuits: Adders, incrementors, and encoders in the GPU are prefix circuits, and the space of possible prefix graphs is too large to search by brute force3.
What was built
NVIDIA built two reinforcement learning (RL) systems that design circuits and learn from the tools that check them. NVCell produces the layout of each standard cell, and PrefixRL designs the prefix graphs behind arithmetic circuits3, 4. Each part has its own job:
- NVCell placer: A simulated annealing algorithm places the transistors and assigns pins. A machine learning routability predictor tells it whether a placement can be routed4.
- NVCell router: A genetic algorithm proposes candidate layouts. An RL agent then corrects the design rule violations, such as wires placed too close together2.
- Rule checker: Sticks, a separate program, flags the violations and converts each finished layout to tapeout-quality Cadence Virtuoso layout2, 4.
- PrefixRL agent: Adds or removes nodes in a prefix graph and learns from the area and delay of the circuit that physical synthesis produces3.
“It comes up with totally bizarre designs that no human would ever come up with, but they are actually 20% or 30% better than the human designs,”
Technology and architecture
| Layer | What they used | Role | Source |
|---|---|---|---|
| Solution platform | NVCell | NVIDIA’s automatic standard cell layout generator | 2, 4 |
| Generative design model | RL-based DRC fixer | Incrementally repairs design rule violations in the router’s candidate layouts | 2, 4 |
| Optimizer | Genetic algorithm router | Proposes candidate routes and scores them on unrouted pairs and violations | 2, 4 |
| Optimizer | Simulated annealing placer | Places transistors and assigns pins, with an RL placer to speed it up | 4 |
| Predictive model | Routability predictor | Predicts whether a placement can be routed, so placements are optimized for routing | 4 |
| Rules and decision logic | Sticks | Checks each layout for design rule violations and converts it to Cadence Virtuoso layout | 4 |
| Generative design model | PrefixRL | Q-learning agent that designs prefix graphs for adders and other arithmetic circuits | 3 |
| Simulation or surrogate model | Physical synthesis tool | Optimizes each generated circuit and returns its area and delay as the agent’s reward | 3 |
| Training pipeline | Raptor | In-house distributed reinforcement learning platform that trains PrefixRL | 3 |
| Framework or library | stable-baselines PPO2 | Implements the training algorithm of NVCell’s two RL agents | 4 |
Learning from the checking tools
Each agent gets its reward from an existing design tool rather than from a written model of the rules:
- DRC fixer reward: The agent earns a reward for each violation it clears and a small penalty for each step, which pushes it to the shortest path to a clean design2.
- Transfer across cells: Trained on one standard cell, the DRC fixer transfers to all the cells tested in the library4.
- PrefixRL network: A fully convolutional network reads a grid representation of the prefix graph and predicts Q-values for adding or removing each node3.
- Pareto frontier: NVIDIA trains several PrefixRL agents with different weights on area and delay, which gives a range of designs3.
- Training framework: NVCell’s two RL agents use the stable-baselines PPO2 algorithm, and NVCell itself runs in Python on a server with multiple Intel Xeon CPUs4.
Training with Raptor
Raptor is NVIDIA’s in-house distributed reinforcement learning platform. In this deployment, it trains PrefixRL across a mix of CPUs, GPUs, and Spot instances3. Physical synthesis takes about 35 seconds for one 64-bit adder, so Raptor offloads it to a pool of CPU workers while the actor agents keep stepping through the environment3. Synthesis rewards are cached so that a state seen before isn’t synthesized again3.
How one PrefixRL step works
- The PrefixRL agent adds a node to the prefix graph or removes one3.
- The environment legalizes the graph so that it always computes a correct prefix sum3.
- A circuit generator turns the legal graph into a circuit of logic gates and wires3.
- The physical synthesis tool optimizes the circuit with gate sizing, duplication, and buffer insertion3.
- The environment measures the circuit’s area and delay and returns the improvement to the agent as its reward3.
Results
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Time to port a standard cell library | Eight engineers for about 10 months | overnight on a single GPU | A library of 2,500 to 3,000 cells, as stated in March 2026 | Bill Dally, NVIDIA, via Tom’s Hardware and The Batch, measured1, 2 |
| AI-designed circuit instances in Hopper | Not disclosed | nearly 13,000 | NVIDIA Hopper GPU architecture, July 2022 | NVIDIA Technical Blog, measured3 |
| Area of the best PrefixRL 64-bit adder | EDA tool adder at the same delay | 25% lower area | 64-bit adder circuits | NVIDIA Technical Blog, measured3 |
| Single-row cells laid out LVS/DRC clean | Not disclosed | over 92% | Over 1,000 single-row cells of an industrial library, July 2021 paper | NVIDIA researchers, arXiv preprint, pilot4 |
- Library porting time: Measures how long it takes to port a full standard cell library to a new process. The cells match or exceed human designs on area, power, and signal speed2.
- AI-designed circuits in Hopper: Counts the instances of PrefixRL circuits in a production GPU architecture3.
- Adder area: Compares the best 64-bit PrefixRL adder with the adder from a conventional EDA tool at the same delay, after physical synthesis3.
- Clean cells: Counts the cells that passed layout-versus-schematic (LVS) and design rule checks. Of these cells, 15% came out narrower than the library’s own and less than 2% wider4.
Lessons learned
The figures are NVIDIA’s own: its researchers’ preprint, its technical blog, and Dally’s remarks at GTC as Tom’s Hardware and The Batch reported them1, 2, 3, 4. The two outlets name the cell tool differently, NB-Cell in Tom’s Hardware and NVCell in The Batch and NVIDIA’s paper1, 2.
NVCell’s agent has a narrow job, and it transferred across the library. The router leaves the agent only the local job of fixing violations, so a model trained on one cell transferred to every cell tested4.
NVCell doesn’t cover every cell. Its flow handles single-row cells only, because the Sticks program doesn’t support multi-row cells, and it produced clean layouts for over 92% of the single-row cells in the 2021 tests4.
Learning from real synthesis results costs compute. Physical simulation for PrefixRL needed 256 CPUs for each GPU, and training the 64-bit case took over 32,000 GPU hours3.
AI doesn’t yet cover the whole design flow. Dally said that an AI that designs a GPU from end to end on request remains a distant goal, and NVIDIA still emulates its designs and runs experiments to verify them1, 2.
Case study scorecard
- overnight on a single GPU Time to port a standard cell library1, 2
- nearly 13,000 Instances of AI-designed circuits in the NVIDIA Hopper GPU architecture3
- 25% lower area Area of the best PrefixRL 64-bit adder3
- over 92% Single-row cells that NVCell laid out LVS/DRC clean4
Sources by publication date
- Organization 1
- Press, academic, and regulators 3
Build this solution yourself
Analysis
What you need
- A checker that scores every attempt: NVCell’s agent learns from the violations that a rule checker flags, and PrefixRL from synthesized area and delay. You need such tools to run without a person in the loop2, 3.
- Compute for slow rewards: PrefixRL’s training took over 32,000 GPU hours and a CPU pool for synthesis. You need a platform that computes rewards in parallel and caches them3.
- A library to compare against: NVCell’s layouts were judged cell by cell against an industrial library designed by people. You need that baseline to know whether the agent’s designs are better4.
Reference architecture
Scientific discovery and design
A scientific discovery and design solution searches a space of candidate molecules, materials, layouts, or configurations with models that score each candidate far faster than the test that settles it.
- Ranking model
- Candidate generator (documented in this case study)
- Domain libraries (documented in this case study)
- Surrogate scorer (documented in this case study)
- Screening filters
- Run orchestration
- Elastic compute
- Training pipeline (documented in this case study)
- Design workspace
- Discovery platform (documented in this case study)
Others who built it
- AstraZeneca: AstraZeneca designs molecules with chat-driven AI agents. ChatInvent's agents called the right tools in 90% of 70 test questions at AstraZeneca.
- Google: Google lays out TPU chip blocks with reinforcement learning. AlphaChip placed 25 Trillium TPU blocks with 6.2% less wirelength than human experts.
- GSK: How GSK uses an agentic AI scientist in drug discovery. More than 1,000 GSK scientists use the AI scientist's literature layer daily, with an NPS of 63.
- Syensqo: Syensqo finds a new polymer in 18 months with AI screening. AI screening of 4 million molecules found Syensqo a new polymer in 18 months.
- General Motors: AI surrogates cut GM's drag analysis from weeks to minutes. GM designers now get drag estimates for new shapes in minutes instead of about two weeks.
- Insilico Medicine: Insilico's AI-designed lung fibrosis drug reaches Phase III. Rentosertib went from AI-picked target to drug candidate in about 18 months and is now in Phase III.
Cite this case study
Enterprise AI Case Studies. "How NVIDIA designs GPU circuits with reinforcement learning." Updated Nov 30, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-087-rl-chip-circuit-design-nvidia/
@misc{csai-er-087,
author = {{Enterprise AI Case Studies}},
title = {{How NVIDIA designs GPU circuits with reinforcement learning}},
year = {2026},
note = {Updated 2026-11-30},
url = {https://case-studies.ai/case-studies/engineering-and-research/ER-087-rl-chip-circuit-design-nvidia/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Supporting excerpts (6)
Porting a standard cell library of roughly 2,500–3,000 cells previously required a team of eight engineers working for about 10 months, according to Dally.
Nvidia has replaced this work with a reinforcement learning system called NB-Cell, which can now complete the same task overnight on a single GPU.
It comes up with totally bizarre designs that no human would ever come up with, but they are actually 20% or 30% better than the human designs,
I would love to have the end-to-end stage where I could simply say, 'design me the new GPU,' but I think we are a long way from that.
AI still cannot be responsible for the whole verification process, so Nvidia must emulate its designs and conduct actual experiments to ensure that everything works fine.
We are trying to use AI wherever we can in our design process,
- Source 2:
Supporting excerpts (9)
in a conversation with his Google counterpart, Jeff Dean, onstage at Nvidia’s GTC conference in mid-March
it must redesign around 2,500 to 3,000 small reusable layout blocks, or cells, such as logic gates and memory latches. An AI system called NVCell does this work.
NVCell pairs a genetic algorithm that proposes candidate layouts with a reinforcement learning agent that incrementally corrects violations of design rules (for instance, wires placed too close together).
The agent receives a reward each time it clears a violation and a small penalty for each step it takes, an incentive to find the shortest path to a clean design.
A rule checker flags violations, and the agent learns to fix them.
NVCell cuts work that previously occupied eight engineers for roughly 10 months to an overnight run on a single GPU.
The results match or exceed human designs with respect to the area each cell occupies, the power it consumes, and how quickly signals propagate through it.
Verification, which confirms that a finished design behaves as intended, is the longest stage.
Designing a GPU from end-to-end based on a prompt remains a distant goal, Dally said.
- Source 3:
Designing Arithmetic Circuits with Deep Reinforcement Learning
Supporting excerpts (21)
The latest NVIDIA Hopper GPU architecture has nearly 13,000 instances of AI-designed circuits.
The best PrefixRL adder achieved a 25% lower area than the EDA tool adder at the same delay.
Various important circuits in the GPU such as adders, incrementors, and encoders are prefix circuits that can be defined at a higher level as prefix graphs.
The state-space of all prefix graphs is large O(2^n^n) and cannot be explored using brute force methods.
A prefix graph is converted into a circuit with wires and logic gates using a circuit generator. These generated circuits are then further optimized by a physical synthesis tool using physical synthesis optimizations such as gate sizing, duplication, and buffer insertion.
The prefix graph is legalized to always maintain a correct prefix sum computation.
During an episode, the RL agent builds up the prefix graph step-by-step by adding or removing nodes. At each step, the agent receives the improvement in the corresponding circuit area and delay as rewards.
We use the Q-learning algorithm to train the circuit designer agent.
We use a fully convolutional neural network architecture for the agent as the input and output of the Q-learning agent are grid representations.
PrefixRL is a computationally demanding task: physical simulation required 256 CPUs for each GPU and training the 64b case took over 32,000 GPU hours.
We developed Raptor, an in-house distributed reinforcement learning platform that takes special advantage of NVIDIA hardware for this kind of industrial reinforcement learning (Figure 4).
In the context of PrefixRL, Raptor makes the distribution of work across a mix of CPUs, GPUs, and Spot instances possible.
We train various agents with various weights to obtain a Pareto frontier of designs that balance the tradeoff between area and delay.
We find that power consumption is well-correlated with area for our circuits of interest.
The RL agent learns to directly optimize the final circuit properties for a target technology node and library.
The RL agent can optimize the properties of the target arithmetic circuit and its surrounding logic jointly by including the surrounding logic during physical synthesis.
However, performing physical synthesis is a slow process (~35 seconds for 64b adders), which can greatly slow RL training and exploration.
We decouple reward calculation from state update as the agent only needs the current prefix graph state to take actions, and not circuit synthesis nor previous rewards.
Thanks to Raptor, we can offload the lengthy reward calculation onto a pool of CPU workers to perform physical synthesis in parallel, while actor agents step through the environment without needing to wait.
Synthesis rewards are cached to avoid redundant computation whenever a state is reencountered.
Figure 5 shows the latest results* that use 64b adder circuits designed by PrefixRL, Pareto-dominated adder circuits from a state-of-the-art EDA tool in area and delay.
- Source 4:
NVCell: Standard Cell Layout in Advanced Technology Nodes with Reinforcement Learning
Supporting excerpts (18)
High quality standard cell layout automation in advanced technology nodes is still challenging in the industry today because of complex design rules.
In advanced technology nodes, not only are the number of design rules exploding, but rules also have become more complex.
The DRC constraints can be enforced by the reward given by a environment where DRC analysis runs independently from the optimization.
We decompose the routing problem into two independent steps: initial routing and DRC fixing, and make the RL agent learn to fix DRCs on initial routes.
The sub-problem of DRC fixing is easier for RL to learn and it scales to large designs since DRC problems are local.
We propose a simulated annealing based algorithm for device placement and pin assignment.
We propose a machine learning based routability predictor to predict the routability of a given placement.
It helps NVCell generate competitive layouts on an additional 9.5% of cells.
It was able to produce the same quality of layout as the simulated annealing based placer on 84% of cells tested after training.
Trained on one standard cell, the model is transferable to all the standard cells we have tested in our library.
requires DRCs to be expressed in conditional equality or inequality form.
Given a set of PMOS and NMOS devices, the goal of placement is to place them on the PMOS row and NMOS row of the cell layout
NVCell is implemented with Python and runs on a server with multiple Intel Xeon CPUs where a maximum of 20 threads are used in the implementation.
It generates a simplified grid-based cell layout, which is given to a separate Perl program called Sticks to handle DRC checking and conversion to tapeout quality Cadence Virtuoso layout.
NVCell produces LVS/DRC clean cells for over 92% of a total of over 1000 single-row standard cells on an industrial standard cell library (multi-row cells are not currently supported by our Sticks program).
15% of these generated cells have shorter width (between 1 to 8 poly columns) than the same cells in the library, less than 2% of cells have longer width and the rest have the same width.
Both RL agents are implemented with the stable-baselines
PPO2 (GPU-enabled implementation of PPO) algorithm.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.