Stored State Trips Up AI Chip-Design Agents, Benchmark Finds
Language-model decoders, the components that generate text one token at a time, carry state from one step to the next. In hardware, a small error in that state can leave one output correct while corrupting later ones, so a chip can pass a short test and still be wrong. A new benchmark, AIChipBench, asks whether LLM coding agents can write such circuits correctly and what debugging feedback helps them.
The researchers give agents a task: implement a quantized decoder from Qwen3.5, Gemma 3, Gemma 4, or Llama 3.2 in register-transfer-level (RTL) code, the hardware description that specifies circuit behavior on each clock cycle. The target is checked against an executable integer reference that specifies both outputs and stored state at every step. Agents debug against public tests within fixed time, tool-call, and token budgets. Their final designs are frozen and graded on held-out token sequences, resets, memory stalls, and synthesis. A second track asks agents to speed up an already correct design by at least 5% while adding no more than 2% to lookup-table (LUT) logic.
The paper’s clearest example is a small decoder built with a deliberate defect. A cache saves a result before a downstream module accepts it. When that module stalls for a few cycles, the cache stores the same result again. In this decoder, the stored state first goes wrong at transaction 2, the logits at transaction 5, and the selected token at transaction 6. A test that compares only the first few output tokens would pass it.
Across 9,136 attempts by four agents, the authors report that feedback mattered most. Feedback pointing to the first mismatched state word, compared with output-only feedback, raised acceptance in all 12 agent-task cells, by 25.0 to 46.9 percentage points. Agent-hours per accepted design fell from 13.4 to 6.5, a ratio of 0.49. When 69 accepted designs were regraded on new sequences and conditions, 45 failed at least one sequence within the 32 steps their tests had required.
On the speed track, 571 of 1,536 attempts ended without a correct design, more than a third. The best agent, Fable 5.1, improved designs in 184 of 384 attempts. Under the authors’ overall score, which multiplies the two track rates, Sol 5.6 (24.5) and Fable 5.1 (25.0) ranked above Astra 6 (16.8) and Opus 5.5 (16.5). That order held in all 200 random splits of the task instances.
The study has clear limits. Agents worked within fixed module structures, did not place and route their own designs, and were graded only up to 32 steps, with regrading at 256. Roughly 26% of attempts ended at a resource cap without submitting. A single clean validation and synthesis pass on the 0.8B reference took 162 minutes, which constrained how many iterations an agent could try. The PPA results are for FPGA hardware only.
The authors conclude that debugging tools for hardware agents should expose stored state and that final tests should go well beyond development cases. The results are specific to these agents, harnesses, and tasks, but they suggest that output checks alone may not reveal the errors that matter most in stateful hardware.
Chat about this paper
To chat about this paper, you'll need a free Gemini API key from Google AI Studio.
Your API key will be stored securely in your browser's local storage.