The ever-growing popularity of large language models (LLMs) has resulted in their increasing adoption for hardware design and verification. Prior research has attempted to 9jSSΘSS the capability of LLMs to automate digital hardware design by producing superior-quality Register Transfer Logic (RTL) descriptions, particularly in Verilog. However, these tests have revealed that Verilog code production using LLMs at current state-of-the-art lack sufficient functional correctness to be practically viable, compared to automatic generation of programs in general-purpose programming languages such as C, C++, Python, etc. With this as the key insight, in this work we assess the performance of a two-stage software pipeline for automated Verilog RTL generation for combinational circuits: LLM based automatic generation of annotated C++ code suitable for high-level synthesis (HLS), followed by HLS to generate Verilog RTL. We have benchmarked the performance of our proposed scheme using the open-source VerilogEval dataset, for four different industry-scale LLMs, and the Vitis HLS tool. Our experimental results demonstrate that our two-step technique substantially outperforms previous proposed techniques of direct Verilog RTL generation by LLMs in terms of average functional correctness rates, reaching a score of 0.86 in pass@l metric.
Article navigation
5 January 2025
Research Article|
January 05 2025
Evaluating Large Language Models for Automatic Register Transfer Logic Generation for Combinational Circuits via High-Level Synthesis
Sneha Swaroopa;
Sneha Swaroopa
Indian Institute of Technology Kharagpur
, India
Search for other works by this author on:
Rijoy Mukherjee;
Rijoy Mukherjee
Indian Institute of Technology Kharagpur
, India
Search for other works by this author on:
Anushka Debnath;
Anushka Debnath
National Institute of Technology Durgapur
, India
Search for other works by this author on:
Rajat Subhra Chakraborty
Rajat Subhra Chakraborty
Indian Institute of Technology Kharagpur
, India
Search for other works by this author on:
Online ISSN: 1551-3947
Print ISSN: 1551-3939
© 2025 S. Swaroopa et al.
2025
S. Swaroopa et al.
Licensed re-use rights only
Foundations and Trends in Electronic Design Automation (2025) 14 (4): 295–314.
Citation
Swaroopa S, Mukherjee R, Debnath A, Chakraborty RS (2025), "Evaluating Large Language Models for Automatic Register Transfer Logic Generation for Combinational Circuits via High-Level Synthesis". Foundations and Trends in Electronic Design Automation, Vol. 14 No. 4 pp. 295–314, doi: https://doi.org/10.1561/1000000063-3
Download citation file:
New and popular articles
Suggested Reading
SOC HW/SW co‐verification based debugging technique
COMPEL (March,2013)
RETRACTED: Automatic diseases detection and classification of EEG signal with pervasive computing using machine learning
International Journal of Pervasive Computing and Communications (January,2022)
An efficient architecture for carry select adder
World Journal of Engineering (June,2017)
Design and implementation of high-speed and low-power consumption Moore-based loopback adder on FPGA
International Journal of Intelligent Unmanned Systems (February,2021)
Environment-friendly FSM design on ultra-scale architecture: energy-efficient green computing approach
World Journal of Engineering (October,2020)
Related Chapters
The Spinnaker Chip
SpiNNaker - A Spiking Neural Network Architecture
The Changing Structure of Talent for Innovation: on Demand Online Marketplaces
International Business in the Information and Digital Age
Recommended for you
These recommendations are informed by your reading behaviors and indicated interests.
