paperbot · PL 论文追踪

全部论文 待读 收藏

P2 The Simulation Semantics of Synthesisable Verilog

可综合 Verilog 的仿真语义
OOPSLA 9(OOPSLA1)2025匹配度 4/10 · 论文是可综合 Verilog 子集仿真语义的形式化,并修复标准不一致、提供可执行实现,符合对理论形式化与工程落地、问题驱动工作的偏好;但主题属于硬件语言形式语义,未涉及 LLM/Agent 与静态分析/形式验证的结合、ML/Agentic 程序分析、浮点或贝叶斯程序分析,与画像核心交叉点较远。引用 3 inbox
Andreas Lööw
crossref: 2026-09-10

AI 速览

一句话:指出现有 Verilog 标准与可综合子集语义的不一致,修复并给出首个可执行真实硬件设计的仿真语义形式化。

尽管已有多个 Verilog 形式化项目,Verilog 标准定义的仿真语义始终缺乏可用的数学形式化,导致既有工作无法执行或推理真实硬件设计。本文指出标准与 Verilog 实践及自身不一致,并定位可综合 Verilog 子集语义定义中的一系列问题;作者证明目前最完整的形式化继承了这些问题,并在可执行实现中修复它们,使其能执行真实硬件设计。修复后的形式化成为首个与真实硬件设计兼容的 Verilog 仿真语义形式化;论文还提供可视化形式化以面向非数学读者。

问题
Verilog 标准对可综合子集的仿真语义缺乏一致、可执行且能支持真实硬件设计推理的数学形式化。
方法
系统分析标准与实践及自身的不一致,定位语义问题,在已有最完整形式化的可执行实现中修复,并提供可视化形式化。
评估
通过修复后的实现能否执行真实硬件设计来验证,结果表明其兼容真实设计,成为首个此类形式化。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot3168,
  title = {The Simulation Semantics of Synthesisable Verilog},
  author = {Andreas Lööw},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA1},
  year = {2025},
  doi = {10.1145/3720484}
}