-
v0.38.0
Stablereleased this
2026-09-04 01:46:03 -07:00 | 156 commits to master since this releaseLint rule options, and the Style family
Per-rule options. A rule that takes options can be configured in
lucisv.toml([lint.line-length] length = 120,
[lint.signal-name-style] style_regex = "[a-z_0-9]+") and from the
editor (lucisv.lint.options, one object keyed by rule). Both doors run
one validator: a bad key, kind, range or pattern failslucisv check
naming the file and line, and is logged and dropped in the editor so a
typo cannot switch a rule off. Editor options win overlucisv.toml,
key by key.--rules-doclists every option with its kind and default.
Patterns use a small built-in regex dialect (literals,., classes,
groups, alternation,* + ?,\d \w \s), whole-name anchored, run as
a linear-time automaton so no pattern can slow a lint run; anything
outside the dialect is refused by name.Eighteen new Style rules (54 in all):
line-length(the
formatter's width),posix-eof(safe fix),forbid-consecutive-null- statements(safe fix),generate-label,generate-label-prefix,
package-filename,one-module-per-file(off),signal-name-style
(off),interface-name-style,macro-name-style,
constraint-name-style,parameter-type-name-style(off),
port-name-suffix(off),banned-declared-name-patterns(off),
typedef-enums,typedef-structs-unions,always-comb(unsafe fix),
explicit-begin(off). The four existing naming rules take Verible's
option spellings.typedef-structs-unionsallows a nested anonymous
aggregate by default — a deliberate divergence from Verible, because
every one of its 3 159 findings on opentitan was a generated register
package;allow_anonymous_nested = falserestores the stricter reading.Every rule's toggle in VS Code is regenerated from the registry.
Downloads
-
v0.37.0
Stablereleased this
2026-09-04 01:08:47 -07:00 | 162 commits to master since this releaseTyping a header no longer loses the module
While you type a port list, a parameter list, a function's argument
list, an instantiation's connections, or the header of afor/if/
while/case, the editor used to lose the whole surrounding module or
function: its body re-parsed at file scope, its symbols vanished from
the outline and from completion, and the orphanedendmoduleproduced a
second error. Recovery now happens inside the list: the element that
failed becomes an error element, the ones you already typed stay, the
header keeps its node, and the body binds in the right scope. One
diagnostic per typo. The strict parse (what the formatter uses) is
untouched, so every corpus file formats byte for byte as before.Measured over the corpus with every file cut in half: error nodes fall
by 11 %; diagnostics rise by 7 % because a module whose header was cut
now survives to report its missingendmoduleinstead of vanishing
into one error node. Known gap: a half-typed#(override whose value
can read as a call still collapses its instantiation (filed).Downloads
-
v0.36.1
Stablereleased this
2026-09-04 00:42:32 -07:00 | 168 commits to master since this releaseThe 0.36.0 tag never published: its release commit shipped without a
CHANGELOG section (the release chain's draft lived in a session
scratchpad that a crash had wiped), and the release workflow refuses a
version without notes, as designed. 0.36.1 is 0.36.0 plus these notes.Downloads
-
v0.35.0
Stablereleased this
2026-09-03 03:46:24 -07:00 | 175 commits to master since this releaseFormat fences reach statements and class bodies
// verilog_format: off/// lucisv: off(and thelucisv:spelling)
now protect statements insidebegin … end,fork … join, function
and task bodies andalways/initial/finalblocks, and items inside
a class body — not only items at module scope. A fenced region is
copied byte for byte, keeps its own indentation, and is a fixed point
under a second pass; an unmatchedoffruns to the end of its own
list.--linesrange formatting honours a fenced statement inside the
selected range. Four opentitan files that already carried fences inside
functions and class bodies now keep those bytes.One rule is applied uniformly: a fence must start its line (whitespace
or a finished block comment may precede it). A fence written after code
on the same line —module m; // lucisv: off— is an ordinary comment,
as the fence documentation has said since the feature shipped; it used
to open a region at module scope by accident.Not yet fenceable, with reasons in the feature README: port lists,
case-item label lists, same-line fences, and a property's local
declarations.Downloads
-
v0.34.0
Stablereleased this
2026-09-03 02:48:12 -07:00 | 178 commits to master since this releaseRename tells you what it could not reach
- Macro arguments are named. A rename now lists every file where the
old name appears inside a macro invocation that the rename did not
read (`uvm_info(..., $sformatf("%0d", sig))in a file with no
other relationship to the name), one warning per file, so nothing is
silently left behind. Answered from a new per-file census in the
index without reading any file (under a millisecond on opentitan). - The index store format changed (
FACTS_FORMAT17); it rebuilds once.
Grammar
- Modport method prototypes (
modport mp (import task drive(int x), input clk);) parse, format and resolve: hover on the prototype's
name lands on the interface's task. - Unnamed DPI formals (
import "DPI-C" function int f(int, chandle);)
parse and format; an unnamed formal anywhere else is still an error. const /*c*/ refkeeps its comment.
CLI
lucisv check --rules-docprints the generated rule reference.
Internal
- Every file over 1 200 lines was decomposed (parser, formatter, server,
semantic and refactor crates) as pure moves with byte-identical
output;vlog_refactor'sScopemoved to the crate root.
Downloads
- Macro arguments are named. A rename now lists every file where the
-
v0.33.0
Stablereleased this
2026-09-02 16:08:19 -07:00 | 197 commits to master since this releaseAssertions are code now
property/sequencedeclarations and concurrent assertions (assert,
assume,cover,restrict property,expect,cover sequence,
default disable iff) were verbatim text: kept byte for byte, invisible
to everything else. They are real nodes now — every sequence and
property operator (##,[*n],|->,|=>,throughout,within,
intersect,until,implies,iff,nexttime,always,
eventually,first_match,accept_on…, propertyif/case, typed
formals, local variables, match items) with the LRM's precedence, no
new reserved words, and a byte-exact fallback for anything the grammar
cannot take (it fires on none of 4 792 corpus and opentitan files).- Rename and references see inside assertions. A signal named only
in a property is renamed with its declaration; a property's formal is
scoped to the property. Anything that still falls back warns instead
of staying silent. - Formatting: one rule — the spec's top-level
|->/|=>/##/
and/orbreak one per line when the spec does not fit; everything
else inline. 13 corpus and 36 opentitan files move, all inside
assertion text; every`ASSERT*macro invocation is
byte-identical. - Properties and sequences appear in document symbols;
undriven-net
sees a net driven or read inside an assertion. - The index store format changed; it rebuilds once after updating.
Downloads
- Rename and references see inside assertions. A signal named only
-
released this
2026-09-02 13:21:09 -07:00 | 201 commits to master since this releasebinddirectives mean something now- Bind targets are real.
bind top.gen[0].u_core chk u_chk (.clk(clk));
parses and formats with its indexed path; a lone target
(bind prim_fifo_sync …) is a reference to the module, so go-to-
definition and hover work on it. An instance path records nothing —
no file knows an elaborated hierarchy, and a guess would be wrong. - Bind connections resolve where the LRM says they live: the
.porthalf against the module being bound in, the expression half
in the target module's scope first (then the workspace, then the
scope the directive is written in). Hover on.x(top_sig)in a bind
findstop_sigin the target. - The index store format changed (
FACTS_FORMAT15); it rebuilds once.
Two macro-and-directive shapes that used to leave a file unformattable
- A spaced macro call in an expression —
assign x = \WIDTH (a + b);, a parameter override ``MACRO (1) `` — keeps the author's space
between the macro name and its(. The gap is token text (a macro
defined with formals reads it differently), so the formatter keeps
it rather than guessing; the safety net still refuses either
rewrite. - A conditional directive inside a connection value —
.a(⏎
`ifdef X⏎ … ⏎`endif⏎)— no longer turns the whole
instantiation into opaque bytes: the directive region is kept
byte-for-byte as a verbatim value, and the instantiation keeps its
edge, code lens, hierarchy entry and port references. In opentitan
the twopadringinstantiations inchip_earlgrey_{asic,cw340}.sv
lay out canonically and gain their edges; the`ifdefthat
splits two instantiation heads (tb.sv) stays as it was.
Editor
lucisv.instantiate— an execute command
([uri, position, module]) that inserts the same instantiation
skeleton the inline ghost offers, as plain text through
workspace/applyEdit. For clients without inline completion; the
Neovim README shows the keymap.
Downloads
- Bind targets are real.
-
v0.31.0
Stablereleased this
2026-09-02 11:32:16 -07:00 | 203 commits to master since this releaseComments are never dropped — now at every gap
A comment written between two tokens that no AST node owned was never
deleted, but it was printed one node later, and the safety net refused
the whole file for it (exit 2, no output). Three rounds had filed their
leftovers (52 covergroup gaps, 41 fragment gaps, 40 constraint gaps) and
plain RTL had never been measured. This release gives every such gap an
owner: about seventy named comment slots across expressions (q[/*c*/ i],
pkg /*c*/ ::name,x /*c*/ inside {…}, casts, unary/postfix operators),
statements (if/case/for/foreach/do…whileheaders,@/#
timing, the gap before every;, block and generate labels) and
declarations (qualifier runs likepure /*c*/ static, function/task
headers and ports, module/package/class headers, typedefs, enums,
structs, declarators, port lists, connections, instantiations).Four exhaustive gap fuzzers — a
/*C*/in every inter-token gap of
fixture sets for covergroups (329 gaps), fragments (153), constraints
(395) and ordinary RTL (352) — all format and re-format identically, and
are the regression gate from here on. The formatter's output for every
comment-free construct is unchanged: all 860 corpus files and 3 975
opentitan files are byte-identical to 0.30.0.verify.rsis untouched;
ten new attack pairs assert a comment moved across any newly slotted
token is still refused.- Escaped names inside scoped names (
\my-pkg ::\state-tas a
type, an instantiated module, abindtarget) now keep their
terminating space instead of being refused.
Editor
- Go to definition on a macro use (
`WIDTH,`uvm_info)
jumps to the`define— the file's own definition first, otherwise
every workspace candidate the include graph cannot rule out; nothing
for a macro nothing defines. - A cast's type is a reference.
state_t'(0)andpkg::t'(x)now
light up find-all-references, go-to-type-definition and rename of
the typedef (FACTS_FORMAT13 → 14: the index rebuilds once). - Rename warns about what it could not finish. A
u_x.sigwhose
module is indexed nowhere is left unchanged and now named — one
line per file and unit — instead of silently skipped.
Downloads
- Escaped names inside scoped names (
-
v0.30.0
Stablereleased this
2026-09-02 09:06:13 -07:00 | 205 commits to master since this releaseTwo lanes, run in parallel: semantic lints on by default, and the
vendor/formal collateral grammar.Semantic lints on by default
unused-signal,undriven-netandmultiply-drivenshipped off
because a per-file analysis cannot see a signal read or driven from
another file's hierarchy. The index now carries a per-file identifier
census (FileFacts::words,FACTS_FORMAT12 → 13 — one harvest,
which also builds the completion word table so the server no longer
re-lexes every file at startup: scan time −28 %), and the linter gains
a mention oracle:unused-signalandundriven-netsay nothing when
the name is mentioned in any other indexed file. The three rules are
on whenever an oracle exists — always in the editor, and in the CLI
when it walks a project — and stay off for a single file or stdin.
With them came the missing off switch:[lint] select = […]/
ignore = […]inlucisv.toml(CLI flags win key by key) and
lucisv.lint.select/lucisv.lint.ignorein the editor.Measured: corpus
unused-signal52 → 44 andundriven-net3 → 0 with
every silencing hand-checked as a genuine cross-file use, nothing
added; across opentitan — lint-clean under its own tools — 14
findings, spot-checked true. Store +14 %.Vendor and formal collateral grammar
The gap analysis ranked
specify/UDP/checker/interface classas
Medium on the strength of "13 corpus checker files"; the round's
census found those were UVM protocol-checker filenames, and that
every construct here has zero declarations in the corpus and in
opentitan. So this is a completeness round for vendored cell, IO and
memory models and formal collateral — and it is proven
output-neutral: formatted output is byte-identical for all 860 corpus
files and all 3 975 opentitan files against the previous release.Five keywords reserved on a measured zero-collision census
(checker,endchecker,config,endconfig,library); five
deliberately not (expecthas 41 real task-call sites — the statement
form is recognised only when its parentheses hold a sequence operator).
specify … endspecify,primitive … endprimitivewithtable,
checker … endcheckerandconfig … endconfigparse as opaque blocks
that format byte-for-byte and fold in the editor;library …;lines
parse;specparamis a real declaration that hovers and resolves;
alias a = b = c;parses with every term a reference;union tagged
formats;interface class … endclassparses as a class and
implementsnow contributes supertypes to the type hierarchy. Filed:
thetaggedpattern grammar, checker/UDP names as instantiable
symbols, the reverseimplementsedge.Downloads
-
released this
2026-09-02 07:35:24 -07:00 | 208 commits to master since this releaseFragment mode, and
`definecontinuation.The gap analysis had this one wrong in an interesting way: class-body
and module-item`includefragments already parsed, because the
file-scope item loop is the class-item loop. What did not parse were
three narrower shapes — a bare statement list, an enum-member list
(riscv-dv'sCUSTOM_1,file, included between enum members), a
covergroup-item list — and all three failed at one call site. They are
nowSourceFile::fragment, detected by a whole-file rule that cannot
misfire on a valid file: the first structural item failed (directives,
macros and stray;do not count, and a tolerant parse that quietly
recorded a diagnostic counts as failed — an existing parity test
caughtif … elsereading as a generate-if to one parser and a
statement to the other), the file does not open with a design-unit
keyword, and a shape consumes the file to its end, tried
narrowest-first because the wider grammars mis-read the narrower. A
fragment formats at indent zero through the existing printers, its
declarations bind, and its enum variants are deliberately not
exported (a package that includes the fragment is the real home of
CUSTOM_1; resolving it elsewhere would name something that does not
exist).The other opentitan
.svhthat would not parse was never a fragment
problem: a`definewhose formal-argument list spans two lines with
no backslash, which every tool accepts. The lexer now continues such a
directive until the list closes.Opentitan: 12 → 10 failing files, exactly the two predicted, nothing
else moved. Corpus baseline 813 → 814 of 820. Comment-gap fuzzer:
every remaining failing slot proven to fail identically outside a
fragment (§2.9-22). Formatter output unchanged for every file that
parsed before.Downloads