---
title: 'ChipArc: Auditable Multi-Agent RTL Generation, Repair and Optimization with Verifier-Gated Memory'
authors: ['Kaili Wang', 'Ben Stoffelen', 'Alejandra Lopez de Aberasturi Gomez', 'Diederik M. Roijers', 'Ludovic Denoyer', 'Joyjit Kundu']
date: 2026-12-04
categories: ['cs.AR', 'cs.AI', 'cs.MA']
tags: ['multi_agent', 'ai_methodology']
source_id: '2611.37679'
source_url: 'https://arxiv.org/abs/2611.37679'
description: 'Register-transfer level (RTL) code must be both functionally correct and physically efficient in timing, area, and energy, yet LLM-based RTL agents draft plausible designs without being able to...'
keywords: ['cs.AR', 'cs.AI', 'cs.MA', 'ChipArc', 'Auditable', 'Multi-Agent']
canonical: 'https://dailyreading.cc/records/arxiv_2611.37679'
---
# ChipArc: Auditable Multi-Agent RTL Generation, Repair and Optimization with Verifier-Gated Memory
Kaili Wang, Ben Stoffelen, Aleiandra Lopez de Aberasturi Gomez, Diederik M. Roijers, Ludovic Denoyer, Joyjit Kundu imec, AI-Labs
Abstract-Register-transfer level (RTL) code must be both functionally correct and physically efficient in timing, area, and Cenergy—yet LLM-based RTL agents draft plausible designs with-Out being able to certify correctness or reliably guide repair. We models propose RTL and diagnoses failures while a deterministic present ChipArc, an auditable multi-agent framework in which controller verifies each candidate and promotes only strictly verified improvements, recording every decision for offline audit. A key design choice is a single verifier-gated global memory shared across concurrent agents: each stores a bounded record of an evaluated repair—hypothesis, change, and verifier-measured putcome—so agents reuse one another's verified experiences across tasks, while excluding current-task and hidden assets (e.g., golden references). Using Kimi K3, ChipArc solves 89 of 92 tasks in CVDP's non-commercial agentic code-generation subset at the lowest mean model cost per pass among the evaluated systems. On the 43 verifier-valid ChipBench Verilog-generation tasks, it solves a mean of 38 tasks, compared with 34 for ACE-RTL and 27 for MAGE. A controlled ablation shows the shared memory raises repair coverage by about 12%. Finally, we carry the same verifier-controlled discipline all the way to physical optimization of a GCD/RSA accelerator, reporting reductions in area, delay, and energy; a bounded formal gate also exposes a protocol bug That both the functional harness and a separate 24-test regression miss.
Index Terms-RTL generation, RTL repair, large language models, multi-agent systems, functional verification, auditability, cross-task memory
#### I. INTRODUCTION
Writing register-transfer level (RTL) code is a critical of the chip design, as it determines what circuitry is built and a chip behaves in practice. RTL code describes that updates them, written manually in hardware-description languages such as Verilog and mapped to gates by synthesis tools. Authoring and debugging RTL is largely engineer-driven and costly; recent work uses large language models (LLMs) to accelerate the loop by drafting RTL and proposing repairs on benchmarks such as VerilogEval [1], CVDP [2], and ChipBench [3] evaluating the results through repeated generate-verify-repair iterations.
A central difficulty in automatic iterative RTL repair is deciding whether an edit is actually an improvement. Model reasoning alone cannot establish that a candidate compiles, behaves correctly, or preserves functionality that already worked. The system must therefore retain the best candidate under a deterministic ordering derived from the benchmark's verifier and accept an edit only when its verifier-measured progress
strictly improves. Even a one-line RTL edit can silently break previously correct behavior by changing signal timing, reset semantics, or component interactions without triggering a syntax error. A passing test suite alone does not close this gap: our physical-design case study exposes a protocol corner case by bounded formal checking. Because hardware defects become expensive to correct later in the design process, engineers need both a passing result and a record of the evidence used to accept each change.
Prior work improves either the generated RTL—via domainadapted, RTL-specialized models [4]-[6]—or the repair process, via agentic frameworks that add simulation feedback, reflection, sampling, and generated testbenches [7]–[10]. Across this literature, several gaps remain. Existing agents do not demonstrate a single auditable acceptance policy spanning functional verification, synthesis, formal checking, and physical implementation [7]-[10]. Candidate evolution commonly remains model-directed [8]-[10], although MAGE uses simulator-derived ranking and rollback [7]. Verification can also be expensive, particularly with sampled candidates or long iterative searches [7], [10]. Finally, these systems do not evaluate bounded, provenance-preserving reuse of verified experience across tasks [7]-[10], leaving negative transfer and task-information exposure as open risks.
We propose ChipArc, a multi-agent strategy in which the LLM proposes RTL edits and a deterministic controller decides, using the benchmark's native verifier, whether to accept themkeeping the best verified design, reverting regressions, and checkpointing every transition for offline audit. Our contributions are: (i) a multi-agent architecture that separates model proposals from the accepted design and produces an auditable trail in which every acceptance decision is deterministic and contentaddressed, so a full run can be replayed and independently reverified offline without the model (tool and artifacts released); (ii) a bounded search strategy combining structured repair, limited side branches, and a fresh restart under one verifierbased acceptance rule; and (iii) a shared global memory that lets the multiple agents solving different tasks in parallel exchange verified repair experience, recorded only after verification and excluding the agent's own task. We evaluate this on CVDP and ChipBench. Finally, we push ChipArc into a more realistic and demanding setting: a complete RTL-to-layout optimization loop that carries the same verifier-controlled discipline through
synthesis, bounded formal proof, place-and-route, timing, and energy. On a GCD/RSA accelerator, starting from an LLMgenerated baseline, the loop reduces mapped area by 67.6%, latency by 74.0%, and energy per transaction by 83.4%, closing at 1.47ns (≈680MHz), and its formal gate exposes a protocol bug that both the functional harness and a 24-test regression miss—showing the same architecture reaches beyond bugfixing to silicon optimization.
## II. RELATED WORK
## *A. RTL Generation and Repair*
Early systems translate natural language to Verilog and score it with executable tests, from VeriGen and VerilogEval to the broader RTLLM and VerilogEval v2 suites [1], [11]– [13]. Domain-adapted and specialized models—ChipNeMo, RTLCoder, CodeV, CraftRTL, OriGen, and ScaleRTL improve generation via domain data, augmentation, correctby-construction synthesis, and compiler-guided self-reflection [4]–[6], [14]–[16], while RTLFixer, VeriAssist, and RTL-Repair target syntax, self-correction, and symbolic repair [17]–[19]. These methods improve the model or its immediate feedback; we instead study how a control system manages a general LLM during functional repair.
CVDP contains engineering-authored generation, modification, reuse, integration, and debugging tasks [2]. We evaluate its complete 92-task v1.1.0 non-commercial Agentic codegeneration subset from categories cid003, cid004, cid005, and cid016. ChipBench broadens evaluation to realistic Verilog generation, debugging, and heterogeneous reference-model generation using designs drawn from open-source CPU IPs and competition platforms [3]. We use the 43 tasks in its Veriloggeneration split whose official verification assets pass verifier preflight and exclude the two tasks with invalid assets.
## *B. Agentic Hardware Design*
VerilogCoder plans with a task-and-circuit graph and traces waveforms via an AST tool [8]; MAGE uses multiple agents, 20 high-temperature candidates, generated testbenches, and iterative editing [7]; and AIVRIL couples generation with verification in the loop [9]. ACE-RTL assigns complementary roles to a fine-tuned RTL model and a general-purpose LLM: the Generator writes and repairs RTL, the Reflector analyzes simulation feedback, and the Coordinator carries that guidance into later iterations. It reports task-wise unique-solved Agentic Pass Rate (APR) over five trials, each using five parallel processes and up to 30 iterations [10]. HORIZON and RTL-Repo extend agentic design to repository-level tasks [20], [21]. ChipArc instead limits the number of model roles, uses each benchmark's native verifier to decide acceptance, and records state transitions outside the LLM.
Cross-task memory can transfer interface, state-machine, and timing patterns but can also dilute context, transfer irrelevant guidance, or unintentionally expose benchmark-specific information. We store bounded records created after verification rather than free-form summaries, exclude the current task, expose stable record handles, and retain local provenance.
### III. CHIPARC ARCHITECTURE
ChipArc separates model proposals from verified state (Figure 1). For each task, a Generator Agent drafts RTL and a Repair Agent diagnoses failures and proposes edits; a deterministic controller alone decides acceptance. Up to six task loops execute asynchronously, sharing evaluated repair experience through a bounded global memory (GM) [22]. Content-addressed records make their decisions auditable.
## *A. Verifier-Controlled Acceptance*
For task q (writing correct RTL given a specification), let Sq be its public specification, Pq its declared editable paths, and Vq(c) the native verifier result for candidate workspace c. The benchmark adapter converts Vq(c) into a pass bit and a deterministic lexicographic rank rq(c), compared only within the same task. Components capture execution, compilation or elaboration, and test or mismatch progress. On CVDP, we include the finer numeric-error tie-break in this ordering: equal coarse ranks are resolved by strictly decreasing error. ChipBench's near-binary mismatch check has no such gradient.
The controller maintains one accepted candidate c ∗ t , called the incumbent. For proposal c˜t, strict promotion is
$$c_{t+1}^* = \begin{cases} \tilde{c}_t, & r_q(\tilde{c}_t) > r_q(c_t^*), \\ c_t^*, & \text{otherwise.} \end{cases}$$
(1)
The first passing candidate is accepted and terminates the task. The LLM neither computes the rank nor declares a pass: the guarantee is *rank monotonicity* within each repair attempt under the configured verifier, not correctness beyond what it checks. Hidden reference RTL, private testbench source, and golden patches remain verifier-only; agents see public task material, candidate RTL, and bounded execution evidence.
## *B. Bounded Repair and Exploration*
The Generator receives Sq, Pq, public repository context, and target file contents. It emits up to five independently verified candidates as complete files or, on CVDP, exact unique replacements. Unless one passes, the highest-ranked candidate seeds the Initial repair attempt Trail (TI); Generator history and discarded branches are not transferred. In the frozen ablations, TI instead starts from the same supplied failed candidate.
Each Repair Agent turn receives the current candidate, structured verifier evidence, ACCEPT/REVERT feedback, local memory of accepted candidates, bounded conversation history, and eligible GM records. It returns a structured *focus* (failure, hypothesis, evidence, strategy, expected effects, and abandonment conditions), a continue/rollback action, and proposed files or edits. Before verification, the controller rejects malformed responses, undeclared paths, ambiguous edits, and invalid workspace updates. Benchmark adapters supply deterministically ordered, bounded diagnostics, test outcomes, mismatch information, and temporal or waveform windows, with provenance and visibility metadata. To explore edits that do not immediately improve the verifier rank, the controller may continue from a runnable rejected candidate in a temporary
#### PARALLEL TASK LOOPS
Independent RTL search and accepted state; shared repair experience

