software · Q50
Verilator
Verilog and SystemVerilog compiler producing C++ or SystemC simulation models.
Overview
Verilator is an open-source compiler for Verilog and SystemVerilog hardware descriptions. It generates C++ or SystemC code that becomes an executable simulation after compilation. This workflow suits HDL-based verification and integration with software test harnesses, rather than interactive schematic drawing.[2]
Compiled simulation
A typical workflow processes the HDL, enables desired tracing or coverage features and compiles the generated code with the runtime and a driving program. The simulation executable then runs the design. Although a custom C++ wrapper is common, it is not universally required: current documentation describes generated main-program support for suitable timing-enabled simulations. Build configuration and the testbench are therefore part of the reproducible design environment, not incidental files.[2][3]
Compatibility boundaries
Verilator is mostly a two-state simulator, so unknown-value handling differs from conventional four-state semantics. Its language guide documents partial verification-language support and timing limitations, including ignored specify-block timing checks. Current timing support also means older blanket claims that Verilator cannot handle delays are misleading. A replacement decision must examine the constructs and initialization behavior used by the actual testbench rather than rely only on the SystemVerilog label.[3]
Results and licensing
Waveform tracing can produce outputs for external inspection, while the original HDL and harness remain necessary to rerun the test. Verilator offers LGPLv3 or Artistic License 2.0 licensing for its internals. The project's FAQ distinguishes that software from users' own HDL, C++ and interface code, which retain their own licenses. Third-party IP is a further constraint: the language guide says encrypted RTL is not directly usable.[1][3][4]
Platforms and alternatives
The project documents Linux, macOS and other supported build environments; its Windows guidance favors WSL2, with qualifications around alternative toolchains. It can replace Icarus Verilog for supported HDL simulations when a compiled C++ or SystemC workflow is appropriate. That substitution may require adapting build scripts, timing choices and testbench behavior. It does not imply identical unknown-state propagation, complete language coverage or a measured performance advantage for a particular design.[3][4][5][6]
Capabilities & limitations
Compiled HDL simulation
supportedGenerates C++ or SystemC models for compilation into a simulation executable.[2]
Digital logic design and simulation · Linux, macOS, FreeBSD, Windows with supported toolchain · Platform, runtime, language and project-format requirements apply
1 source · check evidence
C++/SystemC compilation, runtime and trace outputs
vendor · checked 2026-10-07Four-state equivalence
limitedMostly two-state semantics require checking initialization and unknown-value tests.[3]
Digital logic design and simulation · Linux, macOS, FreeBSD, Windows with supported toolchain · Platform, runtime, language and project-format requirements apply
1 source · check evidence
Timing options, unknown-state semantics, language limitations and encrypted RTL
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Icarus Verilog for Supported Verilog and SystemVerilog simulation
limitedAlternative compiled workflow; testbench constructs, timing and unknown-state behavior require review.[2][3][6]
Linux, macOS, FreeBSD, Windows with supported toolchain · Platform, runtime, language and project-format requirements apply
References
- Verilator copyright
LGPLv3 or Artistic License 2.0; separate example terms
vendor · retrieved 2026-10-07 - Verilator overview
C++/SystemC compilation, runtime and trace outputs
vendor · retrieved 2026-10-07 - Verilator input languages
Timing options, unknown-state semantics, language limitations and encrypted RTL
vendor · retrieved 2026-10-07 - Verilator FAQ
Windows recommendations, output ownership and waveform tracing
vendor · retrieved 2026-10-07 - Verilator installation requirements
OS requirements and C++ toolchain dependencies
vendor · retrieved 2026-10-07 - Getting started with Icarus Verilog
iverilog compiler, vvp runtime, multi-file designs and root-module selection
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 34 | 2026-10-08 23:18:33 | /* wbeditentity-create-item:0| */ sf:132bca4b-c29c-4afd-a2c3-c496e7b0f255:v1 | Add Verilator with cited digital-logic workflows, licensing and portability limits; documentation research only, no installation or simulation. | attribution: /proposals/132bca4b-c29c-4afd-a2c3-c496e7b0f255 |