Quick start
lucisv ships as two executables: lucisv for the command line and lucisv-server for editors. Both are built from the same release and use the same parser, configuration, and formatting rules.
Install
Section titled “Install”Download the release archive for macOS, Linux, or Windows, verify it against SHA256SUMS, and place both binaries on your PATH. To build from source instead:
cargo build --releasecp target/release/lucisv ~/.local/bin/cp target/release/lucisv-server ~/.local/bin/Confirm the installation:
lucisv --versionlucisv --helpFormat a project
Section titled “Format a project”lucisv rtl/ tb/top_tb.svDirectories are walked recursively. Verilog and SystemVerilog files use the extensions .v, .vh, .sv, and .svh; .gitignore rules are honored by default.
Preview a change without writing:
lucisv --diff rtl/Or use a project’s existing EDA filelist:
lucisv -f project.flucisv check rtl/lucisv check --fix rtl/The default rule set emphasizes portable, synthesis-friendly RTL. --fix applies only edits marked safe; design-changing repairs remain human decisions.
Add CI
Section titled “Add CI”lucisv --check rtl/lucisv check --output-format json rtl/An exit code of 1 means formatting changes or lint findings are present. 2 means the run itself failed. See the CLI contract for the complete behavior.
Connect an editor
Section titled “Connect an editor”- VS Code: install the
.vsixattached to the release. - Neovim 0.11+: configure
lucisv-serverwith filetypesverilogandsystemverilog. - Other LSP clients: launch
lucisv-serverover standard input/output.
Continue with Editors & LSP for settings and the complete capability index.