跳到正文
arXiv cs.AI· Yuisei Iwata, Yutaka Masuda, Tohru Ishihara·· 2 小时前AI 评分40

CPU-Eval:评估大语言模型 CPU 硬件代码生成能力的新基准

CPU-Eval: Evaluating Large Language Models for CPU Hardware Code Generation

AI 导读

研究者推出 CPU-Eval 基准,包含由六款 CPU 构建的 339 道 HDL 生成题,涵盖 SystemVerilog、Chisel 和 SpinalHDL,题目来自从嵌入式小核到可运行 Linux 的乱序核等真实 CPU 设计。

正文 · 原文

View PDF HTML (experimental)

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.
Comments: Accepted as a regular paper at the 2027 Design, Automation and Test in Europe Conference (DATE 2027). 7 pages, 3 figures, 4 tables
Subjects: Hardware Architecture (cs.AR); Artificial Intelligence (cs.AI)
Cite as: arXiv:2611.32405 [cs.AR]
  (or arXiv:2611.32405v1 [cs.AR] for this version)
  https://doi.org/10.48550/arXiv.2611.32405

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Yuisei Iwata [view email]
[v1] Tue, 24 Nov 2026 11:07:23 UTC (124 KB)

来源:arXiv cs.AI · arxiv.org