Beyond Equivalence: Task-Level Verification Unlocks Architectural Optimizations by LLM Agents
Abstract
Automated RTL optimization is conventionally verified by logical equivalence. The optimized design must reproduce the reference's cycle-by-cycle I/O behavior, which fixes the schedule and the memory access pattern. We relax the verification contract to the task level, where the only requirement is correctness of the output data for given input data, leaving the cycle schedule, memory access order, and internal architecture free. On six benchmarks ranging from matrix multiplication to a RISC-V ALU, an LLM optimization agent improves the baseline RTL design under both formulations. As objectives we use cycle-aware cost metrics on a fixed workload: the area-runtime product and its energy-weighted extension. Equivalence-constrained optimization reduces the area-runtime product by up to 62%, while task-level freedom reaches up to 82%. However, the winning design may consume more energy than the baseline. On matrix multiplication, where this occurs, we show that energy-directed optimization yields leaner designs that use 28% less energy than the baseline at competitive area-runtime product. A further analysis on the matrix multiplication benchmark weights the cost by data-movement count and shows that an exponent on the movement term acts as a dial over the accelerator design space, steering the optimal architecture from a single multiplier through operand-reuse tiles to a fully buffered parallel array.
Create a lesson
Metadata
- Categories
- cs.AR, cs.AI
- Comments
- Accepted at the NeurIPS 2026 Workshop on AI for Chip Design. 13 pages, 6 figures, 8 tables
Related papers
VeriPower: A Spiral Approach to Agentic Chip Design and Verification
Shared title terminologycs.ARHaocheng Ma, Guanyuan Chen, Yier Jin
EvoPath: An LLM-Agent Flow for False-Path Identification in Transistor-Level SRAM Timing Sign-Off
Shared title terminologycs.ARXuanyi Tan, Sanmitra Banerjee, Huiping Huang et al.
ChipArc: Auditable Multi-Agent RTL Generation, Repair and Optimization with Verifier-Gated Memory
Shared title terminologycs.ARKaili Wang, Ben Stoffelen, Alejandra Lopez de Aberasturi Gomez et al.
QiMeng-TheoremV: Agentic Theorem Proving with Speculated IRs for Large-Scale RTL Formal Verification
Shared title terminologycs.ARChenrui Cao, Chongxiao Li, Yutong Wu et al.
A Principled Architecture-Level Error Model for Understanding, Evaluating, and Mitigating DRAM Read Disturbance
Shared title terminologycs.ARHaocong Luo, Zhaoqiang Bai, Ataberk Olgun et al.
EdgeALM: An Efficient and Unified Edge Accelerator for Large Audio Language Models via Full-Stack Hardware-Software Co-Design and Agent-Driven Recursive Optimization
Shared title terminologycs.ARChenglin Yang, Feifan Xu, Xingyuan Li et al.