Enhancing Finite State Machine Design Automation with Large Language Models and Prompt Engineering Techniques
By: Qun-Kai Lin, Cheng Hsu, Tian-Sheuan Chang
Potential Business Impact:
AI designs computer chips faster and better.
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.
Similar Papers
Evaluating LLMs and Prompting Strategies for Automated Hardware Diagnosis from Textual User-Reports
Machine Learning (CS)
Helps computers understand broken device problems.
Prompt Engineering and the Effectiveness of Large Language Models in Enhancing Human Productivity
Human-Computer Interaction
Clear instructions make AI work better.
Evaluating Large Language Models for Code Translation: Effects of Prompt Language and Prompt Design
Software Engineering
Helps computers rewrite code between languages.