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

#667 in Command line utilities

Download history 41/week @ 2024-01-22 72/week @ 2024-01-29 49/week @ 2024-02-05 62/week @ 2024-02-12 65/week @ 2024-02-19 251/week @ 2024-02-26 62/week @ 2024-03-04 84/week @ 2024-03-11 88/week @ 2024-03-18 202/week @ 2024-03-25 115/week @ 2024-04-01 68/week @ 2024-04-08 41/week @ 2024-04-15 60/week @ 2024-04-22 66/week @ 2024-04-29 77/week @ 2024-05-06

250 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
~225K SLoC