-
v0.48.0
Stablereleased this
2026-09-05 22:04:05 -07:00 | 121 commits to master since this releaseA DUT-centred hierarchy view
- Star a module as DUT from the hierarchy pane's row menu (or the
lucisv.hierarchy.starDutcommand, or a checked-in
lucisv.hierarchy.dutssetting, whose entries show locked). Each DUT
gets two collapsible sections: the DUT with its instance subtree, the
DUT at the very top, and the DUT's parents — an upward tree from the
DUT through every module that instantiates it, transitively, which is
where the DV bench lands. One section holds every other module: those
in no DUT's subtree or ancestor chain, re-rooted where their only
parents are DUT ancestors, so a monitor beside the DUT under the same
bench stays visible. One DUT → three sections; two → five. A module
both below one DUT and above another appears in both DUT sections.
With nothing starred the pane is exactly as before. Client-only, over
the hierarchy snapshot the server already sends.
Downloads
- Star a module as DUT from the hierarchy pane's row menu (or the
-
v0.47.0
Stablereleased this
2026-09-05 21:04:14 -07:00 | 123 commits to master since this releaseOrganize imports, extract module
- Organize imports. Removes the
import pkg::*;lines nothing in the
scope reaches through, merges exact duplicates and sorts the run at the
top of a module, package or class;source.organizeImports, so an
editor's organize-on-save runs it, andlucisv.organizeImports. "Used"
is the binder's own lookup, read as a superset — over-keeping is the
safe direction — and anexport pkg::…in the same package counts as a
use of its import (IEEE 1800 §26.6). It refuses rather than guesses
wherever a macro call, a conditional directive, an unknown or
twice-declared package, or a base class in another file could hide a
use, which is why every opentitan UVM package (all carrying
`include "uvm_macros.svh") is refused. The same judgement is the
newunused-importrule (Style, off by default, safe fix). - Extract module. Select whole module items and give a name: the
items become a new module with ports inferred from dataflow across the
selection (read only →input, written →output, written on both
sides → refused), parameters passed through, used imports copied, and
the selection replaced by an instantiation rendered from the new
module's own text. Written to a new file when the client can create
one, below the source module otherwise. Forty-three refusal sentences
for what lucisv cannot judge (a routine argument, a hierarchical path
crossing the boundary, an interface-typed name, atypedefof the
source module, …).refactor.extractcode action,lucisv.extractModule,
and a name prompt in the VS Code extension. Inline module follows in a
later release. - The verifier's never-dropped ledger follows a move. For the bytes
an extraction moves, a comment or attribute deleted inside the moved
region must land exactly once in the file the move names; a deletion
outside the region stays an ordinary deletion that must be written
back in its own file. Opt-in per edit, four equations, twelve attack
pairs through the production entry, re-attacked by QA.
Downloads
- Organize imports. Removes the
-
released this
2026-09-05 16:03:54 -07:00 | 126 commits to master since this releaseTwo refactorings: expand
.*, convert ports to ANSI- Expand
.*. A wildcard connection is written out as the named
connections it stands for, in the module's declaration order, through
the port engine's splice and verifier. The wildcard rule is read
strictly (IEEE 1800 §23.3.2.4): a same-named net, variable or port
binds; a parameter, genvar, type or instance does not, and that port
becomes.p()with a warning naming it. Refused inside abind
directive, on a positional list, on two.*, or when a file does not
parse. Code actionlucisv: expand .* (N connections)and command
lucisv.expandWildcard. - Convert ports to ANSI. A Verilog-2001 header with body
declarations becomes an ANSI header (output b; reg [7:0] b;→
output reg [7:0] b, every merge of §23.2.2.2), the absorbed
declarations deleted and their comments carried onto the ports. The
edit inserts around each header name so nothing that referenced the
port moves; twenty-three shapes are refused with a sentence rather
than guessed (port expressions, disagreeing ranges, initialisers,
directives, a comment that would have to move into a one-line list).
Code actionlucisv: convert ports to ANSI (N ports)and command
lucisv.convertToAnsi. - The refactoring verifier's comment rule is stricter, and covers
attributes. Every comment and every(* … *)attribute a file had it
still has, by exact text and count; a piece a deletion covers is
written back exactly as many times as it was deleted, and an edit may
not duplicate one nothing touched — which also catches a comment
rewritten, truncated or duplicated. Ships with masked-corruption
attack tests, re-attacked by QA.
Downloads
- Expand
-
v0.45.0
Stablereleased this
2026-09-05 11:35:57 -07:00 | 129 commits to master since this releaseCross-file semantics: type spans, re-exports, hierarchical tails
- Type names carry spans. Every
DataTypeanddisabletarget knows
its range on the AST; the semantic crate's text scanner (scan.rs) is
deleted. Definition and hover on a type name land exactly,pkg::t
selectingt; a segment the source spells differently from the
parser's join is recorded with an empty range rather than guessed. - Package re-exports are real references.
export pkg::item;and
export pkg::*;bind both halves, the index records each package's
re-exports, and definition, hover, completion afterpkg::, references
and rename follow them transitively. On opentitan a name reached only
throughexport spi_device_reg_pkg::SramDepth;now resolves. - Renaming an internal net edits its hierarchical uses in other files.
A module now has a hierarchical surface (nets, variables, instances)
read only behind an instance head —assign w = u_x.sig;in another
file renames withsig's declaration, nestedu_a.u_b.sigincluded —
while connection lists still see ports and parameters only. Completion
afteru_x.in an expression lists the hierarchical members. Over
opentitan'shw/, 514 hierarchical references resolve that did not
before; a rename that now reaches one more file costs one more file's
read. - The index facts format is 19; stores written by earlier releases are
rebuilt on first use.
Downloads
- Type names carry spans. Every
-
v0.44.0
Stablereleased this
2026-09-05 06:15:37 -07:00 | 134 commits to master since this releaseOpening a file no longer stalls the editor
undriven-netasked the workspace census once per declaration,
ahead of the local guards that silence almost every one, so a
didOpen— and every keystroke flush — of a large file paid a walk
over every indexed file thousands of times. Asked last now, the way
its twinunused-signalalways did. Opening opentitan's 42 192-line
pinmux_reg_top.svat workspace scope: 1 742 ms → 117 ms; typical
IP files 51–95 ms → 5–8 ms. Same findings in the same order.- Walk warnings. An unreadable directory, an unreadable
.gitignore
or a dangling source-file symlink no longer fails a run: the CLI
printswarning: <path>: <message>on stderr before the report with
the exit code unchanged, and the server logs once per scan. - A typo in
lucisv.lint.selectorignoreis logged once
(lucisv.lint.select: unknown rule: <name>) instead of silently
emptying the selection. - Inline aggregate types as parameter-override arguments
(m #(.T(struct packed { logic a; })) u ();) parse, format and are
emitted by the instantiation skeleton. - Comment slots inside delay lists (
#( /*a*/ 1 : 2 : 3 ), gate
#(rise, fall)), and a line comment after a gate instance's comma
now ends the line.
Downloads
-
v0.43.0
Stablereleased this
2026-09-05 00:43:10 -07:00 | 139 commits to master since this releaseThe repository analysis's three findings
- Atomic writers cannot collide. In-place writes use an exclusive,
per-operation temp file (.{name}.{pid}.{n}.lucisv-tmp, created
0600 when a target exists and given the target's mode before the bytes
land); the CLI deduplicates its inputs by canonical identity, so a
symlink alias of a file reaches one worker and is reported once. Two
processes on one target remain last-writer-wins, which the formatter's
idempotence makes safe. - One lint-configuration contract. The editor now honours a project's
[lint] selectand[lint] ignorethe way the CLI honours its flags:
lucisv.lint.selectwhen set, else the project's, key by key, with the
editor-only severity switches and per-rule toggles applied over whichever
stands. A project entry the server cannot use — a rejected[lint.<rule>]
option, an unknown rule name, a bad waiver directive — is logged once with
file and line inlucisv check's wording and dropped; the buffer keeps
linting. The CLI's and the server's rule lists are asserted equal over
the wire. - Directory walks terminate on symlink cycles. Each directory is
entered once by identity; a link to a directory already entered is
skipped, one not yet entered is followed once, a dangling directory link
is skipped and a dangling source-file link is still reported. Both the
CLI and the server's index scan. - A comment before a net delay's
#(wire /* c */ #5 w;) now formats.
Downloads
- Atomic writers cannot collide. In-place writes use an exclusive,
-
v0.42.0
Stablereleased this
2026-09-04 22:03:07 -07:00 | 143 commits to master since this releaseExternal waiver files, and the two vendor shapes the sweep skipped
- External waiver files in Verible's format:
waive --rule=<rule> [--line=N|N-M] [--location=<pattern>],#comments. Read from
[lint] waiversinlucisv.toml,lucisv check --waiver-file(repeatable)
and the editor settinglucisv.lint.waivers; the three add up.
--locationis an--exclude-style pattern, not a regex, and a
regex-looking one is refused by name. Union with inline waivers; unused
external waivers are reported underunused-waiverat their line of the
waiver file bylucisv check, after the whole run. The editor's quick
fixes and fix-on-save honour external waivers too. - Rival module/interface headers across an
ifdef/else(opentitan's
jtag_if.sv) now parse: the unit is kept verbatim as a whole, the
standing directive-split trade, instead of nesting and losing its
closer. - A net delay after the type (
wire [31:0] #0.1 x = y;, where the LRM
puts it) is accepted and printed where it was written. - Documentation: the repository analysis audit's README and site rewrite
(architecture across all eight crates, topo facts at codec 17) is
committed; its three findings are planned as TODO §41–§43.
Downloads
- External waiver files in Verible's format:
-
v0.41.0
Stablereleased this
2026-09-04 16:15:40 -07:00 | 147 commits to master since this releaseCode actions off the fan-out
- Lazy port refactorings. For a client that supports
codeAction/resolve(VS Code does), the port actions are offered from
the buffer and the instantiated module's declaration alone, and the
edit is computed when the action is picked. The request VS Code sends
on nearly every cursor move no longer reads the module's fan-out:
flat at ~55 µs in-process from a 3-file to a 128-file fan-out, where
it was linear (15 ms at 128). A resolve for an action that no longer
applies is an error, not an empty edit. Clients without resolve
support get the edit up front, as before. - Definitions from the index.
textDocument/definitionand
workspace symbols for a file-scope declaration in a closed file now
build the location from the positions the index already records
instead of reading the file: 0.4 µs against 28 µs per answer. - inlayHint at the default scope: investigated, not changed. The
hints missing at that scope belong to a module declared outside what
the scope reaches; definition and hover say the same. A scope
question, recorded in the feature README.
Downloads
- Lazy port refactorings. For a client that supports
-
released this
2026-09-04 15:08:53 -07:00 | 149 commits to master since this releaseTwo parser residues and atomic writes
- A bare
begin … endat module scope, or straight inside
generate … endgenerate, is recovered in error-tolerant mode as an
unnamed generate block (ItemKind::GenBlock) with a diagnostic at the
keyword, instead of being refused and taking the rest of the unit with
it. The items inside and after the block are now visible to the
editor and to every lint rule;module-begin-block,
v2001-generate-beginandmismatched-labelsread the node. Strict
parsing is unchanged, so the formatter still refuses the file exactly
as before. - A half-typed
#(override or connection whose value would read as
the next instance (sub #(.W(8), .DEPTH(⏎u0 (.a(x));) now costs
one error element:.W(8)survives,u0is an instance with its
connections, one diagnostic on the unclosed(. The balanced-parens
spelling stays ambiguous and is still parsed greedily, by design. - In-place writes are atomic.
lucisv format,lucisv check --fix
and the cache write a sibling temp file and rename it over the target,
so a crash or a full disk never leaves a source file truncated. The
target's permissions are kept, a symlink's target is what gets
replaced, and a read-only file is refused as it always was.
Downloads
- A bare
-
v0.39.0
Stablereleased this
2026-09-04 03:03:37 -07:00 | 151 commits to master since this releaseThe rest of Verible's rules
Nineteen more rules bring lucisv to 73 — every rule in Verible's
published list except the one that needs a compiler. New:module-begin- block,legacy-generate-region,legacy-genvar-declaration,
v2001-generate-begin,explicit-function-lifetime,
explicit-task-lifetime,positive-meaning-parameter-name,
suggest-parentheses(safe fix),unpacked-dimensions-range-ordering,
uvm-macro-semicolon,create-object-name-match,
numeric-format-string-style,macro-string-concatenation,
disable-statement,forbidden-macro(macrosoption),
endif-comment(safe fix),forbid-line-continuations,
dff-name-style,proper-parameter-declaration.
invalid-system-task-functiongains asymbolsoption (Verible's
"forbidden-symbol" is the same rule);void-castgains
forbidden_calls. The two lifetime rules deliberately exempt an
out-of-body method definition (function cls::f()), which is where
almost every finding on a UVM tree would otherwise land. Each rule's
documentation cites the Verible rule and default it follows.Downloads