AI-Rewritten RTL: PPA Optimization Practice on a Flagship GPU
How large models rewrite register-transfer-level (RTL) code to improve power, performance, and area (PPA) on already mature designs, including a reported net gain of about 14% on a flagship GPU IP, silicon results on an in-house inference chip, evaluation methods, and the engineering constraints required for production use.
The second half of chip design: from process shrinks to architecture
On a given process node, performance gains usually come from two directions. One is process evolution that makes transistors smaller and faster. The other is microarchitectural optimization. The second requires engineers to repeatedly trade off power, performance, and area—commonly called PPA—inside RTL (register-transfer-level) code. After a design has been refined for years by a top team, the marginal cost of further improvement rises sharply. When a large model can propose circuit rewrites at the RTL level that can be validated through tape-out, industry attention naturally shifts from “AI writes code” to “AI does microarchitecture.”
RTL is a useful entry point because it sits between logic design and physical implementation. It describes more than the truth tables of combinational logic. It also captures timing boundaries, register transfers, state machines, interface protocols, and pipeline structure. Conventional tools already automate logic synthesis, place-and-route, and timing optimization, but “how to change the architecture” still depends heavily on human experience. Large models’ accumulated ability in code semantics, hardware description languages, and structural reasoning fills that gap.
Why PPA is hard to squeeze
PPA is a joint measure of power, performance, and area. In most cases the three constrain each other: cutting area can mean more logic levels or higher power; raising performance may require deeper pipelines or duplicated hardware; lowering power can eat into timing margin. “Optimization” is not minimizing a single number. It is finding a better combined result while meeting functional constraints and timing targets.
On a design that has already been optimized many times, the marginal PPA gain is often only a fraction of a percent. Further improvement often means reordering pipelines, rebuilding arithmetic trees, adjusting datapaths, or even changing module boundaries. Those changes are high risk. A small RTL edit can alter timing behavior so that simulation passes but the chip fails after bring-up. In the past, this work could only be advanced carefully by senior microarchitects.
The engineering loop for AI-rewritten RTL
When a large model takes part in RTL optimization, the core task is not “generate code that looks like hardware.” It is to build a loop that can be verified, converged, and signed off. In practice the flow usually has three parts:
- Inputs and constraints: give the model the baseline RTL, module interface definitions, port protocols, timing constraints, area and power budgets, and the necessary design notes.
- Candidate generation: the model attempts structural rewrites on critical paths in compute units, control logic, and data movement—for example, changing pipeline depth, regrouping arithmetic trees, improving register reuse, compressing state encoding, and adjusting arbitration and handshake logic.
- Verification and selection: every change is checked by the EDA toolchain, including syntax checks, functional simulation, equivalence verification, post-synthesis area assessment, timing analysis, and power estimation. Only candidates that are behaviorally equivalent and meet the constraints enter the next iteration.
The iteration loop can be sketched in pseudocode:
while not converged:candidate = model.generate_rtl(baseline, constraints)if not equivalence_check(candidate, baseline):continueif not timing_area_power_met(candidate, targets):continuescore = weighted_ppa(candidate)if score > best_score:baseline = candidate
The critical gate is behavioral equivalence. The model must not quietly change module function in order to save area. Every AI rewrite must be shown to match the original design in externally observable behavior. That is why AI-assisted RTL optimization has to be tied to a rigorous verification system, not judged only by model output.
Case: another 14% from a flagship GPU
Public information indicates that, on a flagship GPU IP that a design team had optimized repeatedly for years, AI used RTL as the entry point and achieved a net PPA improvement of up to about 14% in less than five months. What makes that figure notable is the baseline: it was not a rough “it runs” version, but a production-grade design already polished by top engineers.
In other words, architectural optimization experience that previously took a team years to accumulate was re-explored by a large model in a shorter time. The rewrites covered core circuits for compute, control, and data movement. This was not a stylistic translation of the code. It was a substantive change to microarchitecture while function stayed the same.
These AI-rewritten circuits did not remain in simulation reports. Some entered the most recent design sent to manufacturing, and others were written into production design files as the basis for later revisions. Entering a formal tape-out flow indicates that the AI-generated RTL already has production value. The same approach also delivered PPA gains of several percentage points on key blocks of a next-generation flagship CPU, which further supports that the method can transfer.
An in-house inference chip first: from simulation to silicon bring-up
Before this method was applied to a complex design such as a flagship GPU, it was validated in silicon on an inference chip developed in-house by the AI organization.
According to the disclosed case, the model redesigned a multiplier. After synthesis, area fell by about 15%, and compute latency dropped from two clock cycles to one. Another adder also shrank by about 15% in area, while latency stayed at two cycles. Overall, standard-cell area fell by about 13% in the vector unit and about 10% in the matrix unit.
More importantly, these numbers were not theoretical gains from simulation. They were measured after the chip was brought up. That means the rewritten RTL passed not only logic verification, but also physical implementation, timing closure, and silicon test. For chip design, that is more convincing than any offline score.
How to judge a large model’s chip-design ability
Whether a large model can truly “design chips” cannot be judged from one or two attractive cases. It also needs a reproducible evaluation system.
One public evaluation approach uses two open-source 32-bit processor cores as baselines and sets two task types:
- The first: given existing RTL, ask the model to optimize the design and raise throughput. This tests incremental optimization. The model must keep the interface and function while finding a better microarchitectural implementation.
- The second: provide only a written specification and an interface template. How to partition the datapath, how to design the pipeline, and how to distribute registers and combinational logic are all decided by the model. This is closer to microarchitecture from scratch and tests how deeply the model understands hardware structure.
This setup reduces the chance that success is limited to editing one private design. Open cores mean anyone can reproduce, compare, and review the results, which better reflects a large model’s real ability at RTL reasoning.
Four lines that production use must hold
AI rewriting of RTL has a broad outlook, but it is still a long way from fully automatic chip design. Real deployment should hold at least these four lines.
First, correctness comes first. RTL changes must go through equivalence checking, functional regression, coding-standard checks, and tests of exceptional cases. A structure that “looks reasonable” from the model can still fail at boundary conditions. Attractive performance numbers are not a reason to let it through.
Second, PPA goals must be clear. Different products weight power, performance, and area differently. A high-compute chip for the data center and a low-power chip for an endpoint device point optimization in completely different directions. If the objective is poorly defined, AI can easily “score” on one metric and lose balance overall.
Third, data security and access isolation. Chip design source code is a core asset and should not be uploaded freely to uncontrolled external services. In practice this usually means private deployment or controlled access, plus desensitization, module-by-module handling, and permission auditing, so that training and inference do not leak the design.
Fourth, engineers must keep sign-off authority. AI can assist an expert-level microarchitect, but it cannot replace the person who is ultimately responsible. Tape-out is extremely expensive. The signature has to come from someone who understands the design goals, the verification boundary, and the risks.
Trends and limits
From automatic place-and-route and logic synthesis to RTL-level microarchitectural optimization, AI’s role in chip design is moving from “tool” toward “co-designer.” In the flagship GPU case, the large model’s structural reasoning was already close to that of an expert microarchitect.
At the same time, AI rewriting of RTL still depends heavily on the verification toolchain, the constraints, and the judgment of human designers. It is better at searching for better solutions inside an existing architectural space than at independently defining a new computing paradigm. As large models couple more tightly with EDA tools, formal verification, and physical implementation, AI-assisted chip design may expand from block-level optimization to system-level co-design, and even into early architecture exploration.
For developers, the real opportunity is not to let AI design the chip for you. It is to place AI inside a rigorous engineering pipeline: use the model to explore structure, use tools to verify safety, and use experts to control risk. That is what allows AI-rewritten RTL to reach volume production.
