Use Verilator when you want speed and structure.
- Compile RTL into a fast simulation executable
- Run lint-like checks before deeper verification work
- Produce traces you can inspect in GTKWave
- Script simulation in CI or agent workflows
Verilator turns Verilog or SystemVerilog into a compiled simulation flow. It is a strong first tool when you want fast lint-style feedback, batch simulation, and a clean path into waveform debugging.
The Verilator docs show a simple Ubuntu package path, a git/source path for newer versions, and an official CMake flow for Windows builds with MSVC or Clang.
The official docs show a simple Ubuntu package install and note that distro packages can lag behind the latest release.
If you need a newer build than your distro ships, move to the official git/source path below.
For a fast macOS install, this portal recommends the official OSS CAD Suite bundle because it ships current tool binaries for macOS 12+ on Intel and Apple Silicon.
If you want a standalone Verilator build instead, use the official git/source route or Windows-style CMake build notes as the advanced path.
The official CMake guide says Windows builds are the current supported CMake path. Install Python, CMake, Visual Studio or Clang, and WinFlexBison first.
Verilator’s docs call out GTKWave as the tool to install if you want FST trace viewing. If your next step is debug, open the RTL lab page after this guide.
This guide is a portal summary, not a mirrored manual. It paraphrases the official Verilator docs, credits the upstream project, and links you back to the official repo and license material for the full details.