The Essence of Verilog: A Tractable and Tested Operational Semantics for Verilog
Qinlin Chen, Nairen Zhang, Jinpeng Wang, Tian Tan, Chang Xu, Xiaoxing Ma, Yue Li
摘要
With the increasing need to apply modern software techniques to hardware design, Verilog, the most popular Hardware Description Language (HDL), plays an infrastructure role. However, Verilog has several semantic pitfalls that often confuse software and hardware developers. Although prior research on formal semantics for Verilog exists, it is not comprehensive and has not fully addressed these issues. In this work, we present a novel scheme inspired by previous work on defining core languages for software languages like JavaScript and Python. Specifically, we define the formal semantics of Verilog using a core language called λ V , which captures the essence of Verilog using as few language structures as possible. λ V not only covers the most complete set of language features to date, but also addresses the aforementioned pitfalls. We implemented λ V with about 27,000 lines of Java code, and comprehensively tested its totality and conformance with Verilog. As a reliable reference semantics, λ V can detect semantic bugs in real-world Verilog simulators and expose ambiguities in Verilog’s standard specification. Moreover, as a useful core language, λ V has the potential to facilitate the development of tools such as a state-space explorer and a concolic execution tool for Verilog.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ChiSA: Static Analysis for Lightweight Chisel Verification 引用了 The Simulation Semantics of Synthesisable Verilog
- ChiSA: Static Analysis for Lightweight Chisel Verification 引用了 Efficiently Exploiting Low Activity Factors to Accelerate RTL Simulation
- Formal verification of high-level synthesis 引用了 LLHD: a multi-level intermediate representation for hardware description languages
- A Mechanised, Bidirectional Type System for Bit-Width Determination in SystemVerilog 引用了 The Simulation Semantics of Synthesisable Verilog
- Exploiting Sophisticated Static Analysis for Verilog 引用了 LLHD: a multi-level intermediate representation for hardware description languages
- Exploiting Sophisticated Static Analysis for Verilog 引用了 The Simulation Semantics of Synthesisable Verilog
引用它的顶会 Paper4
- The Simulation Semantics of Synthesisable VerilogAndreas LööwOOPSLA 2025 · 4 次引用
- ChiSA: Static Analysis for Lightweight Chisel VerificationJiacai Cui, Qinlin Chen, Zhongsheng Zhan, Tian Tan 等POPL 2026
- A Mechanised, Bidirectional Type System for Bit-Width Determination in SystemVerilogGabriel Desfrene, Quentin Corradi, Michalis Pardalos, John WickersonCAV 2026
- Exploiting Sophisticated Static Analysis for VerilogQinlin Chen, Nairen Zhang, Jinpeng Wang, Jiacai Cui 等PLDI 2026
它引用的 Paper3
- Efficiently Exploiting Low Activity Factors to Accelerate RTL SimulationScott Beamer, David DonofrioDAC 2020 · 36 次引用
- LLHD: a multi-level intermediate representation for hardware description languagesFabian Schuiki, Andreas Kurth, Tobias Grosser, Luca BeniniPLDI 2020 · 35 次引用
- Formal verification of high-level synthesisYann Herklotz, James D. Pollard, Nadesh Ramanathan, John WickersonOOPSLA 2021 · 29 次引用
相关 Paper
- VerilogCoder: Autonomous Verilog Coding Agents with Graph-based Planning and Abstract Syntax Tree (AST)-based Waveform Tracing ToolChia-Tung Ho, Haoxing Ren, Brucek KhailanyAAAI 2025 · 108 次引用
- Towards Understanding the Bugs in Verilator, a Hardware Description Language CompilerSongyan Jiang, Maolin Sun, Kang Chen, Qingyang Li 等ISSTA 2026
- QiMeng-CRUX: Narrowing the Gap Between Natural Language and Verilog via Core Refined Understanding eXpressionLei Huang, Rui Zhang, Jiaming Guo, Yang Zhang 等AAAI 2026 · 1 次引用
- VerilogLAVD: LLM-Aided Pattern Generation for Verilog CWE DetectionXiang Long, Yingjie Xia, Li Kuang, Yao Wan 等ACL 2026
- First-Class Verification Dialects for MLIRMathieu Fehr, Yuyou Fan, Hugo Pompougnac, John Regehr 等PLDI 2025 · 5 次引用
