Lune

OOPSLA2025顶会

The Simulation Semantics of Synthesisable Verilog

Andreas Lööw

摘要

Despite numerous previous formalisation projects targeting Verilog, the semantics of Verilog defined by the Verilog standard – Verilog’s simulation semantics – has thus far eluded definitive mathematical formalisation. Previous projects on formalising the semantics have made good progress but no previous project provides a formalisation that can be used to execute or formally reason about real-world hardware designs. In this paper, we show that the reason for this is that the Verilog standard is inconsistent both with Verilog practice and itself. We pinpoint a series of problems in the Verilog standard that we have identified in how the standard defines the semantics of the subset of Verilog used to describe hardware designs, that is, the synthesisable subset of Verilog. We show how the most complete Verilog formalisation to date inherits these problems and how, after we repair these problems in an executable implementation of the formalisation, the repaired implementation can be used to execute real-world hardware designs. The existing formalisation together with the repairs hence constitute the first formalisation of Verilog’s simulation semantics compatible with real-world hardware designs. Additionally, to make the results of this paper accessible to a wider (nonmathematical) audience, we provide a visual formalisation of Verilog’s simulation semantics.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ChiSA: Static Analysis for Lightweight Chisel Verification 引用了 The Essence of Verilog: A Tractable and Tested Operational Semantics for Verilog
  • A Mechanised, Bidirectional Type System for Bit-Width Determination in SystemVerilog 引用了 The Essence of Verilog: A Tractable and Tested Operational Semantics for Verilog
  • Exploiting Sophisticated Static Analysis for Verilog 引用了 The Essence of Verilog: A Tractable and Tested Operational Semantics for Verilog
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. ChiSA: Static Analysis for Lightweight Chisel VerificationJiacai Cui, Qinlin Chen, Zhongsheng Zhan, Tian Tan 等POPL 2026
  2. A Mechanised, Bidirectional Type System for Bit-Width Determination in SystemVerilogGabriel Desfrene, Quentin Corradi, Michalis Pardalos, John WickersonCAV 2026
  3. Exploiting Sophisticated Static Analysis for VerilogQinlin Chen, Nairen Zhang, Jinpeng Wang, Jiacai Cui 等PLDI 2026
  4. VeriEQ: Finding Verilog Simulators and Synthesizers Bugs with Equivalence Circuit TransformationZhen Yan, Yuanliang Chen, Fuchen Ma, Zehong Yu 等OOPSLA 2026

它引用的 Paper1

  1. The Essence of Verilog: A Tractable and Tested Operational Semantics for VerilogQinlin Chen, Nairen Zhang, Jinpeng Wang, Tian Tan 等OOPSLA 2023 · 10 次引用

相关 Paper

  1. CirFix: automatically repairing defects in hardware design codeHammad Ahmad, Yu Huang, Westley WeimerASPLOS 2022 · 23 次引用
  2. Revamping Verilog Semantics for Foundational VerificationJoonwon Choi, Jaewoo Kim, Jeehoon KangOOPSLA 2025 · 1 次引用
  3. 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 次引用
  4. RTL-Repair: Fast Symbolic Repair of Hardware Design CodeKevin Laeufer, Brandon Fajardo, Abhik Ahuja, Vighnesh Iyer 等ASPLOS 2024 · 14 次引用
  5. CraftRTL: High-quality Synthetic Data Generation for Verilog Code Models with Correct-by-Construction Non-Textual Representations and Targeted Code RepairMingjie Liu, Yun-Da Tsai, Wenfei Zhou, Haoxing RenICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