Rome was Not Built in a Single Step: Hierarchical Prompting for LLM-based Chip Design
Andre Nakkab, Sai Qian Zhang, Ramesh Karri, Siddharth Garg

TL;DR
This paper introduces hierarchical prompting techniques for large language models to improve the design of complex hardware modules, enabling automation, reducing costs, and achieving the first LLM-designed processor without human feedback.
Contribution
The paper presents novel hierarchical prompting methods and an automation pipeline that enable LLMs to generate complex hardware designs more effectively than flat prompting.
Findings
Hierarchical prompting enables successful complex hardware design with smaller LLMs.
Reduces HDL generation time and LLM costs.
First LLM-designed processor without human feedback.
Abstract
Large Language Models (LLMs) are effective in computer hardware synthesis via hardware description language (HDL) generation. However, LLM-assisted approaches for HDL generation struggle when handling complex tasks. We introduce a suite of hierarchical prompting techniques which facilitate efficient stepwise design methods, and develop a generalizable automation pipeline for the process. To evaluate these techniques, we present a benchmark set of hardware designs which have solutions with or without architectural hierarchy. Using these benchmarks, we compare various open-source and proprietary LLMs, including our own fine-tuned Code Llama-Verilog model. Our hierarchical methods automatically produce successful designs for complex hardware modules that standard flat prompting methods cannot achieve, allowing smaller open-source LLMs to compete with large proprietary models. Hierarchical…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVLSI and FPGA Design Techniques · VLSI and Analog Circuit Testing · Low-power high-performance VLSI design
MethodsSparse Evolutionary Training
