63 releases

0.9.3 Jun 3, 2024
0.9.2 Dec 27, 2023
0.9.1 Nov 20, 2023
0.8.0 Jun 26, 2023
0.2.16 Nov 26, 2019

#618 in Command line utilities

Download history 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 66/week @ 2024-05-13 101/week @ 2024-05-20 83/week @ 2024-05-27 282/week @ 2024-06-03 181/week @ 2024-06-10 65/week @ 2024-06-17 56/week @ 2024-06-24

599 downloads per month
Used in svls

MIT license

515KB
14K SLoC

Rust 12K 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