---
name: verilator
description: "Use when adopting Verilator to assess this standard: Lint hardware descriptions before simulation"
---

# Apply Verilator

Run lint for each top module with the files, parameters and defines used by simulation. Review width mismatches, unintended latches and unused signals.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Verilator.
2. Use Verilator in this repository to meet this standard: Lint hardware descriptions before simulation. Run lint for each top module with the files, parameters and defines used by simulation. Review width mismatches, unintended latches and unused signals. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://verilator.org/guide/latest/) for configuration and prerequisites.
