GS/BS
← Standards directory
Code quality

Verilator.

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.

Verilog / SystemVerilog

Community rubric · v1

The evidence

Evidence coverage3 / 8
3 supported · 5 unresolved

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • Definition

    Verified

    Verilator defines --lint-only as checking designs for warnings without generating a simulation model; enabled warning classes bound the check.

    Cited source ↗
  • Measurement

    Verified

    Verilator can write diagnostics from the lint run to a specified SARIF file.

    Cited source ↗
  • Conformance

    Unknown

    No reviewed evidence is recorded for this dimension.

    What would demonstrate a violation? Contribute evidence ↗

  • CI enforcement

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a change trigger a useful check? Contribute evidence ↗

  • Getting started

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a newcomer complete a first run? Contribute evidence ↗

  • Real-world adoption

    Verified

    CodeRabbit lints changed Verilog and SystemVerilog for width, connectivity and other design issues, reporting the rule and affected lines.

    Cited source ↗
  • Agent guidance

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can an agent act on a specific finding? Contribute evidence ↗

  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

    Does the practice work in two agent harnesses? Contribute evidence ↗

Use this standard

Agent prompt

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.
Read the agent skill ↗

Primary source

Verilator documentation ↗