Fig. 1. ChipArc runs independent task loops with one shared memory. Models propose RTL; controllers verify and decide acceptance. Solid memory arrows write sanitized records after verification; dashed arrows read only other-task records. TI and TR retain separate local state and cannot share same-task records.
branch when the agent requests continue and a benchmarkspecific policy detects progress on the current blocker. Each branch is limited to depth three and six repair rounds. They cannot replace the incumbent without satisfying Equation (1).
TI runs until a candidate passes or its round, stagnation, or cost limit is reached. If unsuccessful, a fresh Restart Trail (TR) repeats best-of-five generation and repair with an independent workspace, history, and local memory. TI and TR never merge candidates or exchange same-task records, including through GM. If both attempts are exhausted, the task is marked failed and the final incumbent is returned, never an unaccepted proposal.
## C. Verifier-Gated Cross-Task Memory
GM transfers experience across concurrent task loops, such as interface conventions, reset patterns, and failed repair strategies. Only after native verification does a controller commit a bounded record $m_i=(f_i,a_i,\Delta_i,v_i)$ : sanitized focus, requested action, change summary, and verifier outcome. The hypothesis and measured outcome remain separate: evaluation neither certifies the hypothesis as causal nor implies the repair succeeded. The change summary contains anonymous target metadata, edit counts, and bounded diff excerpts; complete RTL and full diffs remain local. Deterministic digests bind records to the dataset, task ordering, schema, protocol, and context limit.
Before each repair turn, the controller retrieves only othertask records, $\mathcal{M}_{-q} = \{m_i \mid \text{task}(m_i) \neq q\}$ . Every eligible record appears as a compact entry in canonical order. The agent may cite handles to request bounded details for at most three records on the next turn; the current specification and verifier evidence always take precedence. Same-task exclusion applies across both TI and TR, making this cross-task transfer rather than communication between retries. Sanitization removes identifying paths, task IDs, RTL filenames, test names, long literals, explicit expected/actual fields, hidden-source references, and instruction-like text.
#### D. Auditability
For each evaluation, the controller logs the candidate identifier, verifier rank and pass status, cost, and cumulative verifier calls. Each repair record links fingerprints of the baseline and edited candidate to the agent's focus and action, before/after ranks, and promotion decision. Candidates and evidence are stored by content digest, while configuration and dataset manifests support model-free replay of acceptance decisions. After each transition, an atomic checkpoint saves the incumbent, verifier result, resource counters, local memory, and search state, allowing execution to resume from the last verified state.
#### IV. EXPERIMENTAL EVALUATION
### A. Research Questions
Our experiments are focused on four different research questions. **RQ1** (overall): how does ChipArc configuration compare with recent publicly available agentic RTL systems in task completion, model cost, and native-verifier use on CVDP and ChipBench? **RQ2** (per-task search): under a single repair attempt, does ChipArc's verifier-controlled repair outperform an agentic baseline, and how much does the fresh restart contribute on matched CVDP tasks? **RQ3** (cross-task memory): how does the shared global memory change repair coverage, native-verifier use, and model cost under the same matched conditions? **RQ4** (physical optimization): can the architecture extend to RTL-to-layout optimization while satisfying the configured simulation and bounded formal checks, and how do measured area, timing, and energy change relative to the baseline within a certain budget?
#### B. Baselines
To compare *control systems* rather than the underlying models, we evaluate two agentic RTL baselines rerun with the same model (Kimi K3 or DeepSeek V3.2) and budget as ChipArc. MAGE samples 20 high-temperature initial candidates, generates its own testbenches, and iteratively edits the
best candidate [7]. ACE-RTL combines an RTL-specialized generator—originally a Qwen model trained on 1.7M RTL samples—with a reasoning LLM through generator, reflector, and coordinator components, running five trials of five parallel processes and up to 30 iterations [10]. We normalize two things for fairness: we replace ACE-RTL's specialized generator with the shared model, and we run it as a single serial process (rather than five parallel) to match budget; MAGE's n=20 is intratask candidate sampling and is left unchanged. Both baselines otherwise retain their original search policies.
## *C. Task Inputs, Verifiers, and Metrics*
We give every system the same model-visible inputs. The Generator sees the specification and public context: for CVDP, the mini-repository, declared editable paths, and current target contents (the non-commercial JSONL declares targets through empty patch bodies and contains no solutions); for ChipBench, the required TopModule interface and any embedded helper RTL. Evaluator-only assets—the original system message, private harness, CVDP Docker/cocotb/pytest harness, and Chip-Bench testbench and golden RefModule—never appear in model prompts.
Both verifiers measure functional test-suite completion, not formal equivalence: ChipBench requires zero mismatches against the hidden golden RefModule, and CVDP requires all services of the official Docker/cocotb/pytest harness to complete. CVDP spans 34 specification-to-RTL, 25 codemodification, 22 reuse/integration, and 11 debugging tasks (17 easy, 55 medium, 20 hard); of ChipBench's 45 Veriloggeneration tasks, 43 remain after verifier preflight rejects one reference/checker mismatch and one testbench syntax error.
*Metrics. Final* is the number of tasks that pass the official verifier, reported out of 92, 43, or 33 as appropriate. *Cost* is total model spending in USD, *Cost/pass* is cost per solved task, *Evals* is the number of native-verifier invocations (each runs the full simulator or harness and accounts for most of the non-model compute), and *Evals/pass* is verifier runs per solved task. Higher *Final* is better; lower cost and evaluation counts are better. The component study also reports TI *solved* (tasks solved during the initial repair phase, TI), TR *tried/solved* (the subsequent fresh-restart phase, TR), and *Cost/pass@*TI. For the full 92-task CVDP comparison (Table I), all local campaigns use the same dataset snapshot, Kimi K3 with medium reasoning, the official Docker verifier, and six concurrent workers. They differ only in how they organize model and verifier calls. For ChipBench, ACE-RTL and ChipArc use the same 43-task set, model, and checker in each panel, with three repetitions per system.
## *D. Overall Results (RQ1)*
On the full 92-task CVDP benchmark (Table I), ChipArc solves 89, 89, and 88 tasks (88.7 ± 0.6), always failing Digital Stopwatch and Phase Rotation 0031/0038 (the third run additionally misses hdbn codec). ACE-RTL solves 83, 82, and 85 tasks (83.3 ± 1.5), while MAGE solves 76, 84, and 82 (80.7 ± 4.2). ChipArc also has the lowest mean total model cost (\$105.8, compared with \$125.7 for ACE-RTL and \$115.6
TABLE I CVDP RESULTS ON 92 TASKS WITH KIMI K3. PANEL 1: FULL-92 CAMPAIGNS (n = 3); PANEL 2: POST-HOC FROZEN-33 COMPARISONS (n = 1). BOLD MARKS THE BEST PER PANEL.
| Full-92 end-to-end campaigns
System | | | Final (/92) | | Cost/pass Evals/pass |
|-----------------------------------------|------------------------------|----------|------------------------------------------|------------|----------------------------------------|
| MAGE local
ACE-RTL serial
ChipArc | | | 80.7±4.2
83.3±1.5
88.7±0.6 1.2±0.2 | 1.5±0.2 | 1.4±0.0 14.4±1.2
5.0±0.6
5.3±0.7 |
| Post-hoc local comparisons
System | Shared initial Repairs (/33) | | Final (/92) | | Cost/pass Evals/pass |
| ACE-RTL serial
ChipArc | 59
59 | 24
32 | 83
91 | 1.3
1.1 | 4.9
4.8 |
TABLE II CHIPBENCH RESULTS ON 43 VERIFIER-VALID TASKS, GROUPED BY MODEL. ACE-RTL AND CHIPARC ROWS ARE MEAN ± STD OVER THREE RUNS (n = 3); MAGE PUBLISHED IS A SINGLE REPORTED VALUE.
| Model | System | Final (/43) | Cost/pass | Evals/pass |
|---------|-----------------------------------------------------------|----------------------------------|-----------------------------------------------|--------------------------------|
| Kimi K3 | MAGE local
ACE-RTL serial
ChipArc | 27.0±1.0
34.3±1.5
38.3±0.6 | 0.8±0.1
0.7±0.1
0.8±0.1 | 22.7±2.2
7.4±0.4
7.7±0.5 |
| | DeepSeek V3.2 MAGE published
ACE-RTL serial
ChipArc | 17
33.7±1.2 | –
29.3±2.3 0.04±0.01 12.0±2.7
0.16±0.03 | –
15.1±1.1 |
for MAGE) and the lowest cost per solved task (\$1.19/pass). Its mean verifier count is comparable to serial ACE-RTL (468.7 versus 415.7), whereas MAGE uses 1,164 evaluations, about 2.5 times as many. Thus, ChipArc solves more tasks at lower model cost while using approximately the same number of verifier calls as ACE-RTL.
As Table II shows, with Kimi K3, ChipArc solves a mean of 38.3±0.6 tasks, compared with 34.3±1.5 for serial ACE-RTL and 27.0±1.0 for MAGE. Relative to ACE-RTL, this is a mean gain of 4.0 tasks at 24.1% higher model total cost and 16.6% more total evaluations. On a per-solved-task basis the gap is smaller: ChipArc costs \$0.8/pass versus \$0.7 for ACE-RTL and \$0.8 for MAGE, so its higher total spend mainly reflects the extra tasks it solves. MAGE solves the fewest tasks and uses the most verifier evaluations (613.3 ± 82.0). With DeepSeek V3.2, ChipArc solves 33.7 ± 1.2 tasks, compared with 29.3 ± 2.3 for ACE-RTL, a mean gain of 4.4 tasks at 4.3× the model cost and 45.6% more evaluations; its cost per solved task is \$0.16 versus \$0.04 for ACE-RTL. ChipArc therefore solves more tasks with both models, while serial ACE-RTL uses fewer verifier calls. Neither comparison is compute-matched.
## *E. Component Analysis (RQ2–RQ3)*
To attribute ChipArc's repair coverage to its components, we use a matched frozen cohort of 33 failed candidates, holding the model, structured verifier evidence, retry policy, budgets, stopping rules, and native verifier fixed; Table III reports the resulting frozen-33 measurements. On this cohort we examine three questions in turn. First, we compare ChipArc's singleattempt repair against the ACE-RTL baseline (Section IV-E1). Second, we ask whether a fresh restart (TR) outperforms spend-
TABLE III
MATCHED FROZEN-33 COMPONENT RESULTS (n = 3), MEAN ± STD OVER THREE RUNS. TR REPORTS TRIED/SOLVED; LONG-TI CONTINUES THE FAILED TI. BOLD MARKS THE BEST OF THE FIRST TWO ROWS.
| Method | TI solved | TR tried/solved | Final | Cost/pass | Cost/pass@TI | Evals/pass |
|------------------------------------|----------------------|------------------------------------|----------------------|--------------------|--------------------|---------------------|
| ChipArc without GM
Full ChipArc | 25.0±1.7
27.0±1.0 | 8.0±1.7/2.7±1.5
6.0±1.0/4.0±1.7 | 27.7±1.2
31.0±1.0 | 2.6±0.4
2.8±0.3 | 1.9±0.4
2.4±0.3 | 11.7±1.1
8.1±0.8 |
| Full ChipArc + Long-TI | 27.0±1.0 | 6.0±1.0/1.7±1.5 | 28.7±1.5 | 3.2±0.5 | 2.4±0.3 | 8.0±0.9 |
#### TABLE IV
CVDP SINGLE-ATTEMPT COMPARISON. PANEL 1: TWO FRESH FULL-92 RUNS, CHIPARC KEEPS ONLY TI (n = 3); PANEL 2: MATCHED FROZEN-33 REPAIR ON THE SHARED 59-PASS GENERATOR STAGE (n = 1). BOLD MARKS THE BETTER VALUE PER PANEL.
| Full-92 end-to-end, one repair attempt
System | | | Final (/92) | | Cost/pass Evals/pass |
|--------------------------------------------------|----|------------------------------|------------------|---------|----------------------|
| ACE-RTL serial | | | 83.3±1.5 | 1.5±0.2 | 5.0±0.6 |
| ChipArc TI-only | | | 85.0±1.7 1.0±0.1 | | 4.7±0.5 |
| Matched frozen-33 reconstruction
System | | Shared initial Repairs (/33) | Final (/92) | | Cost/pass Evals/pass |
| ACE-RTL serial | 59 | 24 | 83 | 1.3 | 4.9 |
| ChipArc TI | 59 | 27 | 86 | 0.9 | 4.4 |
ing the same budget on a longer initial phase, denoted Long-TI (Section IV-E2); here Long-TI is an initial repair phase run for as long as TI and TR combined, but without a restart. Third, we measure how cross-task global memory (GM) changes repair coverage, verifier use, and cost (Section IV-E3).
- *1) Single-Attempt Comparison:* Table IV compares the systems when each receives one repair attempt. Without a fresh TR, the three ChipArc TI runs reach 87/92, 84/92, and 84/92 (85.0±1.7), compared with 83/92, 82/92, and 85/92 (83.3±1.5) for ACE-RTL. In the matched frozen-33 reconstruction, ACE-RTL repairs 24 tasks (83/92 overall), while ChipArc TI repairs 27 (86/92 overall) at lower model cost and with fewer evaluations.
- *2) Fresh Restart:* Fresh TR adds on average 2.7 repairs for ChipArc without GM and 4.0 for full ChipArc (3.4 per campaign across six). Under an equal nominal budget, fresh TR solves 12 of 18 matched cases in which TI failed, compared with 5 for Long-TI. Eight cases are solved only by fresh TR, and one only by Long-TI. The fresh restart is more effective overall, although the two strategies solve some different tasks.
- *3) Global Memory:* A full 92-task ChipArc variant without GM reaches 86/92 (62 initial passes and 24 repairs), but its initial candidates differ from those of the main runs, so that comparison cannot attribute the difference to memory; we therefore measure the GM effect on the matched frozen cohort. The three GM and no-GM repetitions use the same frozen 33 task cohort, model, repair protocol, budgets, stopping rules, and verifier. GM raises mean repair coverage from 27.7 ± 1.2 to 31.0 ± 1.0 tasks and reduces mean verifier evaluations from 324.3 ± 34.1 to 250.7 ± 23.7 (22.7%). Mean model cost increases from \$70.9 to \$86.5 (22.0%), so fewer verifier calls do not imply lower model cost. Although total model cost rises 22.0%, the cost *per solved task* grows only from \$2.6 to \$2.8 (7.7%) because GM solves more tasks; verifier evaluations per
solved task even fall, from 11.7 to 8.1. Every task solved only in the GM-enabled condition cited at least one cross-task record. In an illustrative single run on the same frozen cohort (Panel 2 of Table I), full ChipArc repairs 32 of the 33 tasks (91/92 overall), compared with 24 for ACE-RTL.
## V. END-TO-END SILICON OPTIMIZATION (RQ4)
All experiments so far stopped at functional correctness: a task was solved once a candidate passed the benchmark's simulation harness. Here we ask whether the same verifiercontrolled loop extends to physical implementation. The change is one of verifier, not of principle: the single simulation harness is extended with a deterministic stack of EDA and formal tools—synthesis, bounded model checking, place-and-route, timing, and energy analysis—and a candidate is accepted only when these tools, never the model, report an improvement. The objective thus moves from binary pass/fail to multi-objective optimization over measured area, timing, and energy, and a bounded formal gate proves protocol properties that sampled tests can miss. Functional correctness is only the entry point to hardware design: a circuit that passes simulation may still be large, slow, power-hungry, or subtly violate its protocol. The case study below shows that the architecture is not specific to bug-fixing: the same propose-then-verify controller, promotion rule, and audit trail carry unchanged from functional repair to a full RTL-to-layout flow.
## *A. Setting*
*1) Target and Scope:* The target is the public cvdp\_agentic\_gcd\_0007 GCD/RSA accelerator [23], [24]—a key check via GCD followed by modular exponentiation.1 This is a feasibility case study rather than a competitive benchmark: we compare an optimized design against its own naive baseline, since none of the agentic systems of Section IV performs physical optimization. The controller from Section III serves as the repair component of an end-to-end pipeline in which models propose RTL changes and simulators, synthesizers, formal engines, and place-and-route tools decide acceptance; the pipeline first runs CVDP's verifier and then continues through physical-design measurement.
1 Its naive implementation combines a Stein GCD checker, a square-andmultiply modular exponentiator, a shift/add multiplier, and a combinational divider.
TABLE V EVALUATION STAGES. T0–T2S SCREEN DRAFTS, T1F DECIDES ACCEPTANCE, T3–T5 MEASURE CHAMPIONS.
| Tier | Measurement |
|-------|-------------------------------------------------------------------------------------------|
| T0/T1 | Icarus lint; CVDP Docker harness (cocotb, WIDTH 4/6/8/16) |
| T1R | host cocotb regression with measured cycles/txn |
| T2 | Yosys 0.46 → Nangate45 in the pinned LibreLane image: cells,
area |
| T2S | OpenSTA pre-layout worst-path delay |
| T1F | SymbiYosys BMC against the flattened golden baseline (bitwu
zla); UNKNOWN never passes |
| T3 | OpenROAD P&R on the T2 netlist: die, WNS, wirelength, route
DRC, DEF/GDS/SPEF timing |
| T4 | Energy/txn: OpenSTA power on the SPEF-annotated netlist ×
measured gate-level cycles |
| T5 | period ladder (×0.85 descent): achieved clock period |
- *2) Generation:* The Generator Agent from Section III-B (Kimi K3) produces five initial RTL candidates, each evaluated by CVDP's official Docker harness:2 the unmodified public cocotb harness drives the design with transactions at four bit-widths (WIDTH 4/6/8/16) and checks every answer key validity and ciphertext—bit-exactly. The benchmark task provides six GCD module variants (three implementing Stein's algorithm), a multiplier, and an exponentiator with two swapped operands; the agent must build the top-level controller, select the correct GCD trio, and repair the exponentiator. Generation succeeded without any repair (\$0.43 model cost): the winning draft instantiated the Stein trio and rewrote the exponentiator with the correct operands, leaving every other shipped module byte-identical, and passed all five tests when re-verified independently in the container (a broken design fails all five).
- *3) Evaluation Stages:* Each draft climbs the tiers in Table V in order and stops at the first failure. The ladder is a funnel ordered by cost: cheap checks screen every draft, one formal tier (T1F) decides acceptance, and the expensive physical tiers only measure accepted champions. The harness alone samples a few hand-written timings, checks answers but not protocol, and sees no physics; the remaining tiers close these gaps.
- *4) Formal Verification:* T1F proves protocol obligations and result equivalence against the golden baseline over every legal input sequence up to a bounded depth (twice the worst measured latency plus eight). It caught a bug simulation missed: in its completion state the generated FSM waits for start to fall before idling, dropping a one-cycle pulse and keeping the done flags high; the harness never creates this timing, with multicycle gaps between its tests. A twelve-step counterexample led to an eight-line repair (restart on the pulse) that passes both the harness and the gate.
- *5) Optimization Loop:* Each round, one strategy proposes a single attributable hypothesis (e.g., replace the combinational divider with shift/subtract reduction); the two-agent session modifies the RTL; every draft is re-verified through the tiers.
TABLE VI TWO-AGENT CAMPAIGN ON THE GENERATED BASELINE (KIMI K3).
| Metric | Baseline | Champion | ∆ |
|---------------------------|----------|----------|-----------|
| Mapped area (µm2
, T2) | 6,867.1 | 2,223.2 | −67.6% |
| Cells (T2) | 5,108 | 1,406 | −72.5% |
| Cycles/txn (T1R) | 229 | 59.6 | −74.0% |
| Die area (µm2
, T3) | 18,231.8 | 6,170.1 | −66.2% |
| WNS at 2.0 ns (ns, T3) | −13.69 | +0.51 | +14.20 ns |
| Energy/txn (nJ, T4) | 0.785 | 0.130 | −83.4% |
| Achieved period (ns, T5) | 20.35 | 1.47 | −92.8% |
Promotion requires all gates passed and a strictly better measured rank over mapped area (T2) and estimated runtime (cycles/txn × pre-layout delay) following Equation (1) as described before; regressions are reverted.
#### *B. Experimental Results*
Table VI compares the generated baseline with the campaign's best accepted candidate (119 sessions, 1,492 evaluations, \$55 cost). The champion descends from a chain of accepted hypotheses: the combinational divider becomes an iterative shift/subtract reduction, control logic is pruned, one subtractor is shared for compare and subtract, and an early exit skips multiply rounds when the base is one; each step was accepted only on a measured rank improvement. Mapped area falls 67.6% (6,867.1 → 2,223.2 µm2 ), latency 74.0% (229 → 59.6 cycles), and die area 66.2% (18,231.8 → 6,170.1 µm2 ); timing moves from a 13.69ns violation to 0.51ns slack, and energy per transaction falls 83.4% (0.785 → 0.130nJ). The champion passes the harness, regression, and formal gate, with zero route design-rule violations; its achieved period is 1.47 ns (≈680 MHz) against the baseline's 20.35 ns (≈49 MHz); an earlier campaign from a hand-reconstructed baseline reached the same class (die −61%). The run hit its evaluation budget before plateauing, leaving room for further reduction.
## VI. CONCLUSIONS
We presented ChipArc, a multi-agent system that separates RTL generation from acceptance: models propose changes, and a deterministic controller verifies every candidate before updating the accepted design. Under one promotion rule structured repair, bounded exploratory branches, and fresh restarts—no unverified candidate can displace a better verified one. On CVDP, ChipArc achieves the highest completion at the lowest model cost among the evaluated systems while using a verifier budget comparable to serial ACE-RTL; matched studies favor fresh restarts after stagnation and show that cross-task memory improves repair coverage and reduces verifier calls at higher model cost. Extending the same loop to physical design, the generated GCD/RSA baseline is optimized by 67% in mapped area, 74% in latency, and 83% in energy per transaction, with layouts closing at 1.47ns (≈680MHz) within \$55 model cost, and its formal gate exposed a protocol bug that simulation missed. Audit logs bind every accepted transition to a recorded verifier outcome, supporting replay and independent re-verification.
2A locally built nvidia/cvdp-sim:v1.0.0 image, constructed from cvdp\_benchmark's Dockerfile.sim, runs the public cocotb harness (test\_runner.py, WIDTH 4/6/8/16, and a seeded COCOTB\_RANDOM\_SEED) in a container, and a timed-out run terminates its container by name.
## REFERENCES
- [1] M. Liu, N. Pinckney, B. Khailany, and H. Ren, "VerilogEval: Evaluating large language models for Verilog code generation," in *Proc. IEEE/ACM Int. Conf. Computer-Aided Design (ICCAD)*, 2023.
- [2] N. Pinckney, C. Deng, C.-T. Ho, Y.-D. Tsai, M. Liu, W. Zhou, B. Khailany, and H. Ren, "Comprehensive Verilog design problems: A nextgeneration benchmark dataset for evaluating large language models and agents on RTL design and verification," arXiv:2506.14074, 2025.
- [3] Z. Yu, C. Zhou, Y. Lin, H. Zhang, H. Ye, J. Cui, Z. Pan, J. Zhao, and Y. Ding, "ChipBench: A next-step benchmark for evaluating LLM performance in AI-aided chip design," arXiv:2601.21448, 2026.
- [4] S. Liu, W. Fang, Y. Lu, Q. Zhang, H. Zhang, and Z. Xie, "RTLCoder: Outperforming GPT-3.5 in design RTL generation with our open-source dataset and lightweight solution," in *Proc. IEEE LLM-Aided Design Workshop*, 2024.
- [5] Y. Zhao, D. Huang, C. Li, P. Jin, Z. Nan, T. Ma *et al.*, "CodeV: Empowering LLMs for Verilog generation through multi-level summarization," arXiv:2407.10424, 2024.
- [6] M. Liu, Y.-D. Tsai, W. Zhou, and H. Ren, "CraftRTL: High-quality synthetic data generation for Verilog code models with correct-byconstruction non-textual representations and targeted code repair," arXiv:2409.12993, 2024.
- [7] Y. Zhao, H. Zhang, H. Huang, Z. Yu, and J. Zhao, "MAGE: A multi-agent engine for automated RTL code generation," arXiv:2412.07822, 2024.
- [8] C.-T. Ho, H. Ren, and B. Khailany, "VerilogCoder: Autonomous Verilog coding agents with graph-based planning and abstract syntax tree (AST) based waveform tracing tool," in *Proc. AAAI Conf. Artificial Intelligence*, 2025.
- [9] H. Sami, P.-E. Gaillardon, and V. Tenace, "AIVRIL: AI-driven RTL generation with verification in-the-loop," arXiv:2409.11411, 2024.
- [10] C. Deng, Z. Yu, G.-T. Liu, N. Pinckney, B. Khailany, and H. Ren, "ACE-RTL: When agentic context evolution meets RTL-specialized LLMs," arXiv:2602.10218, 2026.
- [11] S. Thakur, B. Ahmad, Z. Fan, H. Pearce, B. Tan, R. Karri, B. Dolan-Gavitt, and S. Garg, "Benchmarking large language models for automated Verilog RTL code generation," in *Proc. Design, Automation & Test in Europe (DATE)*, 2023.
- [12] Y. Lu, S. Liu, Q. Zhang, and Z. Xie, "RTLLM: An open-source benchmark for design RTL generation with large language model," in *Proc. 29th Asia South Pacific Design Automation Conf. (ASP-DAC)*, 2024, pp. 722–727.
- [13] N. Pinckney, C. Batten, M. Liu, H. Ren, and B. Khailany, "Revisiting VerilogEval: Newer LLMs, in-context learning, and specification-to-RTL tasks," arXiv:2408.11053, 2024.
- [14] M. Liu, T.-D. Ene, R. Kirby, C. Cheng, N. Pinckney, R. Liang *et al.*, "ChipNeMo: Domain-adapted LLMs for chip design," arXiv:2311.00176, 2023.
- [15] F. Cui, C. Yin, K. Zhou, Y. Xiao, G. Sun, Q. Xu, Q. Guo, D. Song, D. Lin, and X. Zhang, "OriGen: Enhancing RTL code generation with code-to-code augmentation and self-reflection," arXiv:2407.16237, 2024.
- [16] C. Deng, Y.-D. Tsai, G.-T. Liu, Z. Yu, and H. Ren, "ScaleRTL: Scaling LLMs with reasoning data and test-time compute for accurate RTL code generation," arXiv:2506.05566, 2025.
- [17] Y.-D. Tsai, M. Liu, and H. Ren, "RTLFixer: Automatically fixing RTL syntax errors with large language models," arXiv:2311.16543, 2023.
- [18] H. Huang, Z. Lin, Z. Wang, X. Chen, K. Ding, and J. Zhao, "Towards LLM-powered Verilog RTL assistant: Self-verification and selfcorrection," arXiv:2406.00115, 2024.
- [19] K. Laeufer, B. Fajardo, A. Ahuja, V. Iyer, B. Nikolic, and K. Sen, "RTL- ´ Repair: Fast symbolic repair of hardware design code," in *Proc. 29th ACM Int. Conf. Architectural Support for Programming Languages and Operating Systems (ASPLOS)*, 2024, pp. 867–881.
- [20] C. Yu, C. Deng, N. Pinckney, and B. Khailany, "Agentic hardware design as repository-level code evolution," arXiv:2606.28279, 2026.
- [21] A. Allam and M. Shalan, "RTL-Repo: A benchmark for evaluating LLMs on large-scale RTL design projects," arXiv:2405.17378, 2024.
- [22] J. Kundu, B. Stoffelen, K. Wang, P. Vrancx, and L. Denoyer, "KernelArc: A multi-agent framework for GPU kernel optimization," arXiv:2608.17071, 2026.
- [23] Qwen Team, "Qwen3.8-Max: autonomous end-to-end silicon design flow," technical blog, 2026. [Online]. Available: https://qwen.ai/blog
- [24] DoubleAI, "WarpSpeed: autonomous RTL-to-layout optimization on the GCD/RSA accelerator," technical blog and layout viewer, 2026. [Online]. Available: https://friendly-toffee-6db54c.netlify.app/