Toward Autonomous RTL and Synthesis Optimization: Benchmarking and Self-Improving Agents

Wenji Fang, Yao Lu, Jinghua Wang, Zhiyao XiearXiv 2026 · arXiv

TL;DR

This paper introduces Dr. RTL, a self-improving multi-agent framework that autonomously optimizes hardware designs (RTL) to achieve better performance and area than even top-tier commercial synthesis tools. By grounding Large Language Models (LLMs) in real-world Electronic Design Automation (EDA) feedback and a reusable "skill library," the authors demonstrate that AI can find significant optimization opportunities that traditional tools miss.

What Problem Does This Paper Address?

In digital circuit design, engineers write Register-Transfer Level (RTL) code, which synthesis tools then transform into a physical netlist of gates. There is a long-standing "synergy" problem: a clever RTL rewrite might improve a design's Power, Performance, and Area (PPA), but modern commercial synthesis tools are so advanced that they often perform these optimizations automatically.

This raises a critical question: Which RTL optimization opportunities actually remain after a high-end synthesis tool has done its job?

Most existing research evaluates AI-driven RTL optimization against "weak" open-source tools or manually degraded designs. This paper argues that for AI to be truly useful, it must be benchmarked against realistic, industrial-grade workflows and must be able to "ground" its decisions in actual timing and area reports from those tools.

Methods

The authors propose a three-pronged approach to autonomous hardware optimization:

  1. Realistic Benchmarking: They introduce two evaluation settings: RTL-OPT (reference-based), which compares AI results against human-optimized designs, and an Open-ended setting that challenges the AI to improve original, high-quality human-written code.
  2. Dr. RTL (The Agentic Framework): This is a multi-agent system that operates in a closed loop with commercial EDA tools.
  3. Timing Analysis Agent: Diagnoses bottlenecks by mapping critical paths from synthesis reports back to specific RTL structures.
  4. RTL Optimization Agent: Generates multiple candidate rewrites (e.g., sequential rebalancing, combinational simplification) in parallel.
  5. Evaluation Agent: Runs commercial synthesis and Sequential Equivalence Checking (SEC) to ensure the design still works correctly and measure PPA.
  6. Skill Learning: Instead of just guessing, Dr. RTL distills successful optimization trajectories into a Reusable Opt Skill Library. It learns "pattern-strategy" pairs (e.g., "if you see a long mux chain, try condition pre-computation") that it can apply to future, unseen designs.
Figure 3: Overview of Dr. RTL. The framework coordinates critical-path analysis, parallel RTL rewriting, and tool-based evaluation. Commercial synthesis provides implementation feedback, while sequential equivalence checking verifies functional correctness.
  1. Synthesis Optimization: The authors extend the agent's reach beyond the code itself, exploring Script Tuning (optimizing the configuration of commercial tools) and Algorithm Discovery (rewriting the underlying logic synthesis algorithms in open-source tools like Yosys).

Datasets

The study utilizes two primary benchmarks:

  • RTL-OPT: 36 handcrafted tasks covering arithmetic, control logic, and FSMs, paired with human-optimized "golden" references.
  • Open-ended Dataset: 20 real-world designs (processors, communication interfaces, signal processing modules) averaging 812 lines of code.

Key Insights and Ideas

  • LLMs need a "Ground Truth" Loop: Single-shot LLMs (like GPT-4 or DeepSeek) struggle to beat commercial synthesis. They only succeed when they can see the timing reports and iterate based on failures.
  • The "Skill" Factor: By accumulating a library of strategies, the agent converges on optimal designs much faster. This allows the system to improve over time without needing to retrain the underlying LLM.
  • Beyond the Code: Optimization isn't just about the RTL. Significant gains (up to 11% timing improvement) can be found just by having an agent tune the synthesis scripts or discover design-specific algorithms.
  • Verification is the Boundary: The authors emphasize "Verification-Constrained Optimization." The agent is free to explore, but formal verification (SEC) acts as the guardrail to ensure the hardware's behavior never changes.
Figure 5: Optimization trajectories of Dr. RTL across iterations for two designs (router and pcie). WNS, TNS, area, and optimiza- tion score improve over successive iterations while preserving functional equivalence. The skill-enhanced variant converges faster and achieves better PPA than the variant without learned skills.

Key Results

  • Dr. RTL Performance: On 20 real-world designs, Dr. RTL achieved average improvements of 21.3% in Worst Negative Slack (WNS) and 16.9% in Total Negative Slack (TNS), while also reducing area by 5.8% compared to commercial synthesis baselines.
  • Script Tuning: Agent-driven tuning of commercial synthesis scripts provided an additional 7.4% to 11.1% timing improvement.
  • Algorithm Discovery: In open-source flows, the agent discovered customized algorithms that reduced the Area-Delay Product (ADP) by 18.7%.

Limitations and Future Work

  • Power Estimation: The current framework excludes power optimization because reliable power estimation requires workload-dependent switching activity, which is harder to simulate autonomously.
  • Cross-Layer DSE: The authors envision a future where agents don't just look at RTL or synthesis scripts in isolation, but jointly explore the entire design space—from high-level architecture down to the specific EDA algorithms used to build the chips.
Figure 1: Three connected directions toward autonomous RTL and synthesis optimization. Realistic benchmarking es- tablishes evaluation settings, tool-grounded agents optimize RTL beyond synthesis, and synthesis optimization extends agentic search from flow tuning to algorithm discovery.

Summary updated

Abstract

Recent advances in large language models (LLMs) and autonomous agents are creating new opportunities for hardware design optimization. This paper examines three connected directions toward autonomous RTL and synthesis optimization: (1) Realistic benchmarking. We discuss reference-based and open-ended RTL optimization benchmarks that evaluate optimization opportunities under realistic EDA workflows. (2) Tool-grounded RTL optimization. We present Dr. RTL, a multi-agent framework that automates critical-path analysis, RTL rewriting, and implementation-level evaluation, while continuously improving through reusable optimization skills. Evaluated on 20 real-world RTL designs, Dr.~RTL achieves average WNS/TNS improvements of 21\%/17\% with a 6\% area reduction over commercial synthesis. (3) Design-specific synthesis optimization. We explore agent-driven synthesis script tuning and the discovery of executable synthesis algorithms across intermediate representations, technology-independent optimization, and technology mapping. Finally, we envision AI-native design automation that jointly explores architectural, RTL, and EDA algorithm design spaces, guided by verification constraints and implementation feedback.
BibTeX
@misc{fang2026toward,
  author = {Wenji Fang and Yao Lu and Jinghua Wang and Zhiyao Xie},
  title = {{Toward Autonomous RTL and Synthesis Optimization: Benchmarking and Self-Improving Agents}},
  year = {2026},
  eprint = {2611.13713},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.13713},
}
Figure