paper-with-me

홈 › Papers

SpecAlign: A Semantic Alignment Framework for SystemVerilog Assertion Generation

2026-05-24 · Jaime Rafael Imperial, Hao Zheng arxiv

Existing Large Language Model (LLM) approaches to SystemVerilog Assertion (SVA) generation primarily focus on syntactic validity and formal verification outcomes, while semantic alignment between generated assertions and natural language specifications remains difficult to quantify. As a result, hallucinated or misaligned SVAs can reduce confidence and increase debugging efforts in the absence of golden RTL. This paper presents SpecAlign, a framework for semantic evaluation and refinement of LLM-generated SVAs. SpecAlign introduces two iterative alignment loops that assess both natural language properties and SVAs against the design specification using entailment-based classification. We improve alignment decisions by generating multiple reasoning paths using chain-of-thought prompting and aggregating them via a self-consistency voting mechanism. Misaligned assertions are analyzed to generate actionable feedback for refinement. We further define a quantitative alignment score to measure semantic consistency across iterations. Experimental results demonstrate that SpecAlign effectively detects semantic inconsistencies and improves assertion alignment without relying on golden RTL, providing a scalable complement to traditional formal verification evaluation metrics.

📄 PDF Abstract BibTeX arXiv:2605.25181

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

STELLAR: Structure-guided LLM Assertion Retrieval and Generation for Formal Verification

2025-11-28 · Saeid Rajabi, Chengmo Yang, Satwik Patnaik arxiv

Formal Verification (FV) relies on high-quality SystemVerilog Assertions (SVAs), but the manual writing process is slow and error-prone. Existing LLM-based approaches either generate assertions from scratch or ignore str…

SANGAM: SystemVerilog Assertion Generation via Monte Carlo Tree Self-Refine

2025-06-11 · Adarsh Gupta, Bhabesh Mali, Chandan Karfa

Recent advancements in the field of reasoning using Large Language Models (LLMs) have created new possibilities for more complex and automatic Hardware Assertion Generation techniques. This paper introduces SANGAM, a Sys…

Enhancing Large Language Models for Hardware Verification: A Novel SystemVerilog Assertion Dataset

2025-03-11 · Anand Menon, Samit S Miftah, Shamik Kundu, Souvik Kundu 외

Hardware verification is crucial in modern SoC design, consuming around 70% of development time. SystemVerilog assertions ensure correct functionality. However, existing industrial practices rely on manual efforts for as…

SpecAlign: Efficient Specification-Grounded Alignment of Large Language Models via Synthetic Data

2026-06-15 · Wenjie Wang, Yue Huang, Zhengqing Yuan, Han Bao 외 arxiv

As large language models (LLMs) are increasingly deployed in real-world applications, alignment is no longer governed by a single universal notion of safety or helpfulness, but instead by provider- or application-specifi…

QiMeng-CodeV-SVA: Training Specialized LLMs for Hardware Assertion Generation via RTL-Grounded Bidirectional Data Synthesis

2026-03-15 · Yutong Wu, Chenrui Cao, Pengwei Jin, Di Huang 외 arxiv

SystemVerilog Assertions (SVAs) are crucial for hardware verification. Recent studies leverage general-purpose LLMs to translate natural language properties to SVAs (NL2SVA), but they perform poorly due to limited data. …