arXiv · 2506.00001
Enhancing Finite State Machine Design Automation with Large Language Models and Prompt Engineering Techniques
Abstract
Large Language Models (LLMs) have attracted considerable attention in recent years due to their remarkable compatibility with Hardware Description Language (HDL) design. In this paper, we examine the performance of three major LLMs, Claude 3 Opus, ChatGPT-4, and ChatGPT-4o, in designing finite state machines (FSMs). By utilizing the instructional content provided by HDLBits, we evaluate the stability, limitations, and potential approaches for improving the success rates of these models. Furthermore, we explore the impact of using the prompt-refining method, To-do-Oriented Prompting (TOP) Patch, on the success rate of these LLM models in various FSM design scenarios. The results show that the systematic format prompt method and the novel prompt refinement method have the potential to be applied to other domains beyond HDL design automation, considering its possible integration with other prompt engineering techniques in the future.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Qun-Kai Lin, Cheng Hsu, Tian-Sheuan Chang. 2025-03-26. Enhancing Finite State Machine Design Automation with Large Language Models and Prompt Engineering Techniques. https://arxiv.org/abs/2506.00001
Cite the original work for its findings. Save a collection to share your selection of sources.