Bridging the Semantic Gap from Natural Language Specifications to RTL with Layered Formal Guidance
Not on the map. Why?
Abstract (arXiv)
While large language models (LLMs) have shown promise in generating register-transfer level (RTL) code from natural-language specifications, their reliability remains limited on designs with complex control logic and temporal behavior. This stems from a fundamental semantic gap: high-level natural language often leaves implementation-critical details underspecified, forcing LLMs to infer unstated assumptions. This paper presents Layered Formal Guidance, a novel framework that bridges this semantic gap by using formal properties as an intermediate semantic layer between natural-language specifications and RTL generation. Our framework applies formal guidance across three layers: property-driven specification augmentation before generation, property-consistency checking after generation, and counterexample-guided refinement after checking. Experiments on RTLLM benchmarks and various open-source IP designs demonstrate that our framework achieves higher functional correctness and lower sampled output-trace diversity. Furthermore, we show that Layered Formal Guidance can flexibly augment both general-purpose LLMs and domain-specific models to substantially improve their generation reliability.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 22 of its 27 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.
Builds on
22 of 27 references.
References · 22
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 277
- 2023RTLLM: An Open-Source Benchmark for Design RTL Generation with Large Language Modelcited by 166
- 2022Benchmarking Large Language Models for Automated Verilog RTL Code Generationcited by 125
- 2023RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Modelscited by 112
- 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 109
- 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 97
- 2024VerilogCoder: Autonomous Verilog Coding Agents with Graph-based Planning and Abstract Syntax Tree (AST)-based Waveform Tracing Toolcited by 95
- 2023RTLCoder: Outperforming GPT-3.5 in Design RTL Generation with Our Open-Source Dataset and Lightweight Solutioncited by 77
- 2024OriGen:Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflectioncited by 61
- 2025Comprehensive Verilog Design Problems: A Next-Generation Benchmark Dataset for Evaluating Large Language Models and Agents on RTL Design and Verificationcited by 56
- 2025QiMeng-CodeV-R1: Reasoning-Enhanced Verilog Generationcited by 45
10 more
- 2024MAGE: A Multi-Agent Engine for Automated RTL Code Generationcited by 40
- 2025OpenLLM-RTL: Open Dataset and Benchmark for LLM-Aided Design RTL Generationcited by 37
- 2024AssertLLM: Generating Hardware Verification Assertions from Design Specifications via Multi-LLMscited by 35
- 2025VFlow: Discovering Optimal Agentic Workflows for Verilog Generationcited by 20
- 2025AssertionForge: Enhancing Formal Verification Assertion Generation with Structured Representation of Specifications and RTLcited by 16
- 2023A Deep Learning Framework for Verilog Autocompletion Towards Design and Verification Automationcited by 11
- 2025Spec2Assertion: Automatic Pre-RTL Assertion Generation using Large Language Models with Progressive Regularizationcited by 9
- 2026FormalRTL: Verified RTL Synthesis at Scalecited by 5
- 2025AutoVeriFix: Automatically Correcting Errors and Enhancing Functional Correctness in LLM-Generated Verilog Codecited by 4
- 2026ChipVerilog: A Large-Scale OpenCores-Derived Benchmark for LLM-Based Verilog RTL Generationcited by 2
Built on by
Not cited yet.