CPU-Eval
A benchmark for evaluating the ability of LLMs to generate hardware description language (HDL) code, comprising 339 problems derived from six real CPU designs and covering multiple HDLs such as SystemVerilog, Chisel and SpinalHDL.
Timeline (last 90 days)
CPU-Eval is a benchmark containing 339 HDL generation problems.
The problems in CPU-Eval are derived from six real CPU designs, covering everything from small embedded cores to out-of-order cores that support Linux.
CPU-Eval involves multiple HDLs such as SystemVerilog, Chisel and SpinalHDL.
CPU-Eval is evaluated using the pass@1 metric, i.e., the proportion of problems the model passes on its first attempt.
The researchers compared the performance of seven state-of-the-art LLMs on CPU-Eval and VerilogEval v2 Spec-to-RTL.
The average pass@1 of the seven LLMs on CPU-Eval is 45.14 percentage points lower than on VerilogEval v2 Spec-to-RTL.
In CPU-Eval, pass@1 is lower for submodules with more source lines of code.
In CPU-Eval, pass@1 is lower for CPUs written in less common HDLs.
All Facts (8)
CPU-Eval is a benchmark containing 339 HDL generation problems.
50%UnverifiedThe problems in CPU-Eval are derived from six real CPU designs, covering everything from small embedded cores to out-of-order cores that support Linux.
50%UnverifiedCPU-Eval involves multiple HDLs such as SystemVerilog, Chisel and SpinalHDL.
50%UnverifiedCPU-Eval is evaluated using the pass@1 metric, i.e., the proportion of problems the model passes on its first attempt.
50%UnverifiedThe researchers compared the performance of seven state-of-the-art LLMs on CPU-Eval and VerilogEval v2 Spec-to-RTL.
50%UnverifiedThe average pass@1 of the seven LLMs on CPU-Eval is 45.14 percentage points lower than on VerilogEval v2 Spec-to-RTL.
50%UnverifiedIn CPU-Eval, pass@1 is lower for submodules with more source lines of code.
50%UnverifiedIn CPU-Eval, pass@1 is lower for CPUs written in less common HDLs.
50%