RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTL

Yasir MahmudarXiv 2026

As Large Language Models (LLMs) increasingly take over the "first draft" phase of hardware design, a critical question arises: Can we trust these same models to review the code they (or others) produce? In the world of Register-Transfer Level (RTL) design, a reviewer who misses a bug risks a multi-million dollar "silent" failure in silicon, while a reviewer who constantly flags correct code as "buggy" simply becomes noise that engineers eventually ignore.

A new paper from researchers at the University of Florida introduces RTLReviewBench to evaluate this specific skill. Their findings reveal a striking asymmetry: LLMs are excellent at catching bugs but are surprisingly "paranoid," frequently rejecting perfectly functional Verilog code.

TL;DR

LLMs are highly effective at identifying bugs in RTL code (rarely missing a real defect) but suffer from a massive false-alarm problem, often rejecting correct code due to misapplied semantics or "invented" requirements. The authors introduce RTLReviewBench, a benchmark of 114 matched pairs of correct and buggy modules, and demonstrate that forcing models to reason before committing to a verdict significantly improves their reliability.

What Problem Does This Paper Address?

While benchmarks for RTL generation (like VerilogEval) are common, they don't measure a model's judgment. Hardware review is uniquely difficult for LLMs because it requires understanding clocked state, non-blocking assignments, and context-dependent bit-widths—semantics that differ significantly from standard software.

The authors identify a gap: existing debugging benchmarks often allow models to "cheat" by simply regenerating the module from a specification rather than truly understanding the provided code's logic. RTLReviewBench forces a "judgment-only" task: look at the spec, look at one frozen module, and decide if it's correct or buggy.

Methods

The researchers evaluated 12 models (including GPT-4, Gemini 3.1/3.8, Claude 3.5/3.6, and Llama 3.3) using a zero-shot approach. The core of their methodology involved:

  • Matched Pair Testing: Presenting the model with either a "reference" module (passes all tests) or a "buggy sibling" (fails tests) to measure both False Acceptance Rates (FAR) and False Rejection Rates (FRR).
  • Prompt Ablation: Comparing "Verdict-First" (giving the answer then the reason) vs. "Reason-First" (tracing logic before deciding) to see how the output schema acts as a "commitment device."
  • Oracle Auditing: Manually auditing cases where models missed bugs to ensure the failures weren't just simulator artifacts (like non-synthesizable #delay statements).

Datasets

The authors introduced RTLReviewBench, which consists of:

  • Clean-114: The primary evaluation set featuring 97 real LLM-generated failures and 17 hand-written faults.
  • SynMut-50: A set of synthetic mutants (single-operator flips) used to compare how models handle "artificial" vs. "real" bugs.
  • Hard Split: A subset of 22 pairs that proved particularly difficult for current state-of-the-art models.

Key Insights and Ideas

  • The "Paranoid" Reviewer: Models exhibit a massive asymmetry. They are very "safe" (low FAR) but highly "annoying" (high FRR). As shown in Figure 3, models rejected correct modules 5.5 times more often than they missed bugs.
Figure 3: Error direction on Clean-114. Bars to the left show the share of buggy modules accepted (FAR); bars to the right show the share of correct modules rejected (FRR). Across all models, correct modules are rejected 325 times and bugs are missed 59 times.
  • Synthetic Mutants are Deceptive: Most benchmarks use synthetic mutants because they are easy to generate. However, this paper shows that LLMs catch synthetic bugs much more easily than "real" bugs generated by other LLMs. Synthetic benchmarks make models look safer than they actually are.
  • Reasoning as a Commitment Break: If a model is forced to provide a verdict first in a JSON schema, it often ignores its own subsequent reasoning if that reasoning contradicts the initial verdict. Moving the reason field before the verdict field acts as a "Chain of Thought" that prevents the model from prematurely committing to a wrong answer.
  • Hallucinated Defects: Even when a model correctly identifies a buggy module, it often cites a "spurious claim"—a technical flaw that doesn't actually exist—rather than the real bug.

Key Results

  • High Sensitivity, Low Precision: 11 of the 12 models missed at most 3.5% of bugs. However, the False Rejection Rate (FRR) for correct modules was as high as 59% for some models.
  • Reason-First Gains: For weaker models, simply changing the output order to "Reason-First" improved accuracy by 11 to 16 percentage points.
  • Real vs. Synthetic Gap: On identical designs, models missed real LLM bugs far more often than synthetic ones (5.6% vs 1.8% FAR), as illustrated in Figure 4.
Figure 4: Real LLM bugs versus synthetic mutants on the same 42 designs (Matched-42). Each row is a model; the top row pools all twelve. Synthetic mutants are missed less often (left) while false rejection of the shared correct reference barely changes (right).

Limitations and Future Work

The authors acknowledge that their benchmark uses relatively small, single modules (up to 134 lines). Real-world hardware review often involves much larger, multi-module systems. Furthermore, the "execution-free" constraint is strict; in practice, a human reviewer might have access to simulation logs or diffs.

Future work suggests moving toward formal equivalence checking for ground truth labels and expanding the benchmark to include more complex, inter-module timing dependencies that current LLMs likely struggle with even more significantly.

Summary updated

BibTeX
@misc{mahmud2026rtlreviewbench,
  author = {Yasir Mahmud},
  title = {{RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTL}},
  year = {2026},
  eprint = {2611.21678},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21678},
}
Figure