• v0.38.0
    ci / checks (push) Successful in 1m5s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 11m24s
    Stable

    lucio released this 2026-09-04 01:46:03 -07:00 | 156 commits to master since this release

    Lint 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 fails lucisv 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 over lucisv.toml,
    key by key. --rules-doc lists 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-unions allows 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 = false restores the stricter reading.

    Every rule's toggle in VS Code is regenerated from the registry.

    Downloads
  • v0.37.0
    ci / checks (push) Successful in 1m8s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 9m43s
    Stable

    lucio released this 2026-09-04 01:08:47 -07:00 | 162 commits to master since this release

    Typing 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 a for/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 orphaned endmodule produced 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 missing endmodule instead 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
    ci / checks (push) Successful in 1m8s
    ci / corpus (push) Successful in 31s
    release / build-and-publish (push) Successful in 11m34s
    Stable

    lucio released this 2026-09-04 00:42:32 -07:00 | 168 commits to master since this release

    The 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
    ci / checks (push) Successful in 54s
    ci / corpus (push) Successful in 26s
    release / build-and-publish (push) Successful in 5m16s
    Stable

    lucio released this 2026-09-03 03:46:24 -07:00 | 175 commits to master since this release

    Format fences reach statements and class bodies

    // verilog_format: off / // lucisv: off (and the lucisv: spelling)
    now protect statements inside begin … end, fork … join, function
    and task bodies and always/initial/final blocks, 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 unmatched off runs to the end of its own
    list. --lines range 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
    ci / checks (push) Successful in 1m3s
    ci / corpus (push) Successful in 28s
    release / build-and-publish (push) Successful in 5m53s
    Stable

    lucio released this 2026-09-03 02:48:12 -07:00 | 178 commits to master since this release

    Rename 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_FORMAT 17); 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*/ ref keeps its comment.

    CLI

    • lucisv check --rules-doc prints 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's Scope moved to the crate root.
    Downloads
  • v0.33.0
    ci / checks (push) Successful in 57s
    ci / corpus (push) Successful in 26s
    release / build-and-publish (push) Successful in 5m56s
    Stable

    lucio released this 2026-09-02 16:08:19 -07:00 | 197 commits to master since this release

    Assertions are code now

    property/sequence declarations 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…, property if/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/or break 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
  • v0.32.0
    release / build-and-publish (push) Successful in 6m14s
    Stable

    lucio released this 2026-09-02 13:21:09 -07:00 | 201 commits to master since this release

    bind directives 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
      .port half 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
      finds top_sig in the target.
    • The index store format changed (FACTS_FORMAT 15); 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 two padring instantiations in chip_earlgrey_{asic,cw340}.sv
      lay out canonically and gain their edges; the `ifdef that
      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
  • v0.31.0
    ci / checks (push) Successful in 57s
    ci / corpus (push) Successful in 26s
    release / build-and-publish (push) Successful in 5m49s
    Stable

    lucio released this 2026-09-02 11:32:16 -07:00 | 203 commits to master since this release

    Comments 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…while headers, @/#
    timing, the gap before every ;, block and generate labels) and
    declarations (qualifier runs like pure /*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.rs is 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-t as a
      type, an instantiated module, a bind target) 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) and pkg::t'(x) now
      light up find-all-references, go-to-type-definition and rename of
      the typedef (FACTS_FORMAT 13 → 14: the index rebuilds once).
    • Rename warns about what it could not finish. A u_x.sig whose
      module is indexed nowhere is left unchanged and now named — one
      line per file and unit — instead of silently skipped.
    Downloads
  • v0.30.0
    release / build-and-publish (push) Failing after 7m36s
    ci / corpus (push) Successful in 29s
    ci / checks (push) Successful in 1m1s
    Stable

    lucio released this 2026-09-02 09:06:13 -07:00 | 205 commits to master since this release

    Two lanes, run in parallel: semantic lints on by default, and the
    vendor/formal collateral grammar.

    Semantic lints on by default

    unused-signal, undriven-net and multiply-driven shipped 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_FORMAT 12 → 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-signal and undriven-net say 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 = […] in lucisv.toml (CLI flags win key by key) and
    lucisv.lint.select / lucisv.lint.ignore in the editor.

    Measured: corpus unused-signal 52 → 44 and undriven-net 3 → 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 class as
    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 (expect has 41 real task-call sites — the statement
    form is recognised only when its parentheses hold a sequence operator).
    specify … endspecify, primitive … endprimitive with table,
    checker … endchecker and config … endconfig parse as opaque blocks
    that format byte-for-byte and fold in the editor; library …; lines
    parse; specparam is a real declaration that hovers and resolves;
    alias a = b = c; parses with every term a reference; union tagged
    formats; interface class … endclass parses as a class and
    implements now contributes supertypes to the type hierarchy. Filed:
    the tagged pattern grammar, checker/UDP names as instantiable
    symbols, the reverse implements edge.

    Downloads
  • v0.29.0
    release / build-and-publish (push) Failing after 15m23s
    Stable

    lucio released this 2026-09-02 07:35:24 -07:00 | 208 commits to master since this release

    Fragment mode, and `define continuation.

    The gap analysis had this one wrong in an interesting way: class-body
    and module-item `include fragments 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's CUSTOM_1, file, included between enum members), a
    covergroup-item list — and all three failed at one call site. They are
    now SourceFile::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
    caught if … else reading 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 .svh that would not parse was never a fragment
    problem: a `define whose 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