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

#668 in Command line utilities

Download history 115/week @ 2023-12-21 132/week @ 2023-12-28 82/week @ 2024-01-04 42/week @ 2024-01-11 39/week @ 2024-01-18 59/week @ 2024-01-25 60/week @ 2024-02-01 50/week @ 2024-02-08 71/week @ 2024-02-15 192/week @ 2024-02-22 125/week @ 2024-02-29 66/week @ 2024-03-07 92/week @ 2024-03-14 68/week @ 2024-03-21 255/week @ 2024-03-28 54/week @ 2024-04-04

479 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–19MB
~238K SLoC