mlsanityData to 14 Oct 2026

Veritas: Deterministic Verilog Code Synthesis from LLM-Generated Conjunctive Normal Form

arXiv 2506.00005 ↗First posted 7 May 2025cs.ARcited by 7

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

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
  3. 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 140
  4. 2023ChipGPT: How far are we from natural language hardware designcited by 105
  5. 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 83
  6. 2020DAVE: Deriving Automatically Verilog from Englishcited by 48

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 4.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metric
  2. 2024MetRex: A Benchmark for Verilog Code Metric Reasoning Using LLMs
  3. 2025Comprehensive Verilog Design Problems: A Next-Generation Benchmark Dataset for Evaluating Large Language Models and Agents on RTL Design and Verification
  4. 2025VFlow: Discovering Optimal Agentic Workflows for Verilog Generation
  5. 2026Synthesis-in-the-Loop Evaluation of LLMs for RTL Generation: Quality, Reliability, and Failure Modes
  6. 2025Faver: Boosting LLM-based RTL Generation with Function Abstracted Verifiable Middleware
  7. 2025Insights from Verification: Training a Verilog Generation LLM with Reinforcement Learning with Testbench Feedback
  8. 2025hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation