Rome was Not Built in a Single Step: Hierarchical Prompting for LLM-based Chip Design
Not on the map. Why?
Abstract (arXiv)
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 prompting reduces HDL generation time and yields savings on LLM costs. Our experiments detail which LLMs are capable of which applications, and how to apply hierarchical methods in various modes. We explore case studies of generating complex cores using automatic scripted hierarchical prompts, including the first-ever LLM-designed processor with no human feedback. Tools for the Recurrent Optimization via Machine Editing (ROME) method can be found at https://github.com/ajn313/ROME-LLM
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 11 of its 19 references that are in the map. First posted on arXiv 23 Jul 2024.
Builds on
11 of 19 references.
References · 11
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 246
- 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 136
- 2023Self-planning Code Generation with Large Language Modelscited by 121
- 2022Benchmarking Large Language Models for Automated Verilog RTL Code Generationcited by 112
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 80
- 2023RTLCoder: Outperforming GPT-3.5 in Design RTL Generation with Our Open-Source Dataset and Lightweight Solutioncited by 69
- 2023Pushing the Limits of Machine Design: Automated CPU Design with AIcited by 2
Built on by
Citing papers per year: 2024: 3; 2025: 16; 2026: 5.
24 papers.
Sort:
By area:
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 65
- 2025HDLCoRe: A Training-Free Framework for Mitigating Hallucinations in LLM-Generated HDLcited by 17
- 2025A Survey of Circuit Foundation Model: Foundation AI Models for VLSI Circuit Design and EDAcited by 17
- 2025VeriThoughts: Enabling Automated Verilog Code Generation using Reasoning and Formal Verificationcited by 15
- 2024HiVeGen -- Hierarchical LLM-based Verilog Generation for Scalable Chip Designcited by 13
- 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metriccited by 12
- 2025Can Reasoning Models Reason about Hardware? An Agentic HLS Perspectivecited by 9
- 2025TuRTLe: A Unified Evaluation of LLMs for RTL Generationcited by 8
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 7
- 2025LLM-VeriPPA: Power, Performance, and Area Optimization aware Verilog Code Generation with Large Language Modelscited by 5
- 2025Rethinking the Outlier Distribution in Large Language Models: An In-depth Studycited by 4
- 2025VeriLoC: Line-of-Code Level Prediction of Hardware Design Quality from Verilog Codecited by 3
12 more
- 2025Large Language Models (LLMs) for Electronic Design Automation (EDA)cited by 3
- 2025CorrectHDL: Agentic HDL Design with LLMs Leveraging High-Level Synthesis as Referencecited by 3
- 2024Watermarking Large Language Models and the Generated Content: Opportunities and Challengescited by 2
- 2025HDLxGraph: Bridging Large Language Models and HDL Repositories via HDL Graph Databasescited by 1
- 2025MAHL: Multi-Agent LLM-Guided Hierarchical Chiplet Design with Adaptive Debuggingcited by 1
- 2025Automating Hardware Design and Verification from Architectural Papers via a Neural-Symbolic Graph Frameworkcited by 1
- 2025QiMeng-CRUX: Narrowing the Gap Between Natural Language and Verilog via Core Refined Understanding eXpression for Circuit Designcited by 1
- 2026Report for NSF Workshop on AI for Electronic Design Automationcited by 1
- 2026GUIDE: GenAI Units In Digital Design Educationcited by 1
- 2026VeriGraphi: A Multi-Agent Framework of Hierarchical RTL Generation for Large Hardware Designscited by 1
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilerscited by 0
- 2026Agentic Electronic Design Automation: A Handoff Perspectivecited by 0
- 2026Agentic Electronic Design Automation: A Handoff Perspective18 Jun 2026
- 2026VeriGraphi: A Multi-Agent Framework of Hierarchical RTL Generation for Large Hardware Designs16 Apr 2026
- 2026GUIDE: GenAI Units In Digital Design Education18 Mar 2026
- 2026Report for NSF Workshop on AI for Electronic Design Automation20 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025QiMeng-CRUX: Narrowing the Gap Between Natural Language and Verilog via Core Refined Understanding eXpression for Circuit Design25 Nov 2025
- 2025CorrectHDL: Agentic HDL Design with LLMs Leveraging High-Level Synthesis as Reference20 Nov 2025
- 2025Automating Hardware Design and Verification from Architectural Papers via a Neural-Symbolic Graph Framework8 Nov 2025
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Ahead29 Oct 2025
- 2025LLM-VeriPPA: Power, Performance, and Area Optimization aware Verilog Code Generation with Large Language Models10 Sep 2025
- 2025Large Language Models (LLMs) for Electronic Design Automation (EDA)27 Aug 2025
- 2025MAHL: Multi-Agent LLM-Guided Hierarchical Chiplet Design with Adaptive Debugging8 Aug 2025
12 more
- 2025VeriLoC: Line-of-Code Level Prediction of Hardware Design Quality from Verilog Code8 Jun 2025
- 2025Rethinking the Outlier Distribution in Large Language Models: An In-depth Study27 May 2025
- 2025HDLxGraph: Bridging Large Language Models and HDL Repositories via HDL Graph Databases21 May 2025
- 2025VeriThoughts: Enabling Automated Verilog Code Generation using Reasoning and Formal Verification16 May 2025
- 2025TuRTLe: A Unified Evaluation of LLMs for RTL Generation31 Mar 2025
- 2025A Survey of Circuit Foundation Model: Foundation AI Models for VLSI Circuit Design and EDA28 Mar 2025
- 2025HDLCoRe: A Training-Free Framework for Mitigating Hallucinations in LLM-Generated HDL18 Mar 2025
- 2025Can Reasoning Models Reason about Hardware? An Agentic HLS Perspective17 Mar 2025
- 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metric15 Mar 2025
- 2024HiVeGen -- Hierarchical LLM-based Verilog Generation for Scalable Chip Design6 Dec 2024
- 2024Watermarking Large Language Models and the Generated Content: Opportunities and Challenges24 Oct 2024
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languages4 Oct 2024
- 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metriccited by 12
- 2025MAHL: Multi-Agent LLM-Guided Hierarchical Chiplet Design with Adaptive Debuggingcited by 1
- 2026VeriGraphi: A Multi-Agent Framework of Hierarchical RTL Generation for Large Hardware Designscited by 1
- 2026Agentic Electronic Design Automation: A Handoff Perspectivecited by 0
- 2026Agentic Electronic Design Automation: A Handoff Perspective18 Jun 2026
- 2026VeriGraphi: A Multi-Agent Framework of Hierarchical RTL Generation for Large Hardware Designs16 Apr 2026
- 2025MAHL: Multi-Agent LLM-Guided Hierarchical Chiplet Design with Adaptive Debugging8 Aug 2025
- 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metric15 Mar 2025
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 65
- 2025A Survey of Circuit Foundation Model: Foundation AI Models for VLSI Circuit Design and EDAcited by 17
- 2025VeriThoughts: Enabling Automated Verilog Code Generation using Reasoning and Formal Verificationcited by 15
- 2024HiVeGen -- Hierarchical LLM-based Verilog Generation for Scalable Chip Designcited by 13
- 2025TuRTLe: A Unified Evaluation of LLMs for RTL Generationcited by 8
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 7
- 2025LLM-VeriPPA: Power, Performance, and Area Optimization aware Verilog Code Generation with Large Language Modelscited by 5
- 2025VeriLoC: Line-of-Code Level Prediction of Hardware Design Quality from Verilog Codecited by 3
- 2025Large Language Models (LLMs) for Electronic Design Automation (EDA)cited by 3
- 2025CorrectHDL: Agentic HDL Design with LLMs Leveraging High-Level Synthesis as Referencecited by 3
- 2025Automating Hardware Design and Verification from Architectural Papers via a Neural-Symbolic Graph Frameworkcited by 1
- 2025QiMeng-CRUX: Narrowing the Gap Between Natural Language and Verilog via Core Refined Understanding eXpression for Circuit Designcited by 1
12 most cited of 15 All 15 (JSON)
- 2026GUIDE: GenAI Units In Digital Design Education18 Mar 2026
- 2026Report for NSF Workshop on AI for Electronic Design Automation20 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025QiMeng-CRUX: Narrowing the Gap Between Natural Language and Verilog via Core Refined Understanding eXpression for Circuit Design25 Nov 2025
- 2025CorrectHDL: Agentic HDL Design with LLMs Leveraging High-Level Synthesis as Reference20 Nov 2025
- 2025Automating Hardware Design and Verification from Architectural Papers via a Neural-Symbolic Graph Framework8 Nov 2025
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Ahead29 Oct 2025
- 2025LLM-VeriPPA: Power, Performance, and Area Optimization aware Verilog Code Generation with Large Language Models10 Sep 2025
- 2025Large Language Models (LLMs) for Electronic Design Automation (EDA)27 Aug 2025
- 2025VeriLoC: Line-of-Code Level Prediction of Hardware Design Quality from Verilog Code8 Jun 2025
- 2025VeriThoughts: Enabling Automated Verilog Code Generation using Reasoning and Formal Verification16 May 2025
- 2025TuRTLe: A Unified Evaluation of LLMs for RTL Generation31 Mar 2025
12 newest of 15 All 15 (JSON)