TRANSMISSION // 2611.32405v1
CPU-Eval Finds Gaps in AI Hardware Coding
Source published
CPU-Eval tests whether language models can generate modules that work inside complete CPUs, revealing benchmark-specific weaknesses across models and HDLs.

A model can pass many small hardware-coding tests and still face harder tasks inside a real processor design. CPU-Eval tests that gap by checking generated CPU components in context.
A hardware description language (HDL) describes the components and behavior of a digital circuit. Large language models can generate HDL, but success on a small, self-contained exercise does not necessarily show that a model can write a component that functions inside a processor. The authors of CPU-Eval built a benchmark to examine that distinction.
Their motivation is that recent systems have achieved pass rates above 90% on several VerilogEval problem sets, leaving less room for those tests to distinguish performance. CPU-Eval instead draws tasks from practical CPU designs and evaluates generated code as part of the processor it is meant to serve.
Testing code inside a processor
CPU-Eval contains 339 problems drawn from six RISC-V CPUs, from small embedded cores to Linux-capable out-of-order processors. Some of the CPU families have been fabricated in silicon. Each task asks a model to generate one CPU submodule—not an entire processor—in SystemVerilog, Chisel or SpinalHDL.
For evaluation, the benchmark integrates the generated module into its CPU and runs test programs. It compares the processor’s execution with a reference ISA model and trace, looking for deviations from expected behavior. The authors also describe additional checks for some behaviors that execution traces do not record. In the paper’s example, an incorrectly generated arithmetic unit causes a wrong result for a division instruction, which the comparison exposes.
The researchers evaluated seven language models. For every problem, they generated ten candidate implementations and reported pass@1 and pass@10. Pass@1 is an estimated benchmark pass rate for one sample, calculated from those ten generations per problem; pass@10 estimates whether at least one of the ten candidates passes. The authors also reviewed prompts for missing requirements and tested whether deliberately faulty implementations were rejected.
A benchmark gap, and patterns within it
Across the seven models, mean pass@1 was 45.14 percentage points lower on CPU-Eval than on VerilogEval v2’s Spec-to-RTL set. This is a difference between results on these two benchmarks, not an estimate of how often AI-generated chips would fail in practice. It shows that performance on the VerilogEval tasks did not fully capture performance on the CPU submodule tasks tested here.
The authors report that pass@1 generally declined as submodule source-code length increased. Their detailed discussion shows this downward trend for SystemVerilog and Chisel tasks; the paper’s figure description also compares results by length for SpinalHDL. The extent of the decline varied among models. The authors suggest that dividing work into smaller modules could make AI-assisted generation more tractable, but this benchmark does not establish that modular design itself causes better outcomes in real development.
Results also differed across HDLs. In code-length ranges shared among the languages, the authors report higher average pass@1 on SystemVerilog CPU tasks than on Chisel and SpinalHDL tasks. They suggest that the relative scarcity of public material about some HDLs could contribute: counts of Stack Overflow questions tagged for each language follow the same ordering as overall pass rates. This is a hypothesis, not evidence that language popularity causes the performance difference. The comparison involves different CPUs as well as different HDLs, so it cannot isolate the language as the cause. The findings do, however, caution against assuming that success in one HDL transfers to another.
What the results can—and cannot—show
CPU-Eval tests generated components inside complete processors; it does not demonstrate that a model can design or deploy hardware autonomously. The authors’ prompt and test checks are intended to improve benchmark reliability, but passing a set of tests cannot establish correctness under every possible condition. The evaluation covers six CPUs, three HDLs and seven models, so the findings do not describe every processor, language or model.
The source is an arXiv preprint, and the conclusions should be understood as the authors’ reported findings rather than settled consensus. CPU-Eval offers a more demanding way to probe one part of hardware code generation. More evaluation would be needed to determine how well these results generalize to other designs and development settings.
- large language models
- CPU-Eval
- hardware description languages
- HDL generation
- RISC-V
- AI benchmarks
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
ChipOmni uses engineering checks to guide AI chip design
Shared method: Both studies use executable functional checks to assess generated hardware code: CPU-Eval integrates a generated submodule into a CPU and compares program behavior with a reference, while ChipOmni’s VerilogEval comparison compiles RTL and runs the benchmark testbench. The tasks and evaluation setups differ, so this shared method does not support a direct performance comparison.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.32405v1 — Original paper
Excerpt reference:
static/papers/2611.32405v1.md:137-242
Basis: Paper text
Source SHA-256:4bccd92ea4f79e7da617b7faa98988c36f460c8e70a7c1330799a2850d9865ed2611.32405v1 — Original paper
Excerpt reference:
static/papers/2611.32405v1.md:65-136
Basis: Paper text
Source SHA-256:4bccd92ea4f79e7da617b7faa98988c36f460c8e70a7c1330799a2850d9865ed2611.13020v1 — Original paper
Excerpt reference:
static/papers/2611.13020v1.md:583-758
Basis: Paper text
Source SHA-256:c8516f423b179834bf3d3b6ab91c10df4b294f68a28e4477ee1362b69f1a4c03
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Why AI Can Get Civil Time Wrong
Source published
Shared keywords: ai benchmarks, large language models
A moving anchor for steadier language-model reinforcement learning
Source published
Shared keywords: ai benchmarks, large language models
Can AI solve riddles rooted in different cultures?
Source published
Shared keywords: ai benchmarks, large language models
ArgGYM tests AI on revisable reasoning
Source published
Shared keywords: ai benchmarks, large language models
When an AI’s interface changes how agreeable it seems
Source published
Shared keywords: ai benchmarks, large language models