TL;DR
Large language models can draft hardware blueprints (RTL code), but a single careless edit can silently ruin a chip’s timing or logic—and LLMs are terrible at grading their own homework. ChipArc solves this by placing a strict, deterministic controller between AI agents and the final chip design, only promoting changes that pass objective verification tools while logging an auditable trail of every step. By pairing this discipline with a shared cross-task memory, ChipArc not only sets new records on coding benchmarks at lower cost, it optimizes a cryptographic accelerator all the way down to physical silicon layout.
What Problem Does This Paper Address?
Digital microchips start out as Register-Transfer Level (RTL) code (written in languages like Verilog), which describes how data moves between hardware registers and logic gates. Because hardware bugs become astronomically expensive once etched into silicon, writing and debugging RTL is notoriously slow.
Researchers have turned to LLM agents to draft and iteratively repair RTL code, but there is a catch: how do you know if an AI’s "fix" actually improved things? A one-line edit might clear a syntax error while silently breaking reset timing or component interactions elsewhere. Existing AI frameworks largely let the LLM steer its own search, lack an auditable trail of why changes were accepted, and don't safely share lessons across tasks without leaking answers or polluting context. Furthermore, passing a basic simulation test suite is just the entry ticket—real chips must also be small, fast, and energy-efficient.
Methods
ChipArc enforces a strict separation of church and state: LLMs propose, deterministic tools dispose.
For any given task, a Generator Agent drafts up to five initial RTL candidates, and a Repair Agent diagnoses bugs and proposes structured fixes. However, a deterministic controller holds the keys to the kingdom:
- Strict Promotion & Auditability: Candidates are scored by native hardware simulators (or physical synthesis tools). A new design replaces the incumbent only if its verified rank strictly improves. Every state transition is content-addressed and checkpointed, allowing engineers to replay and audit the entire design history offline without the LLM.
- Bounded Search & Fresh Restarts: To avoid getting stuck in local minima, the controller allows short, temporary side-branches (up to depth three) and triggers a completely clean Fresh Restart if the initial repair trail stagnates.
- Verifier-Gated Global Memory (GM): Up to six task loops run in parallel and write evaluated repair records—hypothesis, sanitized diff summary, and measured verifier outcome—into a shared database. Crucially, agents can only read records from other tasks (preventing retry contamination), and records separate what the model thought would happen from what the verifier actually measured.
Datasets
ChipArc is evaluated purely at inference time (no model training) across existing industry-grade benchmarks:
- CVDP (Comprehensive Verilog Design Problems): Specifically, all 92 tasks from the v1.1.0 non-commercial agentic code-generation subset, spanning specification-to-RTL, modification, integration, and debugging.
- ChipBench: 43 verifier-valid realistic Verilog-generation tasks drawn from open-source CPU IPs and hardware competitions (2 tasks with broken official testbench assets were excluded).
- Physical Case Study: The public
cvdp_agentic_gcd_0007GCD/RSA cryptographic accelerator task, taken all the way through synthesis, formal verification, and physical place-and-route (Nangate45 library).
Key Insights and Ideas
- Starting fresh beats grinding it out: When an agent gets stuck repairing a broken circuit, wiping the slate clean with a fresh restart solves more than twice as many failed tasks (12 vs. 5) as giving the initial repair loop double the budget.
- Sharing verified failures and fixes pays off: Letting concurrent agents peek at sanitized, verifier-graded repair attempts from other hardware tasks raises repair coverage by ~12% and cuts simulator calls by 22.7%. Every extra task solved in this setup explicitly cited at least one cross-task memory record.
- Simulations lie; formal verification catches ghosts: During physical optimization of the GCD/RSA chip, a bounded model checker (SymbiYosys) caught a subtle finite-state-machine bug where a one-cycle start pulse was dropped. Both the official simulation harness and a 24-test regression suite completely missed it because their tests left multi-cycle gaps between inputs.
- Bug-fixing and silicon optimization are the same loop: By swapping a binary pass/fail simulator for a stack of EDA physics tools (measuring area, delay, and power), the exact same propose-then-verify architecture smoothly transitions from fixing syntax bugs to shrinking silicon.
Key Results
- CVDP Benchmark (with Kimi K3): ChipArc solves 88.7 / 92 tasks on average, beating serial ACE-RTL (83.3) and MAGE (80.7), while achieving the lowest cost per solved task ($1.20/pass) and 2.5× fewer simulator runs than MAGE.
- ChipBench: Solves 38.3 / 43 tasks with Kimi K3 (vs. 34.3 for ACE-RTL and 27.0 for MAGE) and 33.7 / 43 with DeepSeek V3.2 (vs. 29.3 for ACE-RTL).
- End-to-End Silicon Optimization: Starting from an LLM-generated GCD/RSA baseline and spending $55 in model calls, ChipArc shrank mapped circuit area by 67.6%, cut latency by 74.0% (229 down to 59.6 cycles), reduced energy per transaction by 83.4%, and boosted clock speed from ~49 MHz to ~680 MHz (1.47 ns period) with zero routing violations.
Limitations and Future Work
- As Good as Your Verifier: ChipArc guarantees monotonic progress under the configured verifier, not absolute perfection. If a testbench has blind spots (and no formal gate is configured), a buggy design can still slip through.
- Memory Token Overhead: While cross-task global memory cuts down expensive hardware simulations by 22.7%, reading those extra records increases total LLM token spending by 22.0% (raising cost per solved task slightly from $2.60 to $2.80 in ablations).
- Unfinished Silicon Gains & Single-Case Scope: The physical RTL-to-layout experiment is a single feasibility case study rather than a broad benchmark, and the optimization run hit its evaluation budget (1,492 evaluations) before plateauing—leaving room for future runs to push hardware efficiency even further.
Summary updated