AI CPU Circuit Design Success Rates Drop on Practical Tasks in Nagoya University Study

A Nagoya University research team released CPU-Eval, a new benchmark for large language models that measures their ability to generate CPU circuits. The paper is titled CPU-Eval: Evaluating Large Language Models for CPU Hardware Code Generation and has been accepted at the DATE 2027 international conference on electronic circuit design.
The evaluation covers six open-source RISC-V CPUs: BOOM, CVA6, Rift2Core, VeeR EL2, VexRiscv, and Ibex. They range from CPUs for small embedded devices to processors capable of running Linux, and some belong to design lineages that have been manufactured as physical chips.
The researchers created 339 design tasks from component circuits in these CPUs. The tasks use three hardware description languages: SystemVerilog, Chisel, and SpinalHDL. The AI receives a specification for the target component circuit and generates code that satisfies it.
The comparison benchmark VerilogEval v2, which measures Verilog circuit-generation ability, tests small educational circuits generated from specifications in isolation. The median length of the source code used for those design tasks was 16 lines. CPU-Eval's median was 106 lines.
CPU-Eval integrates the generated circuit into a CPU. It runs a test program in a CPU simulation and compares the instruction execution trace with a reference model representing the expected behavior. This tests whether the generated circuit can work with the rest of the CPU and return the expected results.
Why negative seven became negative six
The paper describes a failure involving the Ibex embedded CPU. When Gemma 4 31B was asked to generate an arithmetic logic unit (ALU), it incorrectly discarded the most significant bits of two values used in division.
The researchers built a CPU simulation model containing the generated circuit and successfully ran a program. An instruction whose correct division result was negative seven instead returned the incorrect result of negative six. Comparing its execution trace with the reference model identified the instruction where the error surfaced.
The research team also tested whether the benchmark could detect circuit errors. After confirming that the existing CPU circuits passed, they created multiple circuits with deliberate errors and checked whether each would fail.
When testing CVA6's memory-write circuit, an incorrect circuit that always wrote zero initially passed the test. The test compared instruction execution and register updates but not memory updates. The researchers revised it to compare the destination address and data as well.
Measuring AI's circuit-generation ability first requires tests capable of detecting incorrect circuits. The development of CPU-Eval itself illustrates that difficulty.
Lower success rates on tasks with longer source code
The team tested the open-weight models Gemma 4 31B, gpt-oss-120B, Qwen3.5-397B, DeepSeek-V4.1-Flash, and Kimi K2.7 Code, along with the commercial models GPT-5.6 Sol and Claude Opus 5.
For each task, the researchers independently generated code 10 times and used those results to estimate the probability that a single generation would pass, known as pass@1. This differs from simply counting tasks that succeeded on the first attempt.
Estimated Pass Rates for CPU Circuit Generation (%)One generation / at least one pass in 10 generations
| AI model | VerilogEval v2 S2R Standalone test | CPU-Eval CPU simulation test | |
|---|---|---|---|
| One generation | One generation | 10 generations | |
| Seven-model average | 76.48 | 31.35 | 46.69 |
| Open-weight models | |||
| Gemma 4 31B | 69.23 | 20.15 | 30.38 |
| gpt-oss-120B | 69.55 | 20.47 | 34.81 |
| Qwen3.5-397B | 69.17 | 18.70 | 30.68 |
| DeepSeek-V4.1-Flash | 74.74 | 24.57 | 42.77 |
| Kimi K2.7 Code | 69.81 | 25.22 | 41.89 |
| Commercial models | |||
| GPT-5.6 Sol | 90.19 | 47.46 | 63.42 |
| Claude Opus 5 | 92.69 | 62.86 | 82.89 |
According to the paper's aggregate results, the seven models averaged a 76.48% success rate on the conventional VerilogEval v2 task of generating a circuit from a specification. The average fell to 31.35% on CPU-Eval. GPT-5.6 Sol declined from 90.19% to 47.46%, while Claude Opus 5 fell from 92.69% to 62.86%.
CPU-Eval also calculated the probability that at least one of 10 generations would pass. The seven-model average was 46.69%, below 50%.
For SystemVerilog tasks whose source circuits contained 1 to 20 lines of code, the five open-weight models averaged a 94.55% success rate. On tasks exceeding 500 lines, the average success rate fell to 1.38%. GPT-5.6 Sol achieved 20.21%, while Claude Opus 5 reached 43.54%.
Another study using OpenCores circuit designs, ChipVerilog, a benchmark for practical Verilog generation, also reports that generating large circuits and designs requiring coordination among multiple circuits is difficult.
The CPU-Eval researchers see potential in dividing circuits into finer units for AI generation. In addition to shortening individual circuits, the design choice of what unit to delegate to AI and what unit to validate appears important.
Results vary by hardware description language
Success rates also differed by hardware description language. When limited to tasks with 51 to 100 lines of source code, the two commercial models averaged 80.31% on SystemVerilog, 44.83% on Chisel, and 6.67% on SpinalHDL.
The SystemVerilog targets were CVA6, VeeR EL2, and Ibex. Chisel was used for BOOM and Rift2Core, while SpinalHDL was used for VexRiscv. Because the target CPUs differed by language, equalizing the line-count range does not establish that the languages themselves caused the performance gap.
CPU-Eval: Estimated Pass Rate for One Generation
| SystemVerilog: By Source-Circuit Line Count | ||
| Source-circuit line count | AI model | Pass rate |
|---|---|---|
| 1–20 lines | Five open-weight model average | 94.55% |
| More than 500 lines | Five open-weight model average | 1.38% |
| More than 500 lines | GPT-5.6 Sol | 20.21% |
| More than 500 lines | Claude Opus 5 | 43.54% |
| 51–100 lines: Average for GPT-5.6 Sol and Claude Opus 5 | ||
| Hardware description language | Target CPU | Pass rate |
| SystemVerilog | CVA6・VeeR EL2・Ibex | 80.31% |
| Chisel | BOOM・Rift2Core | 44.83% |
| SpinalHDL | VexRiscv | 6.67% |
Even a model that performs well in one language may not be capable of developing a CPU written in another. This is why AI capabilities should be checked against the specific CPU and hardware description language being used.
Designing the scope delegated to AI
In this evaluation, the reasoning settings for the two commercial models and gpt-oss-120B were kept low, while reasoning was disabled for the four remaining open-weight models. The figures represent circuit generation under those conditions. Performance when spending more computation on reasoning or repeatedly revising a circuit using test results requires separate evaluation.
CPU-Eval evaluates functionality through simulations that integrate generated circuits into existing CPUs. Assessing power consumption, operating frequency, and post-manufacturing quality requires additional validation beyond functional testing.
The CPU-Eval research received partial support from the Japan Science and Technology Agency's next-generation edge AI semiconductor research and development program. A research project led by Nagoya University Professor Toru Ishihara aims to develop technology that uses independently customizable local LLMs to improve development efficiency while protecting companies' proprietary design assets. Its goal is to halve design time while maintaining chip energy efficiency.
Shortening design time requires considering not only generation time but also the time needed to validate generated circuits and correct errors. The challenge is to use AI's advantage in generating short circuits while verifying the correctness of the entire CPU. Understanding the range in which AI can produce correct results is itself part of AI-assisted design.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.