Think with Self-Decoupling and Self-Verification: Automated RTL Design with Backtrack-ToT

📅 2025-11-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Large language models (LLMs) face two key challenges in automated IC design: high failure rates in single-shot generation of complex RTL circuits, and poor alignment of conventional chain-of-thought (CoT) reasoning with expert design knowledge and formal verification requirements. Method: We propose VeriBToT, a novel LLM inference paradigm built upon the Backtrack-ToT framework. It integrates three core mechanisms: (1) self-decoupling—decomposing tasks hierarchically by design abstraction; (2) self-verification—embedding formal verification feedback into the reasoning loop; and (3) verifiability-driven tree-of-thought structure—enabling controllable reasoning direction and adjustable step granularity. VeriBToT deeply embeds the Design-for-Verification (DFV) principle into LLM inference, supporting backtracking-based optimization and modular code generation. Contribution/Results: Experiments demonstrate that VeriBToT significantly improves functional correctness and engineering usability of complex Verilog modules, while reducing human intervention frequency and token consumption.

Technology Category

Application Category

📝 Abstract
Large language models (LLMs) hold promise for automating integrated circuit (IC) engineering using register transfer level (RTL) hardware description languages (HDLs) like Verilog. However, challenges remain in ensuring the quality of Verilog generation. Complex designs often fail in a single generation due to the lack of targeted decoupling strategies, and evaluating the correctness of decoupled sub-tasks remains difficult. While the chain-of-thought (CoT) method is commonly used to improve LLM reasoning, it has been largely ineffective in automating IC design workflows, requiring manual intervention. The key issue is controlling CoT reasoning direction and step granularity, which do not align with expert RTL design knowledge. This paper introduces VeriBToT, a specialized LLM reasoning paradigm for automated Verilog generation. By integrating Top-down and design-for-verification (DFV) approaches, VeriBToT achieves self-decoupling and self-verification of intermediate steps, constructing a Backtrack Tree of Thought with formal operators. Compared to traditional CoT paradigms, our approach enhances Verilog generation while optimizing token costs through flexible modularity, hierarchy, and reusability.
Problem

Research questions and friction points this paper is trying to address.

Automating Verilog generation with quality assurance challenges
Addressing ineffective chain-of-thought in IC design workflows
Controlling reasoning direction and granularity for RTL design
Innovation

Methods, ideas, or system contributions that make the work stand out.

Self-decoupling strategy for complex Verilog generation
Self-verification of intermediate design steps
Backtrack Tree of Thought with formal operators
🔎 Similar Papers
No similar papers found.
Zhiteng Chao
Zhiteng Chao
SKLP, ICT
computer science
Y
Yonghao Wang
State Key Lab of Processors, Institute of Computing Technology, CAS, Beijing, China
X
Xinyu Zhang
State Key Lab of Processors, Institute of Computing Technology, CAS, Beijing, China; University of Chinese Academy of Sciences, Beijing, China
J
Jiaxin Zhou
Beijing Normal University, China
T
Tenghui Hua
State Key Lab of Processors, Institute of Computing Technology, CAS, Beijing, China; University of Chinese Academy of Sciences, Beijing, China
Husheng Han
Husheng Han
Institute of Computing Technology, Chinese Academy of Sciences
Computer architectureSecurityDNNDomain-Specific Accelerator
Tianmeng Yang
Tianmeng Yang
Baidu ERNIE, Peking University
LLMRLMachine LearningData Mining
Jianan Mu
Jianan Mu
Institute of Computing Technology, State Key Laboratory of Processors (SKLP), CAS
Design AutomationAccelaretorPrivacy Preserving Computing
B
Bei Yu
Chinese University of Hong Kong, Hongkong
R
Rui Zhang
State Key Lab of Processors, Institute of Computing Technology, CAS, Beijing, China
J
Jing Ye
State Key Lab of Processors, Institute of Computing Technology, CAS, Beijing, China; University of Chinese Academy of Sciences, Beijing, China
Huawei Li
Huawei Li
Institute of Computing Technology, Chinese Academy of Sciences
computer engineering