# SystemVerilog

**SystemVerilog** 是由 IEEE 标准化为 IEEE 1800 的统一硬件设计、规约与验证语言，用于在行为级、寄存器传输级（RTL）和门级抽象层次上对电子系统进行建模、仿真与验证。<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup> 它从 Verilog 发展而来，并完全吸收了后者：自 IEEE 1800-2009 起，Verilog 成为 SystemVerilog 的子集，“Verilog”这一名称也不再作为独立的 IEEE 标准存在。<sup>[2](https://systemverilog.dev/1.html)</sup><sup> • </sup><sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup>

| 关键事实 | 详情 |
|---|---|
| 现行标准 | IEEE 1800-2023，2023 年 12 月 6 日获董事会批准，2024 年 2 月 28 日发布，取代 1800-2017<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup> |
| 范围 | 行为级、RTL 级和门级的硬件建模；使用覆盖率、断言、面向对象编程和约束随机验证编写测试平台；面向外部编程语言的 API<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup> |
| 起源 | Verilog（IEEE 1364）、Superlog（由 Co-Design Automation 捐赠）与 OpenVera（由 Synopsys 捐赠）的结合<sup>[2](https://systemverilog.dev/1.html)</sup> |
| 首个 IEEE 标准 | IEEE 1800-2005，将 SystemVerilog 定义为对 Verilog-2005 的扩展<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup><sup> • </sup><sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup> |
| 与 Verilog 的合并 | IEEE 1800-2009 将 Verilog 与 SystemVerilog 标准合并为一<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup> |
| 采用情况 | 截至 2018 年，全球约 80% 的集成电路设计团队使用 Verilog 及其兼容的后继者 SystemVerilog<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup> |
| 相关标准 | 通用验证方法学（UVM），标准化为 IEEE 1800.2-2020<sup>[4](https://www.verilog.org/downloads/ieee)</sup> |

## 语言涵盖的内容

IEEE 1800 标准定义了单一语言的语法与语义，该语言承担两种角色。在设计方面，它在行为级、RTL 级和门级抽象层次上对硬件建模。在验证方面，它支持使用功能覆盖率、断言、面向对象编程和约束随机验证来编写测试平台。该标准还提供面向外部编程语言的应用程序编程接口，尤其是用于连接 C 和 C++ 代码的直接编程接口（DPI）。<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup>

在实践中，这两种角色将语言一分为二。综合工具——将 RTL 描述转换为门级网表的工具——只接受设计子集，拒绝或忽略类、约束随机化和覆盖组等验证构造。<sup>[5](https://github.com/Haouo/Verilog-SV-SVA-Guide/blob/main/en/part2-systemverilog/07-verification-features-overview.md)</sup> 一种常见的误解认为 Verilog 是可综合的语言，而 SystemVerilog 是仅用于验证的语言；事实上 Verilog 是 SystemVerilog 的严格子集，而 SystemVerilog 中只有一部分是可综合的。<sup>[2](https://systemverilog.dev/1.html)</sup> 在验证中大量使用的面向对象代码，并非所有综合工具都能综合。<sup>[2](https://systemverilog.dev/1.html)</sup>

**验证特性。** 验证子集包括类、约束随机化、功能覆盖率、邮箱、信号量和 SystemVerilog 断言（SVA）。用 `rand` 和 `randc` 修饰符标记的类字段会被随机生成，`constraint` 块表达这些值之间的关系和限制，`randomize()` 方法生成一组满足所有约束的值。覆盖点将采样值分组到仓中，例如将总线长度字段归类为短和长两个范围。SVA 充当桥梁，可用于仿真和形式验证两种场景。<sup>[5](https://github.com/Haouo/Verilog-SV-SVA-Guide/blob/main/en/part2-systemverilog/07-verification-features-overview.md)</sup>

约束随机验证之所以存在，是因为典型设计的状态空间过于庞大，仅靠随机激励无法探索所有关键用例，而定向或高度约束的测试又可能过于狭窄，无法提供良好的整体覆盖率；通过添加约束使随机激励合法，得到 SystemVerilog 和 UVM 的明确支持。<sup>[6](https://www.doulos.com/knowhow/systemverilog/uvm/uvm-verification-primer/)</sup> UVM 本身就是一个使用 IEEE 1800 SystemVerilog 标准的语法和语义定义的类库。<sup>[7](https://dvcon-proceedings.org/wp-content/uploads/trends-in-functional-verification-a-2016-industry-study.pdf)</sup>

## 历史

**Verilog 的起源。** Verilog 最初于 1983 年至 1984 年间开发，创建该语言的公司于 1990 年被 Cadence 收购。大约十年后，Cadence 将 Verilog 转入公有领域，它成为 IEEE 1364-1995 标准，通常称为 Verilog-95。IEEE 1364-2001（Verilog-2001）增加了语法增强，IEEE 1364-2005 是最后一个独立的 Verilog 标准。<sup>[2](https://systemverilog.dev/1.html)</sup> 由直接参与该语言演进的工程师 Peter Flake、Phil Moorby、Steve Golson、Arturo Salz 和 Simon Davidmann 撰写的 HOPL 历史论文，记录了 Verilog 于 1984 年诞生、1985 年首次销售，以及它在推动逻辑综合被广泛接受方面所起的作用。<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup>

**Accellera 时期。** SystemVerilog 于 2002 年首次作为 Accellera 规范推出，当年夏天以 SystemVerilog 3.0 发布。<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup><sup> • </sup><sup>[8](https://www.sciencedirect.com/topics/computer-science/verilog)</sup> Accellera 于 2003 年 5 月将 SystemVerilog 3.1 标准化，2004 年 5 月标准化 3.1a，并于 2004 年 6 月将其捐赠给 IEEE。<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup> 为避免 Verilog-2005 与 SystemVerilog 之间可能出现的分裂，Accellera 承诺在 2004 年夏天之前将其 SystemVerilog 版权捐赠给 IEEE。<sup>[8](https://www.sciencedirect.com/topics/computer-science/verilog)</sup>

**IEEE 标准化。** IEEE 1800-2005 于 2005 年 11 月将 SystemVerilog 标准化为 Verilog 的超集；2005 年的 SystemVerilog 标准定义了对 2005 年 Verilog 标准的扩展，两者被设计为作为一种语言使用。它作为 IEC 62530:2007 被国际采用。<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup><sup> • </sup><sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup> 2009 年 12 月，IEEE 1800-2009 将 Verilog 和 SystemVerilog 标准合并为单一文档，使所有语法和语义信息出现在一处。<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup><sup> • </sup><sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup> 随后的修订包括 IEEE 1800-2012（2013 年 2 月发布）和 IEEE 1800-2017（2017 年 12 月发布），对语言规范进行了细化和澄清。<sup>[3](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)</sup><sup> • </sup><sup>[2](https://systemverilog.dev/1.html)</sup> 现行修订版 IEEE 1800-2023 于 2023 年 12 月 6 日获得董事会批准，2024 年 2 月 28 日发布；其 PDF 可通过 IEEE Get 计划免费获取，由 Accellera Systems Initiative 赞助。<sup>[1](https://standards.ieee.org/ieee/1800/7743/)</sup>

## 采用与生态系统

SystemVerilog 得到所有主要 EDA 厂商的支持，包括 [Siemens EDA](https://www.edgepedia.org/zh/siemens-eda)、Synopsys、Cadence 和 Aldec。<sup>[9](https://www.engineeringniche.com/article/vhdl-and-systemverilog-comparing-hardware-description-languages-for-mixed-projects/)</sup> 商业仿真器包括 Xcelium（通过 `xrun` 调用）、VCS 和形式化平台 JasperGold；免费的基于浏览器的仿真可通过 EDA Playground 获得，开源工具包括 [Icarus Verilog](https://www.edgepedia.org/zh/icarus-verilog)、Verilator 和 [Yosys](https://www.edgepedia.org/zh/yosys)，不过 Yosys 默认的 SystemVerilog 支持在没有 Verific 许可证的情况下有限。<sup>[2](https://systemverilog.dev/1.html)</sup>

该语言处于一个混合的生态系统中。单个设计可以包含 VHDL RTL、SystemVerilog 验证代码、Verilog 遗留 IP、SystemC 模型、C/C++ DPI 代码和生成的 RTL。<sup>[10](https://langindex.dev/comparisons/vhdl-vs-verilog-systemverilog/)</sup> VHDL 在欧洲、国防和以形式验证为导向的组织中仍占主导地位，而 SystemVerilog 的验证生态系统——包括断言、覆盖率、类、DPI 和 UVM——使其在大型 ASIC 和 SoC 验证组织中尤为重要。<sup>[10](https://langindex.dev/comparisons/vhdl-vs-verilog-systemverilog/)</sup> 2000 年代中期的一项行业调查发现，在 ASIC 设计师中，59% 使用 Verilog，26% 使用 SystemVerilog，23% 使用 VHDL，12% 使用 SystemC，测试平台的使用已经分散在 Verilog（38%）和 SystemVerilog/VMM（30%）之间。<sup>[11](https://www.eetimes.com/surveying-the-hardware-assisted-verification-landscape/)</sup>

## 实用说明

SystemVerilog 源文件是基于文本的，按照惯例，实现文件以 `.sv` 结尾，头文件和定义文件以 `.svh` 结尾。

IEEE 1800-2017 标准长达一千多页，反映了一门涵盖设计建模、仿真语义、断言和外部代码接口的语言的广度。<sup>[2](https://systemverilog.dev/1.html)</sup> 该语言的设计血统体现在其特性中：`struct` 和 `enum` 类型来自 Superlog 捐赠，深受 C/C++ 影响；OpenVera 捐赠增强了断言表达式和覆盖率收集；面向对象编程模型受 C++ 和 Java 影响。<sup>[2](https://systemverilog.dev/1.html)</sup>

## References

1. [IEEE 1800-2023: IEEE Standard for SystemVerilog--Unified Hardware Design, Specification, and Verification Language, IEEE Standards Association](https://standards.ieee.org/ieee/1800/7743/)
2. [SystemVerilog for RTL Modeling, Simulation, and Verification, Chapter 1: Introduction](https://systemverilog.dev/1.html)
3. [Peter Flake, Phil Moorby, Steve Golson, Arturo Salz, and Simon Davidmann (2020). Verilog HDL and Its Ancestors and Descendants. Proc. ACM Program. Lang. 4, HOPL, Article 87.](https://www.researchgate.net/publication/342137214_Verilog_HDL_and_its_ancestors_and_descendants)
4. [Available IEC/IEEE Standards, Accellera Systems Initiative](https://www.verilog.org/downloads/ieee)
5. [SystemVerilog Verification Features Overview, Verilog-SV-SVA-Guide](https://github.com/Haouo/Verilog-SV-SVA-Guide/blob/main/en/part2-systemverilog/07-verification-features-overview.md)
6. [UVM Verification Primer, Doulos](https://www.doulos.com/knowhow/systemverilog/uvm/uvm-verification-primer/)
7. [Trends in Functional Verification: A 2016 Industry Study, DVCon Proceedings](https://dvcon-proceedings.org/wp-content/uploads/trends-in-functional-verification-a-2016-industry-study.pdf)
8. [Verilog: an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/computer-science/verilog)
9. [VHDL and SystemVerilog: Comparing Hardware Description Languages for Mixed Projects, Engineering Niche](https://www.engineeringniche.com/article/vhdl-and-systemverilog-comparing-hardware-description-languages-for-mixed-projects/)
10. [VHDL vs Verilog / SystemVerilog, LangIndex](https://langindex.dev/comparisons/vhdl-vs-verilog-systemverilog/)
11. [Surveying the hardware-assisted verification landscape, EE Times](https://www.eetimes.com/surveying-the-hardware-assisted-verification-landscape/)

---
*Initially written Oct 15, 2026*

Topic: 社会与历史 › 经济与商业 › 创始人、经营者与投资者 › Technology founders and companies › Semiconductors and hardware › United States chips and hardware › EDA and design tools

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/systemverilog

English original: https://www.edgepedia.org/systemverilog
