ACE-RTL: When Agentic Context Evolution Meets RTL-Specialized LLMs

Chenhui Deng, Zhongzhi Yu, Guan-Ting Liu, Nathaniel Pinckney, Brucek Khailany, Haoxing RenarXiv 2026

TL;DR

ACE-RTL bridges the gap between domain-specific hardware expertise and general-purpose reasoning by combining an RTL-specialized LLM with an agentic, self-evolving debugging loop. By orchestrating a specialized generator, a frontier LLM reflector, and a parallel scaling strategy, it achieves up to a 41% pass rate improvement on complex Verilog design benchmarks.

What Problem Does This Paper Address?

Writing Register-Transfer Level (RTL) code for hardware design is notoriously difficult, error-prone, and requires deep domain expertise. While researchers have tried using Large Language Models (LLMs) to automate this, prior work split into two isolated camps:

  1. Training domain-adapted models that understand Verilog syntax but struggle with complex reasoning and planning.
  2. Building multi-agent systems using generic frontier models (like GPT or Claude) that reason well but lack deep, data-driven hardware knowledge.

ACE-RTL unifies these approaches to tackle complex, real-world hardware design tasks that require both deep domain knowledge and iterative simulation-guided debugging.

Figure 1: Comparison of prior works and ACE-RTL.

Methods

The authors introduce Agentic Context Evolution (ACE-RTL), a framework consisting of three core components operating in an iterative loop:

  • The Generator: An RTL-specialized LLM (finetuned from Qwen2.5-Coder-32B-Instruct) trained not just on code generation, but specifically on code editing and debugging tasks.
  • The Reflector: Powered by a frontier model (Claude4-Sonnet), it analyzes text logs from the open-source Icarus Verilog simulator when a design fails, providing high-level logic diagnosis and fix guidance.
  • The Coordinator: A context evolution engine that maintains a running memory of the debugging history. It prevents the generator from repeating past mistakes and triggers a complete "restart" if the refinement loop gets stuck in a local minimum.

Additionally, they introduce a Parallel Scaling strategy. Instead of running a single debugging trajectory, ACE-RTL launches multiple processes concurrently with different initial code guesses. The moment one process passes all test cases, the remaining ones terminate.

Figure 2: Overview of ACE-RTL and its parallel scaling strategy.

Datasets

  • Training Data: The authors curated a large-scale dataset of 1.7 million high-quality RTL samples using a Synthetic Data Generation (SDG) pipeline starting from 157K clean open-source seed scripts. Crucially, the dataset includes specification-to-RTL, code editing, and code debugging tasks.
  • Evaluation Benchmarks: Evaluated primarily on the Comprehensive Verilog Design Problems (CVDP) benchmark, which contains hundreds of complex, long-context hardware tasks (arithmetic units, memory hierarchies, protocols) that better reflect real-world engineering than older, saturated benchmarks like VerilogEval and RTLLM.

Key Insights and Ideas

  • Training-Inference Alignment: Traditional RTL models are only trained to write code from scratch. By training the Generator on editing and debugging tasks, it natively understands how to interpret the "self-evolving context" provided by the Coordinator during agentic loops.
  • The Power of Restarts: Sometimes local code fixes stall because the initial architecture is fundamentally flawed. The Coordinator's ability to clear the slate and restart from a fresh generation—while keeping the high-level debugging insights—is crucial for escaping local minima.
  • Non-linear Token Cost vs. Parallel Scaling: A naive assumption is that running 5 parallel debugging processes quintuples the token cost. However, because parallel scaling finds a solution in far fewer iterations, the context window stays short. This results in a 2.77× wall-clock speedup with only a 1.12× increase in total token usage.

Key Results

  • On the challenging CVDP benchmark, ACE-RTL achieved up to a 41.02% Agentic Pass Rate (APR) improvement over 14 competitive baselines.
  • The standalone Generator outperformed GPT-5 by 21.45% on Code Modification tasks, demonstrating the efficacy of its specialized training dataset.
  • When compared to other agentic frameworks like MAGE, ACE-RTL significantly widened the performance gap due to its structured history tracking and specialized generator.

Limitations and Future Work

  • Lack of Waveform Analysis: Currently, ACE-RTL relies purely on textual simulation logs. It struggles with fine-grained temporal bugs where a waveform trace (VCD) is necessary to pinpoint exact clock-cycle mismatches.
  • Specification Ambiguity: The system can fail when the natural language prompt is ambiguous or doesn't perfectly match the underlying testbench intent.
  • Future Directions: The authors plan to automate testbench generation and carefully integrate waveform-driven debugging without overfitting the model to specific test cases.

Summary updated

BibTeX
@misc{deng2026ace,
  author = {Chenhui Deng and Zhongzhi Yu and Guan-Ting Liu and Nathaniel Pinckney and Brucek Khailany and Haoxing Ren},
  title = {{ACE-RTL: When Agentic Context Evolution Meets RTL-Specialized LLMs}},
  year = {2026},
  eprint = {2602.10218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.10218},
}
Figure