Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    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
    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

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Tom's Hardware

    2. DeepLearning.AI

    3. NVIDIA

    4. arXiv

    tl;drNVCell ports NVIDIA's standard cell library overnight on a single GPU, work that took 10 months.See the results

    View the solutionBuild this solution yourself

    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,”

    Bill Dally, chief scientist at NVIDIA1

    Technology and architecture

    Figure 1Two reinforcement learning loops in NVIDIA's circuit design
    Two reinforcement learning loops in NVIDIA's circuit designIn NVCell, a cell's transistors go to a simulated annealing placer, guided by a routability predictor. A genetic algorithm router proposes routes, and an RL DRC fixer repairs violations that the Sticks rule checker flags. Sticks outputs a Cadence Virtuoso layout. In PrefixRL, a Q-learning agent edits a prefix graph, a circuit generator turns it into a circuit, and a physical synthesis tool returns area and delay as the reward. Raptor trains the PrefixRL agent. No part is inferred.PMOS and NMOS devices (data) · Documented in source [4]routability (data) · Documented in source [4]placement (data) · Documented in source [4]candidate routes (data) · Documented in sources [2] [4]repaired layout (data) · Documented in source [4]violations (feedback) · Documented in source [2]clean layout (data) · Documented in source [4]trains (trigger or control) · Documented in source [3]prefix graph (data) · Documented in source [3]circuit (data) · Documented in source [3]area and delay reward (feedback) · Documented in source [3]NVCELL: STANDARD CELLSPREFIXRL: ARITHMETIC CIRCUITSCell transistors · Data · Documented in source [4]DATACell transistorsSimulated annealing placer · Step · Documented in source [4]SimulatedannealingplacerRoutability predictor · AI model · Documented in source [4]AI MODELRoutabilitypredictorGenetic algorithm router · Step · Documented in sources [2] [4]GeneticalgorithmrouterRL DRC fixer · AI model · Documented in sources [2] [4]AI MODELRL DRC fixerSticks rule checker · System · Documented in source [4]SYSTEMSticks rulecheckerCadence Virtuoso layout · Data · Documented in source [4]DATACadenceVirtuoso layoutPrefixRL Q-learning agent · AI model · Documented in source [3]AI MODELPrefixRLQ-learningagentCircuit generator · Step · Documented in source [3]CircuitgeneratorPhysical synthesis tool · System · Documented in source [3]SYSTEMPhysicalsynthesis toolRaptor training platform · System · Documented in source [3]SYSTEMRaptor trainingplatformPMOS andNMOS devicesroutabilityplacementcandidateroutesrepaired layoutviolationsclean layouttrainsprefix graphcircuitarea anddelay rewardTwo reinforcement learning loops in NVIDIA's circuit designIn NVCell, a cell's transistors go to a simulated annealing placer, guided by a routability predictor. A genetic algorithm router proposes routes, and an RL DRC fixer repairs violations that the Sticks rule checker flags. Sticks outputs a Cadence Virtuoso layout. In PrefixRL, a Q-learning agent edits a prefix graph, a circuit generator turns it into a circuit, and a physical synthesis tool returns area and delay as the reward. Raptor trains the PrefixRL agent. No part is inferred.PMOS and NMOS devices (data) · Documented in source [4]routability (data) · Documented in source [4]placement (data) · Documented in source [4]candidate routes (data) · Documented in sources [2] [4]repaired layout (data) · Documented in source [4]violations (feedback) · Documented in source [2]clean layout (data) · Documented in source [4]trains (trigger or control) · Documented in source [3]prefix graph (data) · Documented in source [3]circuit (data) · Documented in source [3]area and delay reward (feedback) · Documented in source [3]NVCELL: STANDARD CELLSPREFIXRL: ARITHMETIC CIRCUITSCell transistors · Data · Documented in source [4]DATACell transistorsSimulated annealing placer · Step · Documented in source [4]Simulatedannealing placerRoutability predictor · AI model · Documented in source [4]AI MODELRoutability predictorGenetic algorithm router · Step · Documented in sources [2] [4]Geneticalgorithm routerRL DRC fixer · AI model · Documented in sources [2] [4]AI MODELRL DRC fixerSticks rule checker · System · Documented in source [4]SYSTEMSticks rule checkerCadence Virtuoso layout · Data · Documented in source [4]DATACadenceVirtuoso layoutPrefixRL Q-learning agent · AI model · Documented in source [3]AI MODELPrefixRLQ-learning agentCircuit generator · Step · Documented in source [3]Circuit generatorPhysical synthesis tool · System · Documented in source [3]SYSTEMPhysical synthesis toolRaptor training platform · System · Documented in source [3]SYSTEMRaptor training platformPMOS and NMOS devicesroutabilityplacementcandidate routesrepaired layoutviolationsclean layouttrainsprefix graphcircuitarea and delay reward
    • AI component
    • Data
    • Trigger or control
    • Feedback
    Sources [2][3][4]
    Both agents learn from a checking tool: NVCell from a rule checker, PrefixRL from physical synthesis.
    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

    1. The PrefixRL agent adds a node to the prefix graph or removes one3.
    2. The environment legalizes the graph so that it always computes a correct prefix sum3.
    3. A circuit generator turns the legal graph into a circuit of logic gates and wires3.
    4. The physical synthesis tool optimizes the circuit with gate sizing, duplication, and buffer insertion3.
    5. 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

    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.

    Open the reference architecture

    Others who built it

    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

    1. Source 1:

      Nvidia says AI cuts 10-month, eight-engineer GPU design task to overnight job — company is still 'a long way' from AI designing chips without human input

      IndependentTom's Hardware, Apr 14, 202614 Apr 2026By Anton ShilovAccessed Nov 30, 202630 Nov 2026

      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,
    2. Source 2:

      How Nvidia Uses AI to Design Chips: Chipmaker's models design circuits, verify designs, and test new layouts

      IndependentDeepLearning.AI, May 8, 20268 May 2026Accessed Nov 30, 202630 Nov 2026

      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.
    3. Source 3:

      Designing Arithmetic Circuits with Deep Reinforcement Learning

      OrganizationNVIDIA, Jul 8, 20228 Jul 2022By Rajarshi RoyAccessed Nov 30, 202630 Nov 2026

      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.
    4. Source 4:

      NVCell: Standard Cell Layout in Advanced Technology Nodes with Reinforcement Learning

      AcademicarXiv, Jul 9, 20219 Jul 2021By Haoxing Ren, Matthew Fojtik, and Brucek KhailanyDocumentAccessed Nov 30, 202630 Nov 2026

      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.

    More in Engineering & Research

    View all