Back to AI News
arxiv

CPU-Eval Benchmark Challenges LLMs on Real-World CPU Hardware Code Generation

CPU-Eval introduces 339 hardware description language generation problems drawn from six CPUs, ranging from small embedded cores to Linux-capable out-of-order designs and spanning SystemVerilog, Chisel, and SpinalHDL. Across seven state-of-the-art LLMs, mean pass@1 was 45.14 percentage points lower than on VerilogEval v2 Spec-to-RTL, revealing capability gaps masked by the older benchmark. Results also show lower pass@1 for larger submodules and less widely used HDLs, with the authors suggesting modular design and language-specific proficiency checks.

AI Brief

The benchmark provides a more discriminating, practically grounded evaluation of LLMs for CPU hardware development and offers actionable findings for teams deploying these models in HDL workflows.

arXiv:2611.32405v1 Announce Type: cross Abstract: Benchmarks such as VerilogEval have supported rapid advances in hardware description language (HDL) generation by large language models (LLMs). However, recent HDL-generation systems achieve pass rates above 90% on VerilogEval, leaving limited headroom for revealing further advances. To provide a challenging target for further progress on a practically important hardware-development task, we introduce CPU-Eval, a benchmark of 339 HDL-generation problems constructed from six CPUs. Drawn from practical CPU designs, including families fabricated in silicon, the problems span CPUs from small embedded cores to Linux-capable out-of-order cores and cover diverse CPU functions written in SystemVerilog, Chisel, and SpinalHDL. In each problem, an LLM performs the real CPU-development task of generating HDL. Across seven state-of-the-art LLMs, mean pass@1 is 45.14 percentage points lower on CPU-Eval than on VerilogEval v2 Spec-to-RTL, exposing capability differences obscured by VerilogEval's high pass rates. CPU-Eval reveals that pass@1 is lower for submodules with more source-code lines, which motivates fine-grained modular design for LLM-aided hardware generation. We also show that pass@1 is lower for CPUs written in less widely used HDLs, motivating designers to verify that an LLM is sufficiently proficient at generating code in the HDL they use before deployment.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!