Research goals: Large language model (LLM) agents can now optimize the register-transfer level (RTL) code of digital hardware. Such an agent edits the RTL, synthesizes it, measures the power, performance, and area (PPA), and keeps the edit only if the PPA improves. Every LLM call has a dollar cost, which rises with the reasoning effort of the call: low, medium, or high. Our work aims at agents that reach the best PPA within a dollar budget, with every accepted edit verified against the original design.
Gap in the SotA: Prior LLM agents for RTL optimization fall short in three ways. First, they report their results without the dollar cost of each call, so a designer cannot compare optimizers or effort levels at equal cost. Second, the strongest agents, such as Dr. RTL, credit their results to an engineered long-term memory: a library of optimization rules learned on earlier designs. This claim rests on final results, not on a comparison at equal cost. Third, prior agents fix the reasoning effort, although high effort wastes reasoning on easy edits and low effort gives too little reasoning to hard ones. Some agents also leave power out of their objective.
Results: ARES (ASP-DAC 2027, open source) is our LLM-agent optimizer for RTL. It keeps an edit only if the edit passes simulation and formal equivalence checks against the original design and lowers the figure of merit (FoM). The FoM is the product of area, power, and delay from commercial tools, each relative to the original design.
A dollar cost for every LLM call. ARES computes the dollar cost of each call from its token counts and published prices, and reports this cost next to the FoM. Effort levels, memories, and optimizers can then be compared at equal cost.
The value of a long-term memory at equal cost. An engineered memory that combines the techniques of prior work brings no dependable gain over a plain list of the same optimizations. Both memories bring little gain over an agent without long-term memory, with Claude Opus 4.6 and with GPT-5.5.
Adaptive reasoning effort. ARES starts each design at medium effort and escalates to high effort only when progress stalls. A patience counter grows after each valid edit without a gain, grows more after a failed edit, and shrinks after an improvement. At a threshold, the next call uses high effort and the counter resets. We fit the counter constants once per model, on 21 training designs. On three unseen test designs, the policy lowers the FoM by 22–28% with Opus 4.6 and by 18–34% with GPT-5.5. At equal cost, the best fixed effort lowers the FoM by 20–24% and 19–29%, respectively.
Comparison with expert designs and prior optimizers. Claude Opus 4.6 drafted a microscaling (MX) multiply-accumulate (MAC) unit from the specification of the hand-optimized MX MAC of our ISLPED 2025 work. ARES closes on average 91% of the FoM gap between this draft and the expert design, and its best run closes the full gap. On an AES control unit, ARES reaches a 5% lower FoM than Dr. RTL at 35% of its dollar cost.
Future directions: ARES optimizes one module at a time. Recent work envisions flows that jointly explore the architecture, the RTL, and the algorithms of the design tools (HKUST, ASP-DAC 2027). Three directions extend our work toward such flows.
1.) Larger systems. Agents now build complete designs, such as the RISC-V CPU and the LLM inference accelerator of Design Conductor. However, LLM-written designs still lag expert designs in PPA (Pluto). We aim at agents that build and optimize complete AI accelerators, from the architecture to verified RTL.
2.) Verification. Fast generation raises the relative verification effort (NSF workshop report), and AI-written checks are weak evidence (FCP). We aim at correctness evidence that agents cannot bypass, based on reference models, formal checks, and tests by agents that try to cheat.
3.) Acceleration of the flow. For large designs, each iteration waits minutes to hours for synthesis and power analysis. CHIA notes that rapid, high-fidelity evaluation and verification, not parallelism alone, will be key. We aim for fast PPA estimates, from analytical models to GPU-accelerated tools, with accuracy checked against sign-off results and our silicon.
Stef Cuyckens, Mihaela Jivanescu, Jun Yin, Chao Fang, Marian Verhelst. "ARES: Adaptive Reasoning-Effort Steering for PPA- and Cost-Aware RTL Optimization with LLM Agents" to appear in 2027 Asia and South Pacific Design Automation Conference (ASP-DAC 2027). arXiv