Large Language Models for Automated RTL Verification and Functional Bug Detection

Authors

  • Ishaan Jaggi Department of Computer Science, Colorado State University, Fort Collins, CO, USA.
  • Eckehard Doring Department of Computer Science, University of Houston, Houston, TX, USA.

Keywords:

large language models; RTL verification; functional bug detection; electronic design automation; formal verification; AI governance; hardware security; verification infrastructure

Abstract

Large language models are increasingly being positioned as assistive and semi-autonomous agents within electronic design automation, particularly for register-transfer level verification and functional bug detection. This paper examines that shift as a socio-technical infrastructure problem rather than a narrow model performance question. It argues that the value of large language models in verification depends less on raw code generation accuracy than on their integration with formal engines, simulation farms, coverage analytics, assertion libraries, revision control, and engineering review practices. The paper analyzes architectural trade-offs among retrieval-augmented generation, domain-adapted pretraining, tool-calling agents, and hybrid symbolic-neural verification flows. It then considers deployment concerns including data governance, artifact provenance, reproducibility, compute sustainability, security against adversarial prompts and poisoned training corpora, and fairness in access to verification capability. Particular attention is given to functional bug detection, where plausible but incorrect hardware descriptions can create silent failures that propagate into silicon, firmware, and safety-critical systems. The discussion extends to policy implications for auditability, liability, export control, workforce transformation, and the uneven distribution of design automation infrastructure. The central claim is that automated RTL verification with large language models should be governed as high-consequence engineering infrastructure, with layered validation, human accountability, traceable evidence, and lifecycle monitoring. Without such governance, the technology may accelerate design cycles while simultaneously increasing verification debt and concentrating risk in unexamined model outputs.

References

1. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems (Vol. 30, pp. 5998–6008). Curran Associates.

2. Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D. M., Wu, J., Winter, C., ... Amodei, D. (2020). Language models are few-shot learners. In Advances in Neural Information Processing Systems (Vol. 33, pp. 1877–1901).

3. Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. d. O., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., Ray, A., Puri, R., Krueger, G., Petrov, M., Khlaaf, H., Sastry, G., Mishkin, P., Chan, B., Gray, S., ... Zaremba, W. (2021). Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374.

4. Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., & Sutton, C. (2021). Program synthesis with large language models. arXiv preprint arXiv:2108.07732.

5. Li, Y., Choi, D., Chung, J., Kushman, N., Schrittwieser, J., Leblond, R., Eccles, T., Keeling, J., Gimeno, F., Dal Lago, A., Hubert, T., Choy, P., de Masson d’Autume, C., Babuschkin, I., Chen, X., Huang, P.-S., Welbl, J., Gowal, S., Cherepanov, A., ... Vinyals, O. (2022). Competition-level code generation with AlphaCode. Science, 378(6624), 1092–1097.

6. Nijkamp, E., Pang, B., Hayashi, Y., Tu, L., Wang, H., Zhou, Y., Savarese, S., & Xiong, C. (2023). CodeGen: An open large language model for code with multi-turn program synthesis. In International Conference on Learning Representations.

7. Fried, D., Aghajanyan, A., Lin, J., Wang, S., Wallace, E., Shi, F., Zhong, R., Yih, W., Zettlemoyer, L., & Lewis, M. (2023). InCoder: A generative model for code infilling and synthesis. In International Conference on Learning Representations.

8. Thakur, S., Ahmad, B., Pearce, H., Tan, B., Dolan-Gavitt, B., Karri, R., & Garg, S. (2023). Benchmarking large language models for automated Verilog RTL code generation. In 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE) (pp. 1–6). IEEE.

9. Thorat, K., Zhao, J., Liu, Y., Hasan, A., Peng, H., Xie, X., ... & Ding, C. (2025, September). LLM-VeriPPA: Power, Performance, and Area Optimization aware Verilog Code Generation with Large Language Models. In 2025 ACM/IEEE 7th Symposium on Machine Learning for CAD (MLCAD) (pp. 1-7). IEEE.

10. Liu, M., Eramian, H., Lian, Y., Zhang, S., & Ren, H. (2023). ChipNeMo: Domain-adapted LLMs for chip design. arXiv preprint arXiv:2311.00176.

11. Blocklove, J., Garg, S., Karri, R., & Pearce, H. (2023). Chip-Chat: Challenges and opportunities in conversational hardware design. In 2023 ACM/IEEE 5th Workshop on Machine Learning for CAD (MLCAD) (pp. 1–6). IEEE.

12. Liu, Z., Fang, Y., Xie, Z., Wang, Q., Ma, Y., & Zhang, Z. (2023). VerilogEval: Evaluating large language models for Verilog code generation. In 2023 IEEE/ACM International Conference on Computer-Aided Design (ICCAD) (pp. 1–8). IEEE.

13. Tsai, Y., Liu, M., & Ren, H. (2023). VeriGen: A large language model for Verilog code generation. ACM Transactions on Design Automation of Electronic Systems, 29(3), 1–31.

14. Clarke, E. M., Emerson, E. A., & Sifakis, J. (2009). Model checking: Algorithmic verification and debugging. Communications of the ACM, 52(11), 74–84.

15. Brayton, R., & Mishchenko, A. (2010). ABC: An academic industrial-strength verification tool. In T. Touili, B. Cook, & P. Jackson (Eds.), Computer Aided Verification (Lecture Notes in Computer Science, Vol. 6174, pp. 24–40). Springer.

16. Biere, A., Heule, M., van Maaren, H., & Walsh, T. (Eds.). (2021). Handbook of satisfiability (2nd ed.). IOS Press.

17. Mitchell, M., Wu, S., Zaldivar, A., Barnes, P., Vasserman, L., Hutchinson, B., Spitzer, E., Raji, I. D., & Gebru, T. (2019). Model cards for model reporting. In Proceedings of the Conference on Fairness, Accountability, and Transparency (pp. 220–229). ACM.

18. Raji, I. D., Smart, A., White, R. N., Mitchell, M., Gebru, T., Hutchinson, B., Smith-Loud, J., Theron, D., & Barnes, P. (2020). Closing the AI accountability gap: Defining an end-to-end framework for internal algorithmic auditing. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency (pp. 33–44). ACM.

19. Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., Chaudhary, V., Young, M., Crespo, J.-F., & Dennison, D. (2015). Hidden technical debt in machine learning systems. In Advances in Neural Information Processing Systems (Vol. 28, pp. 2503–2511).

20. Floridi, L., & Cowls, J. (2019). A unified framework of five principles for AI in society. Harvard Data Science Review, 1(1). https://doi.org/10.1162/99608f92.8cd550d1

21. National Institute of Standards and Technology. (2023). Artificial intelligence risk management framework (AI RMF 1.0). U.S. Department of Commerce. https://doi.org/10.6028/NIST.AI.100-1

22. European Commission. (2021). Proposal for a regulation of the European Parliament and of the Council laying down harmonised rules on artificial intelligence (Artificial Intelligence Act). COM/2021/206 final.

Downloads

Published

2026-09-07