Google lays out TPU chip blocks with reinforcement learning
Google's AlphaChip, a reinforcement learning agent that practices on earlier chip blocks, places the large components of TPU blocks that physical design engineers once spent weeks laying out.
GoogleUnited StatesSemiconductorsIn production since Aug 2020
- Scale
- 25 blocks in Trillium, the sixth TPU generation; layouts in TPU generations through Ironwood and in Google Axion
- Scenario
- AI chip floorplanning
- Business function
- Engineering and design
- Kind of solution
- Scientific discovery and design
- Who built it
- Built in-house
- Human oversight
- Assists people
- Organization
- Enterprise, part of Alphabet
- AI types
- Generative AI, Machine learning, Optimization
tl;drAlphaChip placed 25 Trillium TPU blocks with 6.2% less wirelength than human experts.See the results
Google uses AlphaChip, a reinforcement learning method built by its own researchers, to lay out parts of its Tensor Processing Units (TPUs), the custom AI accelerators behind Gemini and Google Cloud1. AlphaChip automates chip floorplanning, the step where engineers decide where a block’s large components sit on the silicon. A production chip design team used to spend weeks iterating on that step by hand3.
AlphaChip layouts have gone into every TPU generation since 2020 and into Google’s Axion processors1, 2. At Hot Chips in August 2025, Google said AI had been used to design the arithmetic logic unit (ALU) circuits of Ironwood, the seventh-generation TPU, and to optimize its floor plan, in collaboration with the AlphaChip team11. In November 2025, as Ironwood reached Cloud customers, Google said AlphaChip had generated layouts for it too10.
In October 2022, 25 AlphaChip layouts taped out in Trillium, the sixth-generation TPU, up from 10 in TPU v5e two years earlier2. On Trillium’s blocks, they used 6.2% less wirelength than the placements of Google’s human experts4.
Before the deployment
A chip is divided into dozens of blocks, such as a memory subsystem, a compute unit, or a control logic system12. Each block has a netlist, a graph of macros such as SRAM memories, standard cells such as NAND and NOR gates, and the wires between them. Placement puts these parts on a chip canvas so that power, performance, and area come out well, while placement density and routing congestion stay within limits3.
At Google, a production chip design team placed the blocks. It ran many rounds of placement optimization over several weeks, guided by feedback from a commercial electronic design automation (EDA) tool3. The old process had the following problems:
- Size: Netlists run from millions to billions of nodes3.
- Slow scoring: Computing the true metrics for one candidate layout with industry-standard EDA tools can take many hours, sometimes more than a day12.
- Weeks per block: The best automated alternatives still needed human experts in the loop and took weeks for each of the dozens of blocks in a modern chip3. The Nature paper puts the effort at months of intense work by physical design engineers13.
- Industry cost: Floorplanning has traditionally been the longest and most labor-intensive phase of chip development. Even a less complex chip can take several months and millions of dollars5.
- Schedule: Chips take years to design, which leaves their designers optimizing for the machine learning models of two to five years later3.
For Google, the stakes were its own silicon. TPUs run Gemini, Imagen, and Veo, and Google Cloud offers them to outside users1. The DeepMind authors describe TPU design as a multi-billion-dollar project central to the company’s cloud and AI plans2.
What was built
AlphaChip treats placement as a game. Starting from a blank grid, the agent places one component at a time until all are placed, and only then is it rewarded, based on the quality of the finished layout1. The project began as a collaboration between Google Research and Google’s hardware and architecture teams12. The work is divided as follows:
- AlphaChip policy: Places the block’s macros, one per move, largest first, with ties broken by a topological sort. A large macro late in the sequence is then never left without a feasible spot3.
- Density mask: Removes, before each move, every grid cell where the macro would push density past its target or overlap another macro. Density is a hard rule, not something the agent learns3.
- Reward: Is zero for every move except the last, where it’s a negative weighted sum of proxy wirelength and congestion, subject to density limits3.
- Placement software: A force-directed method produces a rough placement of the standard cells. A greedy legalization step snaps each macro to the nearest legal position within the minimum spacing rules, and the macro positions are fixed3.
- EDA tool: Places the standard cells and evaluates the result3.
- TPU physical design team: Owns the block and decides whether to use the layout2.
Practice makes the agent fast on a new block. For TPU work, AlphaChip first pre-trains on blocks from earlier generations and then runs on the current generation’s blocks1. Pre-training is the reason the agent gets better and faster as it solves more placements1.
A pre-trained policy can place an unseen block in less than a second, because that takes a single inference step. Fine-tuning the policy on the block, for 2 or 6 hours in the 2020 tests, improves the placement further3.
The TPU physical design team took its time over the decision to use the layouts, and the method’s authors explain why2:
“their job is to deliver TPU chips and make them as efficient and reliable as possible, and they cannot afford to take unnecessary risks.”
Between the EDA tool’s report and tape-out, an AlphaChip block most likely goes through the same routing, timing, and power sign-off as a hand-placed one.
Rollout
In each generation, the method took a larger share of the blocks2 and provided more of the overall floorplan1. When Nature published the paper, Google said the published methods had been used in production to design the next generation of TPUs12, 13.
Technology and architecture
The following table lists the components of the solution.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Generative design model | AlphaChip | Places a block’s macros one at a time on a grid | 1, 3 |
| Embedding and ranking model | Edge-based graph neural network | Encodes the netlist and the next macro so the policy generalizes across blocks | 1, 3 |
| Data preparation | hMETIS | Groups millions of standard cells into a few thousand clusters | 2, 3 |
| Simulation or surrogate model | Proxy cost function | Scores each placement quickly from approximate wirelength and congestion | 2, 3 |
The graph neural network reads the netlist and the macro about to be placed and turns them into embeddings3, 12. The policy network combines these embeddings with netlist and technology metadata and gives a probability for every grid cell the macro could go to3. The encoder lets the agent learn how connected components relate and carry that from one chip to the next1.
Google trained the encoder first on a supervised task, predicting the wirelength and congestion of a placement. It then removed the prediction layer and reused the network as the policy’s encoder3. In the 2020 method, Proximal Policy Optimization (PPO) updated the policy from the reward of each finished placement3.
The parts around the policy keep each training step cheap. Reinforcement learning needs hundreds of thousands of examples, so the reward has to run in milliseconds, not in the hours an EDA tool takes3. The proxy cost function measures half-perimeter wirelength and the average congestion of the 10% most congested grid cells3, 12. In the 2020 tests, a commercial EDA tool’s output was the true reward, which judged the final placement instead of training the policy3.
Data inputs
AlphaChip uses the following data:
- Current block netlist: The block’s macros, standard cells, and their connections1, 3.
- Netlist and technology metadata: Horizontal and vertical routing capacity, and the number of nets, macros, and standard cell clusters3.
- Blocks from earlier TPU generations: Network blocks, memory controllers, and data transport buffers that pre-train the policy1, 2.
- Generated placements: A data set of 10,000 placements, 2,000 for each of 5 accelerator netlists, labeled with their wirelength and congestion to train the encoder3.
- EDA metrics: Wirelength, timing, area, and power from a commercial EDA tool, used as the ground truth for each placement3.
Training and code
The training setup and the workflow have the following parts:
- Training scale: The published setup used 512 RL experience collectors and 16 GPUs. The policy was pre-trained for 48 hours on 20 blocks for the main results2.
- Production workflow: A cluster rebalancing step that used an initial placement from physical synthesis has been removed, because an ablation without it showed no loss in quality2.
- Standard cell placer: The authors now recommend DREAMPlace over the original force-directed placer2.
- Open-source release: Another Google team, TF-Agents, replicated the published results and released its own implementation, because that one doesn’t rely on Google’s internal infrastructure2. The code is built on TF-Agents and TensorFlow 2.x and reads each block in the Netlist Protocol Buffer format7.
How one TPU block flows through the system
The 2020 paper documents the path of a single new block3:
- The policy arrives pre-trained on earlier TPU blocks1, 3.
- hMETIS groups the block’s standard cells into clusters3.
- The policy places the macros one at a time. The proxy cost function scores each finished placement3.
- During fine-tuning, that score updates the policy, round after round, until the placements stop improving3.
- The legalization step snaps the best macro placement to legal positions and fixes it3.
- The EDA tool places the standard cells and produces the final timing, area, power, and wirelength figures3.
- The block’s engineers judge the layout by those figures and decide whether to use it2, 3.
Results
AlphaChip’s production results are its tape-outs in three TPU generations, and its earlier results come from tests in 20202, 3. The following table lists the results.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Wirelength against human experts’ placements | Human expert placement | 3.2% less | 10 blocks, TPU v5e | Google DeepMind, measured, via The Decoder1, 4 |
| Wirelength against human experts’ placements | Human expert placement | 6.2% less | 25 blocks, Trillium | Google DeepMind, measured, via The Decoder1, 4 |
| AlphaChip layouts taped out per TPU generation | 10 in TPU v5e (2020) | 25 blocks in Trillium (2022) | With 15 in TPU v5p (2021) | Google DeepMind authors, measured1, 2 |
| Time to place one TPU block | Several weeks of expert iteration | under 6 hours | Five unseen TPU blocks, 2020 tests | Google authors, pilot3, 13 |
| Blind ranking against two commercial autoplacers | Not disclosed | Won 13 to 4 and 15 to 1, with ties | 20 TPU blocks, May 2020 | Google DeepMind authors, pilot2 |
The metrics measure the following:
- Wirelength: The total length of wire that connects a block’s components. The reward is built around it because it’s much cheaper to evaluate than the final metrics and correlates with power and timing3. The baseline is the TPU physical design team’s own placements1.
- Layouts taped out: In each generation, the method was adopted in a greater share of the blocks and beat the human experts by a wider margin2.
- Time to place: A policy pre-trained on 20 TPU blocks was fine-tuned on five unseen ones. The baseline is the production team’s manual placements over several weeks3. AlphaChip and the human experts both met the timing and congestion criteria, and AlphaChip outperformed or matched the manual placements in worst negative slack, area, power, and wirelength3.
- Blind ranking: For each of 20 TPU blocks in May 2020, the engineer responsible ranked anonymized placements from AlphaChip, human experts, and two commercial autoplacers on final quality metrics. A panel of seven physical design experts then reviewed the rankings before the placements were unblinded. AlphaChip produced the best placement most often, followed by the human experts and then the commercial tools2.
Lessons learned
Use that kept growing on a multi-billion-dollar product is the strongest point in AlphaChip’s favor. The TPU physical design team, which the authors describe as unable to afford unnecessary risks, gave it more blocks in each generation from 2020 to 2022, and Google later took it into Axion and Ironwood2, 10. The blind study also hid the method from the engineers who ranked the placements, and a second panel checked their rankings2.
Every figure about the deployment comes from Google’s own researchers, and the news coverage relays the company’s numbers4. The TPU blocks behind the figures are proprietary, which outside critics have objected to2. The claim of deployment across four TPU generations comes from Goldie and Mirhoseini, who had founded the startup Ricursive Intelligence by January 202614.
Wirelength, the headline metric, is itself a proxy for what a block is signed off on. The authors concede that proxy costs in machine learning optimization are often only weakly correlated with the real objective2. The 2020 power and timing comparisons cover five blocks in a test, not a shipped chip3.
Since February 2023, Chung-Kuan Cheng, Andrew Kahng, and colleagues have publicly questioned the method’s performance claims2, 6. Nature added an editor’s note in September 2023 saying it was investigating, and in September 2024 an addendum that the authors describe as upholding the work2. Igor Markov criticized the method in Communications of the ACM in November 2024, and the authors responded that he hadn’t mentioned his high-level role at Synopsys, which licenses competing tools2.
The DeepMind authors replied that Cheng’s team skipped pre-training, used 20x fewer experience collectors and half as many GPUs, and didn’t train to convergence2. It also tested at 45nm and 12nm instead of sub-7nm, older nodes where congestion behaves differently and the reward’s congestion or density terms might need adjusting2. The critics’ updated assessment, in IEEE Transactions on CAD, tests the latest release on new sub-10nm public benchmarks and still lists missing confirmations of the code’s scalability and pre-training method6.
“In reality, we had to work for a long time to build enough trust for the TPU team to use our layouts, even after AlphaChip was outperforming human experts on the metrics,” the authors wrote2. As of September 2024, Google and MediaTek used AlphaChip on a limited set of blocks, and human developers still do the bulk of the work5.
Case study scorecard
- 6.2% less wirelength than human experts' placements1, 4
- 3.2% less wirelength in TPU v5e1, 4
- 25 blocks taped out with AlphaChip layouts in Trillium1, 2
- under 6 hours to place a TPU block3, 13
Sources by publication date
- Organization 3
- Vendors and partners 3
- Press, academic, and regulators 8
- 1 undated
Build this solution yourself
Analysis
What you need
To build this solution, you need the following in place:
- A library of your own past blocks: The agent pre-trains on earlier TPU generations before it places a new block. Its authors advise pre-training on your own application-specific blocks instead of relying only on the public checkpoint1, 4.
- Compute for pre-training: The published setup used hundreds of experience collectors and a GPU cluster for days of pre-training. Google puts the critics’ different results partly down to running it with far less2.
- A design team that tests and then trusts the layouts: The TPU team ranked machine layouts blind, and trusting them still took a long time even with the numbers in hand2.
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. A surrogate scorer predicts what a slow high-accuracy check would report for each candidate, and screening filters cut the list to a shortlist that the check confirms. Domain experts choose what to make, build, or run from that shortlist, and the results of the high-accuracy check become training data for the models.
- Ranking model (documented in this case study)
- Candidate generator (documented in this case study)
- Domain libraries
- Surrogate scorer (documented in this case study)
- Screening filters
- Run orchestration
- Elastic compute
- Training pipeline
- Design workspace
- Discovery platform
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- MediaTek extended AlphaChip to speed development of its most advanced chips, including the Dimensity Flagship 5G used in Samsung smartphones4.
- Samsung began deploying Synopsys DSO.ai, a reinforcement learning design optimizer, on multiple projects in the fall of 20208.
- SK hynix used DSO.ai on a project that cut cell area by 15% and shrank the die by 5%, as of February 20239.
In the library
- Google's AlphaEvolve AI agent recovers 0.7% of its compute Google
- Unilever's beauty labs cut formulation rounds with AI Unilever
- Syensqo finds a new polymer in 18 months with AI screening Syensqo
- AI vets every BMS small molecule design before the lab Bristol Myers Squibb
- PepsiCo plant digital twins lift throughput 20% in pilot PepsiCo
- AI surrogates cut GM's drag analysis from weeks to minutes General Motors
Cite this case study
Enterprise AI Case Studies. "Google lays out TPU chip blocks with reinforcement learning." Updated Nov 19, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-008-ai-assisted-chip-design/
@misc{csai-er-008,
author = {{Enterprise AI Case Studies}},
title = {{Google lays out TPU chip blocks with reinforcement learning}},
year = {2026},
note = {Updated 2026-11-19},
url = {https://case-studies.ai/case-studies/engineering-and-research/ER-008-ai-assisted-chip-design/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
How AlphaChip transformed computer chip design
Supporting excerpts (23)
Anna Goldie and Azalia Mirhoseini
In 2020, we released a preprint introducing our novel reinforcement learning method for designing chip layouts, which we later published in Nature and open sourced.
The method has been used to design superhuman chip layouts in the last three generations of Google’s custom AI accelerator, the Tensor Processing Unit (TPU).
It generates superhuman or comparable chip layouts in hours, rather than taking weeks or months of human effort
Because of its sheer complexity, chip designers have struggled to automate the chip floorplanning process for over sixty years.
we built AlphaChip to approach chip floorplanning as a kind of game.
Starting from a blank grid, AlphaChip places one circuit component at a time until it’s done placing all the components. Then it’s rewarded based on the quality of the final layout.
A novel “edge-based” graph neural network allows AlphaChip to learn the relationships between interconnected chip components and to generalize across chips, letting AlphaChip improve with each layout it designs.
AlphaChip has generated superhuman chip layouts used in every generation of Google’s TPU since its publication in 2020.
TPUs lie at the heart of our powerful generative AI systems, from large language models, like Gemini, to image and video generators, Imagen and Veo.
These AI accelerators also lie at the heart of Google's AI services and are available to external users via Google Cloud.
To design TPU layouts, AlphaChip first practices on a diverse range of chip blocks from previous generations, such as on-chip and inter-chip network blocks, memory controllers, and data transport buffers. This process is called pre-training. Then we run AlphaChip on current TPU blocks to generate high-quality layouts.
Unlike prior approaches, AlphaChip becomes better and faster as it solves more instances of the chip placement task, similar to how human experts do.
With each new generation of TPU, including our latest Trillium (6th generation), AlphaChip has designed better chip layouts and provided more of the overall floorplan, accelerating the design cycle and yielding higher-performance chips.
Bar graph showing the number of AlphaChip designed chip blocks across three generations of Google’s Tensor Processing Units (TPU), including v5e, v5p and Trillium.
Bar graph showing AlphaChip’s average wirelength reduction across three generations of Google’s Tensor Processing Units (TPUs), compared to placements generated by the TPU physical design team.
AlphaChip has generated layouts for other chips across Alphabet, such as Google Axion Processors, our first Arm-based general-purpose data center CPUs.
MediaTek, one of the top chip design companies in the world, extended AlphaChip to accelerate development of their most advanced chips while improving power, performance and chip area.
We’re also releasing a pre-trained checkpoint, sharing the model weights and announcing its name: AlphaChip.
our senior author Jeff Dean
AlphaChip’s groundbreaking AI approach revolutionizes a key phase of chip design.
Senior Vice President of MediaTek
Future versions of AlphaChip are now in development
- Source 2:
That Chip Has Sailed: A Critique of Unfounded Skepticism Around AI for Chip Design
Supporting excerpts (51)
Anna Goldie1,3, Azalia Mirhoseini1,3, and Jeff Dean1,2
It has also generated superhuman chip layouts used in three generations of TPU (see Figure 1), datacenter CPUs (Axion), and other chips across Alphabet
a non-peer-reviewed invited paper at ISPD 2023 questioned its performance claims
Apr 2020: Released arXiv preprint of our Nature paper
Aug 2020: 10 AlphaChip layouts taped out in TPU v5e.
Jun 2021: Published Nature article
Sep 2021: 15 AlphaChip layouts taped out in TPU v5p.
Jan 2022 - Jul 2022 : Open-sourced AlphaChip
This involved independent replication of the results in our Nature paper by another team at Google.
Oct 2022: 25 AlphaChip layouts taped out in Trillium (latest public TPU).
Feb 2023: Cheng et al. posted on arXiv
Sep 2023 : Nature posted Editor’s note stating that they are investigating our paper, and initiated second peer review process
Mar 2024: 7 AlphaChip layouts adopted in Google Axion Processors (ARM-based CPU).
Sep 2024: Nature published Addendum upholding our work
In each generation, it has been adopted in a greater proportion of blocks and has outperformed human experts by a wider margin.
AlphaChip has been deployed in other hardware across Alphabet that we cannot yet disclose.
a multi-billion-dollar project that is central to Google’s cloud and AI initiatives
In reality, we had to work for a long time to build enough trust for the TPU team to use our layouts, even after AlphaChip was outperforming human experts on the metrics
their job is to deliver TPU chips and make them as efficient and reliable as possible, and they cannot afford to take unnecessary risks.
In May of 2020, we performed a blind internal study
comparing our method against the latest version of two leading commercial autoplacers. Our method outperformed both, beating one 13 to 4 (with 3 ties) and the other 15 to 1 (with 4 ties).
Unfortunately, standard licensing agreements with commercial vendors prohibit public comparison with their offerings.
Our blind study compared RL to human experts and commercial autoplacers on 20 TPU blocks.
First, the physical design engineer responsible for placing a given block ranked anonymized placements from each of the competing methods, evaluating purely on final QoR metrics with no knowledge of which method was used to generate each placement.
Next, a panel of seven physical design experts reviewed each of the rankings and ties.
The comparisons were unblinded only after completing both rounds of evaluation.
The result was that the best placement was produced most often by RL, followed by human experts, followed by commercial autoplacers.
it did not pre-train the RL method (removing its ability to learn from prior experience), used substantially fewer compute resources (20x fewer RL experience collectors and half as many GPUs)
did not train to convergence (standard practice in machine learning), and evaluated on test cases that are not representative of modern chips
20x fewer RL experience collectors (26 vs 512 in Nature) and 2x fewer GPUs (8 vs 16 in Nature)
Using less compute is likely to harm performance
have much older and larger technology node sizes (45nm and 12nm vs sub-7nm in Nature)
we pre-trained on 20 blocks in our main data table
we pre-trained for 48 hours for the results in our main data table
On the open-source Ariane RISC-V CPU, the randomly initialized policy took 48 hours to approach what the pre-trained policy could produce in 6 hours.
for older technology node sizes, our method may benefit from adjustment to the congestion or density components of its reward function
causing routing congestion issues to emerge at lower density
all of our work is at 7nm, 5nm, and more recent processes
an approximate initial placement from physical synthesis, the previous step of the chip design process
was used to resolve imbalances in the sizes of standard cell clusters from hMETIS
We ran an ablation study which eliminated any use of initial placement whatsoever, and observed no degradation in performance
is unnecessary and has already been removed from our production workflow
Proxy costs used in ML-based optimization are often only weakly correlated with the target objective.
TF-Agents first replicated the results in our Nature article using our codebase, then reimplemented our method and replicated our results using their own implementation, and then open-sourced their implementation as it does not rely on any internal infrastructure.
the proxy cost function and force-directed (FD) standard cell placer
we now recommend using DREAMPlace
for standard cell placement, rather than FD, as it yields superior performance.
Igor Markov published a criticism of our work in the November 2024 issue of Communications of the ACM
Markov also failed to disclose his role as a high-level employee at Synopsys, a company which licenses commercial tools that compete with our open-source method.
One of the criticisms put forth in Cheng et al. was that the Nature evaluation was done on proprietary TPU blocks
to our knowledge, there are no open benchmarks available for cutting edge processes.
- Source 3:
Chip Placement with Deep Reinforcement Learning
Supporting excerpts (39)
in under 6 hours, our method can generate placements that are superhuman or comparable on modern accelerator netlists, whereas existing baselines require human experts in the loop and take several weeks.
The objective is to place a netlist graph of macros (e.g., SRAMs) and standard cells (logic gates, such as NAND, NOR, and XOR) onto a chip canvas, such that power, performance, and area (PPA) are optimized, while adhering to constraints on placement density and routing congestion
Despite decades of research on this problem, it is still necessary for human experts to iterate for weeks with the existing placement tools
The problem’s complexity arises from the sizes of the netlist graphs (millions to billions of nodes)
the highest-performing alternatives require human experts in the loop and take several weeks for each of the dozens of blocks in a modern chip.
years to design, leaving us with the speculative task of optimizing them for the machine learning (ML) models of 2-5 years from now.
The manual baseline is generated by a production chip design team, and involved many iterations of placement optimization, guided by feedback from a commercial EDA tool over a period of several weeks.
an RL agent (policy network) sequentially places the macros; once all macros are placed, a force-directed method is used to produce a rough placement of the standard cells
the reward is 0 for all actions except the last action where the reward is a negative weighted sum of proxy wirelength and congestion, subject to density constraints
Our true reward is the output of a commercial EDA tool
a component of our cost is wirelength, because it is not only much cheaper to evaluate, but also correlates with power and performance (timing).
RL policies require 100,000s of examples to learn effectively, so it is critical that the reward function be fast to evaluate, ideally running in a few milliseconds.
We group millions of standard cells into a few thousand clusters using hMETIS
To keep the runtime per iteration small, we apply several approximations to the calculation of the reward function
we only consider the average congestion of the top 10% most congested grid cells
We use Proximal Policy Optimization (PPO)
we treat density as a hard constraint, masking out actions (grid cells to place nodes onto) whose density exceeds the target density
it reduces the number of invalid placements generated by the policy network, and (2) it reduces the search space of the optimization problem
This approach prevents the policy network from generating placements with overlapping macros or dense standard cell areas.
we sort macros by descending size and break ties using a topological sort. By placing larger macros first, we reduce the chance of there being no feasible placement for a later macro.
this enlarged action space would significantly increase the complexity of the problem, and we found that this heuristic worked in practice.
We represent the netlist as a system of springs that apply force to each node
we perform a greedy legalization step to snap macros onto the nearest legal position while honoring the minimum spacing constraints. We then fix the macro placements and use an EDA tool to place the standard cells and evaluate the placement.
metadata, including information about the underlying semiconductor technology (horizontal and vertical routing capacity), the total number of nets (edges), macros, and standard cell clusters
We therefore created a dataset of 10,000 chip placements where the input is the state associated with a given placement and the label is the reward for that placement (wirelength and congestion).
We built this dataset by first picking 5 different accelerator netlists and then generating 2,000 placements for each netlist.
To incorporate this architecture into our policy network, we removed the prediction layer and then used it as the encoder component of the policy network
Such a placement can be generated in less than a second, because it only requires a single inference step of the pre-trained policy network.
We can further optimize placement quality by finetuning the policy network.
For each block, the zero-shot results, as well as the finetuned results after 2 and 6 hours of training are shown.
it also reduces the training time 8-fold compared to training the policy from scratch.
it takes longer for the policy network to overfit on largest dataset and the policy network pre-trained on this larger dataset yields better results on the test data.
each block contains up to a few hundred macros and millions of standard cells.
we use a policy pre-trained on the largest dataset (of 20 TPU blocks) and then fine-tune it on 5 target unseen blocks
SA takes 18 hours to converge, whereas our method takes no more than 6 hours.
produces placements with 14.4% higher wirelength and 24.1% higher congestion on average.
we treat the output of a commercial EDA tool as ground truth
Both our method and human experts consistently generate viable placements, meaning that they meet the timing and congestion design criteria.
We also outperform or match manual placements in WNS, area, power, and wirelength.
- Source 4:
Google DeepMind opens up AlphaChip, letting researchers train AI on custom chip designs
Supporting excerpts (4)
For the TPU v5e, AlphaChip placed 10 blocks and reduced wire length by 3.2% compared to human experts. For the current 6th generation called Trillium, this increased to 25 blocks and a 6.2% reduction.
Google DeepMind is also providing a pre-trained model checkpoint trained on 20 TPU blocks.
However, the researchers recommend pre-training on custom, application-specific blocks for best results.
Chip manufacturer MediaTek has expanded AlphaChip for developing its most advanced chips, including the Dimensity Flagship 5G for Samsung smartphones.
- Source 5:
Google unveils AlphaChip AI-assisted chip design technology: chip layout as a game for a computer
Supporting excerpts (4)
Chip design layout, or floorplan, has traditionally been the longest and most labor-intensive phase of chip development.
Floorplanning of something less complex can take several months, meaning millions of dollars in costs, as design teams are usually quite significant.
In recent years, Synopsys has developed AI-assisted chip design tools that can accelerate development and optimize a chip's floorplan. However, these tools are pretty costly.
Still, both Google and MediaTek rely on AlphaChip for a limited set of blocks, and human developers still do the bulk of the work.
- Source 6:
An Updated Assessment of Reinforcement Learning for Macro Placement
Supporting excerpts (7)
Chung-Kuan Cheng, Andrew B. Kahng, Sayak Kundu, Yucheng Wang, Zhiang Wang
We provide an improved assessment of Google Brain's deep reinforcement learning approach to macro placement and its updated Circuit Training (CT) implementation in GitHub.
We develop and release new public benchmarks in sub-10nm technology
We evaluate from-scratch training and fine-tuning results for the latest "AlphaChip" release of Circuit Training, alongside multiple alternative macro placers.
A commercial place-and-route tool is used to provide "true reward" post-route power, performance and area metrics.
points out still-missing confirmations (e.g., of CT's scalability and pre-training methodology) that remain open questions for the research community.
This paper has been accepted and published in IEEE Transactions on CAD
- Source 7:
Circuit Training: AlphaChip open-source repository
Supporting excerpts (6)
AlphaChip is built on top of TF-Agents and TensorFlow 2.x with support for eager execution, distributed training across multiple GPUs, and distributed data collection scaling to 100s of actors.
Places netlists with hundreds of macros and millions of stdcells (in clustered format).
Computes both macro location and orientation (flipping).
Optimizes multiple objectives including wirelength, congestion, and density.
Supports DREAMPlace as the stdcell placer.
Netlist Protocol Buffer used as the input for AlphaChip.
- Source 8:
Synopsys Expands Use of AI to Optimize Samsung's Latest Mobile Designs
Supporting excerpts (2)
DSO.ai uses reinforcement learning, an AI technology similar to that used in self-driving vehicles, to achieve better performance, power and area (PPA).
An early development partner of Synopsys' autonomous design technology, Samsung began deploying DSO.ai to multiple projects in the fall of 2020.
- Source 9:
AI-designed Chips Reach Scale with First 100 Commercial Tape-outs Using Synopsys Technology
Supporting excerpts (2)
said Junhyun Chun, head of SoC (System on Chip) at SK hynix
a recent project where DSO.ai delivered a 15% cell area reduction and a 5% die shrink
- Source 10:
3 things to know about Ironwood, our latest TPU
Supporting excerpts (2)
Ironwood our seventh-generation Tensor Processing Unit (TPU) is now available for Cloud customers.
Our researchers even use AI to design the next chip generation — a method called AlphaChip — which has used reinforcement learning to generate superior layouts for the last three TPU generations, including Ironwood.
- Source 11:
Google Ironwood TPU Swings for Reasoning Model Leadership at Hot Chips 2025
Supporting excerpts (2)
Closing out the machine learning sessions at Hot Chips 2025 is Google, who is at the show to talk about their latest tensor processing unit (TPU), codenamed Ironwood.
AI was used in designing the ALU circuits and optimizing the floor plan. Google collaborated with the AlphaChip team in this endeavor.
- Source 12:
Chip Design with Deep Reinforcement Learning
Supporting excerpts (7)
Update, June 9, 2021: Today in Nature, we've published methods that improve on what is discussed below, and that have been used in production to design the next generation of Google TPUs.
A computer chip is divided into dozens of blocks, each of which is an individual module, such as a memory subsystem, compute unit, or control logic system.
the exorbitant cost of computing the true target metrics, which can take many hours (sometimes over a day) using industry-standard electronic design automation tools.
The netlist graph and the current node are passed through an edge-based graph neural network that we developed to encode the input state.
the standard cell clusters are placed by a force-directed method, which models the circuit as a system of springs to minimize wirelength.
the pre-trained policy organically identifies an arrangement that places the macros near the edges of the chip with a convex space in the center in which to place the standard cells.
This project was a collaboration between Google Research and Google Hardware and Architecture teams.
- Source 13:
A graph placement methodology for fast chip design
Supporting excerpts (3)
Despite five decades of research1, chip floorplanning has defied automation, requiring months of intense effort by physical design engineers to produce manufacturable layouts.
In under six hours, our method automatically generates chip floorplans that are superior or comparable to those produced by humans in all key metrics, including power consumption, performance and chip area.
Our method was used to design the next generation of Google’s artificial intelligence (AI) accelerators, and has the potential to save thousands of hours of human effort for each new generation.
- Source 14:
Supporting excerpts (2)
Founded by Anna Goldie (CEO) and Azalia Mirhoseini (CTO), who worked on AI for chip design at Google DeepMind
Goldie and Mirhoseini also created AlphaChip, which they claim has been deployed across four generations of Google’s TPU and by external semiconductor companies.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.