Veritas: Deterministic Verilog Code Synthesis from LLM-Generated Conjunctive Normal Form
Not on the map. Why?
Abstract (arXiv)
Automated Verilog code synthesis poses significant challenges and typically demands expert oversight. Traditional high-level synthesis (HLS) methods often fail to scale for real-world designs. While large language models (LLMs) have enhanced scalability, they often introduce syntactical and logical errors requiring extensive post-generation verification. Here, we introduce a novel conjunctive normal form (CNF)-guided synthesis methodology. The idea is to have an LLM generate CNF clauses, a format widely used for formal verification and synthesis validation in hardware design, but here it is used to formally describe the desired circuit functionality. These CNF specifications are then deterministically converted into Verilog, ensuring correctness by construction. Our approach fine-tunes an open-source and lightweight LLM, namely the CPU-deployable LLama-3.2-3B-Instruct model (parameters < 4B), on a dataset of standard RTL components. Experimental results demonstrate that our approach reliably produces functionally correct Verilog code on the first attempt, compared to other lightweight open-source SoTA works such as Verigen (2B parameters) and RTLCoder (4-bit quantized with around 7B parameters). We will release our method and data in full post peer-review.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 6 of its 21 references that are in the map. First posted on arXiv 7 May 2025.
Builds on
6 of 21 references.
References · 6
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
- 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 140
- 2023ChipGPT: How far are we from natural language hardware designcited by 105
- 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 83
- 2020DAVE: Deriving Automatically Verilog from Englishcited by 48
Built on by
Citing papers per year: 2025: 3; 2026: 4.
7 papers.
- 2025NetDeTox: Adversarial and Efficient Evasion of Hardware-Security GNNs via RL-LLM Orchestrationcited by 9
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 8
- 2025CorrectHDL: Agentic HDL Design with LLMs Leveraging High-Level Synthesis as Referencecited by 3
- 2026TrojanGYM: A Detector-in-the-Loop LLM for Adaptive RTL Hardware Trojan Insertioncited by 2
- 2026GUIDE: GenAI Units In Digital Design Educationcited by 1
- 2026LLMs for Secure Hardware Design and Related Problems: Opportunities and Challengescited by 1
- 2026Hardware Design and Security in the Era of Chiplets and LLMscited by 0
- 2026Hardware Design and Security in the Era of Chiplets and LLMs5 Aug 2026
- 2026LLMs for Secure Hardware Design and Related Problems: Opportunities and Challenges11 May 2026
- 2026GUIDE: GenAI Units In Digital Design Education18 Mar 2026
- 2026TrojanGYM: A Detector-in-the-Loop LLM for Adaptive RTL Hardware Trojan Insertion23 Jan 2026
- 2025NetDeTox: Adversarial and Efficient Evasion of Hardware-Security GNNs via RL-LLM Orchestration27 Nov 2025
- 2025CorrectHDL: Agentic HDL Design with LLMs Leveraging High-Level Synthesis as Reference20 Nov 2025
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Ahead29 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metric
- 2024MetRex: A Benchmark for Verilog Code Metric Reasoning Using LLMs
- 2025Comprehensive Verilog Design Problems: A Next-Generation Benchmark Dataset for Evaluating Large Language Models and Agents on RTL Design and Verification
- 2025VFlow: Discovering Optimal Agentic Workflows for Verilog Generation
- 2026Synthesis-in-the-Loop Evaluation of LLMs for RTL Generation: Quality, Reliability, and Failure Modes
- 2025Faver: Boosting LLM-based RTL Generation with Function Abstracted Verifiable Middleware
- 2025Insights from Verification: Training a Verilog Generation LLM with Reinforcement Learning with Testbench Feedback
- 2025hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation