How LLMs Fail and Generalize in RTL Coding for Hardware Design?

Guan-Ting Liu, Chao-Han Huck Yang, Chenhui Deng, Zhongzhi Yu, Brucek Khailany +1 more
4/26/2026
cs.CLcs.AIcs.PL

No confident code implementation found for this paper.

Abstract

Translating sequential programming priors into the parallel temporal logic of hardware design remains a crucial bottleneck for large language models(LLM). To investigate this, we introduce a new error taxonomy grounded in problem solvability, inspired by cognitive theory.

Show full abstract

Our taxonomy categorizes failures into syntactic, semantic, solvable functional, and unsolvable functional types. Evaluations reveal a strict empirical ceiling on the VerilogEval benchmark, as frontier models plateau at a 90.8% initial pass rate. These plateaus are defined by unsolvable functional errors, exposing persistent knowledge gaps immune to test time compute scaling. Furthermore, we expose a striking surface convergence gap: optimization readily eliminates syntax errors but concurrently exacerbates deeper functional failures. Our findings demonstrate that alignment techniques merely teach models to compile. While repeated sampling strategies can patch solvable errors, register-transfer level(RTL) coding capacity remains strictly bounded by pretraining knowledge. Addressing challenges in the current LLM based hardware generation pipeline requires more studies in model reasoning rather than alignment interventions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026llms,
  title  = {How LLMs Fail and Generalize in RTL Coding for Hardware Design?},
  author = {Guan-Ting Liu and Chao-Han Huck Yang and Chenhui Deng and Zhongzhi Yu and Brucek Khailany and Yu-Chiang Frank Wang},
  year   = {2026},
  eprint = {2606.19347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.19347v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.19347.svg)](https://codeofpaper.com/paper/2606.19347)

Discussion