RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTL
Yasir Mahmud
Abstract
Hardware teams increasingly ask large language models (LLMs) to review register-transfer level (RTL) code, yet it is unclear whether a model can tell a correct module from a buggy one without simulating it. We introduce RTLReviewBench, a benchmark of 114 matched pairs of buggy and correct Verilog modules. Each pair shares one specification, most buggy modules are real failures of LLM code generators, and every label is confirmed by simulation. Evaluating 12 commercial and open-weight models, we find a consistent asymmetry: reviewers rarely accept buggy code but often reject correct code, producing more than five false rejections for every missed bug. Synthetic mutants hide part of the problem: on the same designs, models miss far fewer injected bugs than real ones. Asking a model to reason before it commits to a verdict sharply reduces false rejections for weaker reviewers, and a controlled ablation shows that where the reasoning appears in the output matters more than the instruction to reason, whereas sampling and majority voting do not help. A blinded audit further shows that some correct "buggy" verdicts rest on false technical claims. We release the benchmark, a harder split for future models, all model responses, and the evaluation code at https://github.com/yasirmahmud/RTLReviewBench
Create a lesson
Related papers
Stratum: A Hardware-Software Co-Design Framework for SNN Inference on RISC-V
Shared title terminology · Wajahat Riaz, Muhammad Adeel Pasha, Shahid Masud et al.
Mind the Delta: Early Pruning of RTL Variants for Agentic Hardware Optimization
Shared title terminology · Siyang Cai, Cangyuan Li, Haoyu Gao et al.
Hardware Acceleration of Vision-Language-Action Models with Weight Precision Rising over the Flow Steps
Shared title terminology · Robin Geens, Simon Haepers, Jonas Crols et al.
Inference-Time Scaling in Agentic Hardware Verification Workflows: A Multi-Strategy Characterization Across Protocol Complexity
Shared title terminology · Vikash Kumar
Lodestone: Automated Semantic Discovery of Datacenter Hardware Specialization
Shared title terminology · Peizhe Liu, Akanksha Jain, Gerasimos Gerogiannis et al.
Manufacturing Differential Sparsity: Planner-Hardware Co-Design for Efficient World Model Planning
Shared title terminology · Wenbo Zhu, Paul Yi-Chia Chen, Yuanhan Li et al.