AI Rewrites RTL: 14% PPA Gains in Five Months
An AI model directly rewrote RTL code for flagship chips, delivering up to 14% PPA improvement on a heavily optimized design in under five months. This article covers how the generate-verify loop works, why RTL-level optimization yields such gains, and what the results mean for chip design workflows.
AI Is Now Editing the Circuit Itself
In digital chip design, PPA—power, performance, and area—remains the core measure of design quality. The more advanced the process node, the harder PPA optimization becomes. On a flagship chip that a top-tier team has spent years polishing, squeezing out even a few percentage points of improvement typically consumes enormous engineering effort.
Recently, a new approach has emerged: letting an AI model directly rewrite a chip’s register transfer level (RTL) code. RTL is the central abstraction of front-end digital design, determining how data flows between registers, how compute units are organized, and how control logic is scheduled.
In this practice, the AI’s changes covered three classes of critical circuits:
- Compute units: arithmetic logic, multiplier/adder structures, vector units, and matrix units;
- Control logic: state machines, pipeline control, enable signals, and scheduling logic;
- Data movement: bus structures, cache access, memory read/write scheduling, and interconnect paths.
The design baseline was already a “highly optimized” version that the engineering team had worked on for years. After the AI stepped in, the core PPA metric improved by up to 14% in less than five months. That is a remarkable figure, especially considering the starting point was not an early prototype but a mature design approaching production quality.
Why RTL Rewriting Yields Such Large Gains
The optimization headroom at the RTL level is often larger than at the backend layout-and-routing stage, because RTL defines the circuit’s “skeleton.” The same functionality can be implemented with different data path partitioning, pipeline depths, operand encodings, and resource-sharing strategies. Human engineers, constrained by experience, time, and design habits, tend to make incremental adjustments on an existing architecture. AI can explore a much broader space of candidate structures far faster.
Specifically, RTL rewriting can deliver gains at several levels:
- Timing optimization: adjusting pipeline stages, reordering adder trees and multiplier structures, and reducing logic depth on critical paths to lower critical path delay;
- Power optimization: reducing toggle rates on control signals, eliminating useless logic activity, and refining data-enable strategies to cut dynamic power;
- Area optimization: merging redundant logic, improving resource sharing, and simplifying state machine encodings to reduce standard cell area.
Power, performance, and area often constrain one another. The real gain is not simply “making one metric smaller,” but finding a better overall trade-off while meeting timing constraints.
The Verification Loop: AI Doesn’t “Blindly Edit”—It Verifies as It Goes
RTL directly determines functional correctness, so AI-generated code must be rigorously verified. PPA gains cannot come at the cost of semantic errors. The process is therefore not a one-shot generation, but a closed loop of generation, verification, evaluation, and correction. The flow looks roughly like this pseudocode:
candidate_RTL = model.generate(current_RTL, constraints, historical_feedback)if equivalence_check(candidate_RTL, original_RTL) fails:feed_back_to_model: "semantic mismatch, please fix"else:area, power, timing = synthesis_evaluation(candidate_RTL, target_process_library)if synthesis_result better than current_best:update current_RTL_baseline
Every modification must pass through a mature EDA toolchain. First, the new module is confirmed to behave identically to the original, guaranteeing no functional change. Then synthesis, timing analysis, power estimation, and area evaluation are performed. Only candidates that pass verification move on to the next iteration.
This is fundamentally different from “letting AI write code at random.” The AI searches within a framework constrained by functional equivalence and physical process library rules, and every candidate goes through engineering-grade review. That is precisely why the optimization is trustworthy and can be adopted by upstream and downstream design flows.
AI-Rewritten Circuits Have Already Taped Out
The most notable aspect of this work is that it did not stop at papers or simulation. The AI-generated RTL has been actually adopted by the chip vendor and written into official design flows:
- Part of the AI-generated code has already entered design versions recently sent to fabrication;
- Another portion has been written into production design files, reserved for future versions;
- This usage implies the AI-generated designs passed the vendor’s rigorous internal quality review and are engineering-deliverable.
The benefits extend beyond GPUs to CPUs as well. The vendor’s own verification showed that using model-generated designs on several key modules of its next-generation flagship CPU delivered single-digit percentage PPA improvements.
A lead from the AI research organization has publicly stated that this work not only demonstrates stronger AI capability but also delivers significant economic value. The model’s reasoning ability at the RTL level has been characterized as that of an “expert-level microarchitect.”
Proven First on In-House Chips: Silicon Results, Not Simulation
This method did not start by challenging someone else’s flagship chip. The AI organization first completed full validation on its own in-house inference chip. In early 2025, the team put its then-iterating large language model into the assistive design flow for that chip, with very concrete results:
- A multiplier: after model redesign, synthesis area shrank by about 15%, and per-operation latency dropped from 2 clock cycles to 1;
- An adder: area also shrank by about 15%, with latency held at 2 clock cycles;
- A vector unit: standard cell area reduced by about 13%;
- A matrix unit: standard cell area reduced by about 10%.
More importantly, these numbers are not theoretical values from simulation reports. After the chip was powered on in silicon, measured results matched design expectations. This shows that AI-driven RTL optimization can survive not only EDA verification but also real physical conditions.
Benchmarking Generalization with Open-Source Processor Cores
To map the boundaries of AI’s chip design capability, the team built a dedicated evaluation system using two open-source 32-bit RISC processor cores, testing two types of tasks.
Task one is “optimizing an existing design”: given ready-made RTL code, the AI must optimize the design without changing functionality, improving throughput.
Task two is “generating a design from requirements”: given only a written requirements document and an interface template, the AI must independently decide the data path design and pipeline partitioning. Task two is harder, because it requires not just code comprehension but also a degree of architectural decision-making.
These two tasks probe AI capability from different angles: the former tests “optimization under constraints,” while the latter tests “design in an open-ended problem.” The results showed that AI can not only optimize individual modules but also conduct structural exploration at the processor core level.
Challenges and Limits: AI Won’t Replace Architects
Despite the impressive results, this capability should not be overstated. The gains from AI-rewritten RTL depend heavily on the design baseline, constraints, process library, and available optimization headroom. Achieving 14% on a deeply optimized design does not mean every module will see the same results.
AI-assisted chip design also faces several practical challenges:
- High verification cost: every RTL change requires equivalence checking, synthesis, timing analysis, and power evaluation, consuming massive compute resources;
- Maintainability: AI-generated RTL may be less readable than hand-written code, requiring added comments, standardized naming, and compliance with team code management practices;
- Human-AI boundaries: AI explores candidate solutions, but final technical decisions, exception handling, and risk judgment still require human architects;
- Workflow integration: AI-generated results must plug into existing EDA flows, version control, IP reuse rules, and design standards to deliver real value.
Conclusion
AI rewriting RTL marks an important turning point: the creative work of chip design is now being systematically engaged by AI. In the past, AI played a mostly supporting role in chip design—prediction, detection, local optimization. Now it can enter the RTL level, the core of the design hierarchy, and deliver tape-out-ready, reusable, production-viable results on flagship chips.
The takeaway for developers is this: AI is not a toy for “auto-generating code” but a new engineering design partner. It needs to be placed inside a rigorous verification loop and bound by rules before it can graduate from “generating ideas” to “delivering results.” As AI’s understanding of microarchitecture, PPA trade-offs, and process physics deepens, chip design efficiency may enter a new phase.
