62 releases

0.9.2 Dec 27, 2023
0.9.1 Nov 20, 2023
0.9.0 Aug 9, 2023
0.8.0 Jun 26, 2023
0.2.16 Nov 26, 2019

#639 in Command line utilities

Download history 65/week @ 2024-01-27 50/week @ 2024-02-03 55/week @ 2024-02-10 77/week @ 2024-02-17 247/week @ 2024-02-24 66/week @ 2024-03-02 75/week @ 2024-03-09 86/week @ 2024-03-16 59/week @ 2024-03-23 267/week @ 2024-03-30 68/week @ 2024-04-06 45/week @ 2024-04-13 58/week @ 2024-04-20 58/week @ 2024-04-27 83/week @ 2024-05-04 52/week @ 2024-05-11

258 downloads per month
Used in svls

MIT license

485KB
14K SLoC

Rust 11K SLoC // 0.0% comments SystemVerilog 2.5K SLoC // 0.1% comments Batch 80 SLoC

svlint

SystemVerilog linter compliant with IEEE1800-2017. Written in Rust, based on sv-parser. Svlint is also integrated with most text editors via svls.

Actions Status codecov

Crates.io svlint

svlint

Installation

svlint can be installed in several ways:

  • Download a release, extract, and add the bin/ directory to your $PATH. A PDF copy of the MANUAL is included in the doc/ directory.
  • If you have a Rust toolchain, then you can install the binary with cargo, via cargo install svlint. This will copy the svlint binary (and the dev-only mdgen binary) to (usually) ~/.cargo/bin, but not the wrapper scripts (e.g. svlint-parseonly) or pre-written configurations (e.g. parseonly.toml) from rulesets/.
  • snapcraft, via sudo snap install svlint.

Usage

To see information about the command line interface use svlint --help, and to see which version you're running use svlint --version.

Further information on how svlint works, how to configure it, and other usage information is in the manual.

Dependencies

~7–17MB
~226K SLoC