• 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 | 221 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 | 224 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
  • v0.28.0
    release / build-and-publish (push) Successful in 7m44s
    Stable

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

    Covergroup bodies — round 2 of coverage_gaps C1, closing it.

    covergroup … endgroup was a flat token scan into verbatim text: no
    name span, no coverpoint names, nothing inside bound. Now a covergroup
    is a real node — the header with its argument list, with function sample(…) and @(…) event, labelled and unlabelled coverpoints,
    bins/ignore_bins/illegal_bins with arrays, value lists, $,
    transition lists (=>, [*n], [->n], [=n]), default and
    default sequence, with (…) filters, wildcard, iff, crosses with
    binsof … intersect … && !binsof select expressions, option./
    type_option. assignments, `ifdef arms, and the endgroup : g
    label — behind the same rewind snapshot as constraints, so an unknown
    shape restores both comment buckets and re-runs the old scan character
    for character. No keywords were reserved. Two disambiguations are by
    position, the LRM's own rule (a coverpoint bin's (…) is a transition
    list, a cross bin's is a select expression), which replaced a lookahead
    scan and took opentitan's fallback count from two to zero.

    Two guards were added to shared expression machinery and are the
    round's one risk, stated plainly: an index cannot begin with *, ->
    or = (so 1'b1[*5] reads as a transition repeat), and a bin's own
    with (…) filter is not consumed as an array-method iterator
    argument. The whole corpus and the whole opentitan tree re-verified
    under both.

    Layout is canonical (one cover item per line, { } bin bodies like
    constraint sets, the label at the header's column); verify.rs
    untouched, twelve attack pairs. The comment-gap fuzzer was built in
    from the start: 329 gaps, the 52 that fail are all the shared-machinery
    slots already filed as §2.9-22 — and that classification is asserted by
    a test that runs each shape outside a covergroup and requires the same
    failure. Every sampled expression, bin value and iff binds to the
    class's properties; cg_inst.cp resolves cross-file; renaming a rand
    field rewrites the coverpoints that sample it. FACTS_FORMAT 11 → 12.

    Opentitan: 544 of 544 covergroups structured, 87 of 87 DV covergroup
    files idempotent with comment streams byte-identical, 81 of 3 963 files
    re-laid-out and every one verified, the sweep's failure set and per-file
    diagnostics identical. Corpus: 10 files change layout, all verify;
    +1 139 references, 1 135 answered.

    Downloads
  • v0.27.0
    release / build-and-publish (push) Successful in 5m49s
    Stable

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

    Constraint bodies — round 1 of coverage_gaps C1, the DV correctness
    item.

    constraint c { … }, constraint C::c { … } and randomize() with { … } were opaque verbatim text: no name span, nothing inside bound,
    so renaming a rand field left constraint c { user_id < 5; } as
    non-compiling code with, at best, a generic warning. Now a constraint
    declaration is a real node — soft, dist (:=/:/), ->
    implication, if/else, foreach, solve … before, unique,
    disable soft, `ifdef arms — and the parser attempts the
    structured body behind a rewind snapshot: any shape it does not know
    restores the cursor and both pending-comment buckets and re-runs the
    verbatim capture character for character, so an unknown body is the
    old behavior, not an approximation. No keywords were reserved —
    soft/dist/solve/before are matched by text — so logic before;
    keeps working and the editor grammar is untouched.

    Layout is canonical: one constraint item per line, } at the header's
    column, dist weights broken like a braced list; a with block keeps
    its one-line-or-not shape. verify.rs untouched; the constraint attack
    pairs re-derived and extended (a dropped soft, := for :/,
    swapped solve/before, a dropped else set, a flattened
    implication, a comment moved across }). Every operand binds to the
    class's properties (this. implicit; foreach variables nest; a
    with block resolves against the randomized object's class first), so
    hover, definition, references and rename reach inside; renaming a
    rand field from its declaration rewrites its constraint uses in-file
    and cross-file. FACTS_FORMAT 10 → 11. Lint rules read constraint
    operands instead of treating the body as opaque.

    QA's finding — a comment right after soft, dist, solve,
    before or the constraint name was dropped, so the safety net refused
    the file — was answered with an exhaustive gap fuzzer (a block comment
    in every inter-token gap of fifteen fixtures, 358 gaps, format and
    idempotency both demanded) and fourteen named comment fields; the
    forty gaps that remain are shared expression machinery that behaves
    identically outside a constraint (q[/*c*/ i], inside {[/*c*/ 0:3]},
    scoped-name chains) and are filed as a parser-wide round. No opentitan
    file hits one.

    Opentitan: 1 993 of 2 009 constraint bodies parse structured (the 16
    fallbacks are macro-item bodies and non-LRM shapes), all laid out,
    token-equivalent and idempotent; 48 DV files across 16 IPs re-format
    idempotently with their comment streams byte-identical; the sweep's
    failure set unchanged and the tolerant-diagnostic count per file
    identical. Corpus: 37 files change layout, all verified; +1 646
    references, 84 % answered. Covergroups are round 2.

    Downloads
  • v0.26.0
    ci / checks (push) Successful in 57s
    ci / corpus (push) Successful in 22s
    release / build-and-publish (push) Successful in 5m16s
    Stable

    lucio released this 2026-09-02 02:19:17 -07:00 | 232 commits to master since this release

    Two lanes, run in parallel: member completion, and escaped identifiers.

    Member completion — a dot means members

    Typing item. used to get the whole-index dump — every keyword and
    every project word, capped at 512 — because the empty word after a dot
    fell through to the ordinary tiers. Now the answer after . or :: is
    exclusively the members of what precedes it: a class's properties and
    methods (inherited ones included, through the same base chain hover
    follows), a struct's fields (reg2hw.ctrl. via the synthesized nested
    keys), an interface's signals, modports and clocking blocks (vif.,
    vif.cb.), a package's members (tlul_pkg::), this./super.. The
    walk is published from vlog_semantic (Semantics::member_site,
    WorkspaceIndex::members_of_chain) and the resolver's own member
    resolution is rewritten to call it, so the popup cannot list a name
    hover would not resolve. A dot inside an instantiation's (…) or
    #(…) lists the module's ports or parameters, already-connected ones
    dropped. . and : are trigger characters. An unreadable head answers
    nothing — never the dump. Cheaper than what it replaces: 6–62 µs
    against 212 µs.

    QA's finding, fixed at the root: #(. offered header localparams
    because the binder had discarded the parameter/localparam keyword.
    SymbolKind::LocalParam is now bound from the keyword (sticky across
    continuation entries, as the ghost skeleton already read it), shows as
    "localparam" on the hover card, is excluded from override lists only,
    and still resolves for hierarchical reads. FACTS_FORMAT 9 → 10.

    Escaped identifiers format

    wire \my-signal ; was refused outright: the lexer ends an escaped
    identifier before its terminating whitespace and the formatter emitted
    every name bare, so \my-signal; re-lexed as one token and the safety
    net — correctly — rejected the file. Fifty name-emission sites now go
    through one choke point that writes the IEEE 1800 §5.6.1 space;
    verify.rs untouched, eight masked-corruption attack pairs; the corpus
    is byte-identical by construction. Netlists and generated RTL format.
    One shape is refused rather than corrupted and filed (\my-pkg ::x,
    whose segments the parser joins).

    Downloads
  • v0.25.0
    ci / checks (push) Successful in 59s
    ci / corpus (push) Successful in 22s
    release / build-and-publish (push) Successful in 5m16s
    Stable

    lucio released this 2026-09-01 23:56:22 -07:00 | 235 commits to master since this release

    Struct members — s.field, reg2hw.ctrl.q and the anonymous
    aggregates resolve.

    typedef struct packed {…} bus_t; bus_t s; s.field recorded nothing.
    The in-file gap was a single resolver gate: a struct typedef's member
    scope already existed, hung off the typedef, and lookup simply never
    entered it. Now any symbol whose child scope is a struct scope — a
    typedef, an anonymous struct {…} s; declarator, or an inline nested
    field — answers member access with one rule, and fields carry their
    own type so s.hdr.addr hops through a member. Unions are the same
    node. Anonymous enum {A, B} x; variants land in the enclosing scope
    exactly like typedef'd ones (the open handshake since types-decls).

    Across files, struct members are exported under the typedef's name,
    and inline nested fields — the shape opentitan's generated register
    packages use everywhere — under a synthesized owner.field key
    carried as the field's type, so hw2reg.status.txfull.d lands on
    txfull's d and never rxfull's two lines up (bare-name keys would
    collide on q/d/qe in every register package). Same-named struct
    typedefs in two packages answer ambiguity, never a guess. FACTS_FORMAT
    8 → 9 (older stores rebuild once); typeDefinition works inside a
    typedef struct body.

    Unresolved names on the corpus fell 1 203 → 1 162; its store shrank
    1.1 % (a resolved local fact encodes smaller than the external
    candidate it replaced) while opentitan's register packages grow theirs
    4.3 %. QA: 28 live opentitan probes across six IPs with three planted
    sibling-field pairs, zero wrong answers, hover under 0.5 ms. Known
    remaining shape: an indexed link mid-chain (reg2hw.key_share0[i].q),
    pre-existing and filed.

    Downloads
  • v0.24.0
    ci / checks (push) Successful in 49s
    ci / corpus (push) Successful in 20s
    release / build-and-publish (push) Successful in 4m40s
    Stable

    lucio released this 2026-09-01 22:55:31 -07:00 | 237 commits to master since this release

    Interface semantics — interfaces, modports and clocking blocks become
    symbols, and vif.sig crosses files.

    An interface was indexed as a Module (its hover card said "module"),
    modports and clocking blocks declared nothing, the signal names inside
    them were not references, and one export line kept an interface's
    signals out of the workspace's member table — so virtual my_if vif; vif.sig resolved only when the interface was in the same file. Now:
    SymbolKind::{Interface, Modport, Clocking}; an interface exports its
    signals (they are its surface — a module still exports ports and
    parameters only); every name inside a modport or clocking block is a
    reference to the interface's signal, method or block; the modport half
    of bus_if.mp in a port type or a virtual bus_if.mp handle resolves
    to the modport; a clocking block carries its enclosing interface as its
    type, so vif.cb.data reaches data's declaration through the member
    chase unchanged. FACTS_FORMAT 7 → 8 (older stores rebuild once).
    Interfaces stay in the completion/ghost module table, the design
    hierarchy and the port refactorings — pinned unchanged — while hover,
    outline and completion kinds become honest.

    Unresolved names on the 860-file corpus fell 1 256 → 1 203, the first
    movement in three rounds — the @(cb) and cb.data names that had
    nothing to bind. Store +1.2 %. Renaming a modport from its
    type-position use now rewrites its declaration and every use. QA: 17
    live opentitan probes, zero wrong answers, every hover sub-millisecond.

    Downloads
  • v0.23.0
    ci / checks (push) Successful in 51s
    ci / corpus (push) Successful in 21s
    release / build-and-publish (push) Successful in 4m50s
    Stable

    lucio released this 2026-09-01 21:37:28 -07:00 | 239 commits to master since this release

    Member chains and instance heads — DV class-semantics round 2.

    cfg.vif.clk, item.hdr.addr, u_sub.port, tb.dut.u_core.done_o:
    the tail of a chain now resolves link by link through each link's
    declared type. In one file the resolver hops declared type → declared
    type; across files a chain becomes one composed path (item_t::hdr::addr)
    the workspace's member table walks, so hover, find-references and rename
    agree by construction. Def::type_name rides every indexed declaration
    (FACTS_FORMAT 6 → 7; older stores rebuild once), and this.x/super.x
    uses now post to the index, so references from a base class's
    declaration list its subclasses' uses in other files.

    Instance heads: an instance's type is its module, and modules export
    their ports and parameters — so u_sub.port resolves cross-file;
    internal nets and vars resolve in the declaring file only, by ruling:
    exporting them cost +24 % store and made .port(w) connections resolve
    to internals. Typedef'd class aliases (typedef c1 my_t; my_t h; h.x)
    are chased, visited-guarded. A chain link whose type is declared twice
    in the workspace with different kinds is refused — round 1's lesson,
    one hop out. No link ever guesses.

    Rename's truth moved with it: renaming sub's wire sig now rewrites
    u_sub.sig too, which a compiler needs; an unresolvable tail is left
    alone (and, a known gap filed as topo §2.9-20, no longer warned about).

    Corpus: unresolved unchanged at 1 256; store +15.4 % (opentitan
    30.8 → 35.4 MB), most of it the inherited-member postings. Zero wrong
    answers in QA's 15 live opentitan probes. Formatter output unchanged.

    Downloads
  • v0.22.0
    ci / checks (push) Successful in 49s
    ci / corpus (push) Successful in 19s
    release / build-and-publish (push) Successful in 4m51s
    Stable

    lucio released this 2026-09-01 20:19:23 -07:00 | 241 commits to master since this release

    Class member access — the first DV class-semantics round.

    task class2::update(c1 in_item); address = in_item.user_id; … —
    hovering user_id used to show nothing. Now the tail of handle.member
    resolves through the handle's declared type: a new Symbol::type_name
    records the type as written; the member is found in that class's scope,
    else up its extends chain in the file, else through the workspace's
    member table, which chases WorkspaceIndex::base_of — a subclass→base
    map built from the inheritance census the index already keeps —
    cycle-guarded on both sides. Hover shows rand bit user_id; with its
    file and line; go-to-definition, find-references (from either end) and
    rename follow. this.x/super.x misses resolve to inherited members
    through the same chase (the open handshake since the classes wave), and
    an out-of-class method body sees its class's members. FACTS_FORMAT
    5 → 6 (the reference census grew; older stores are discarded).

    Honest by construction: a head whose type is declared in the file as
    anything without a member scope — a struct typedef, an alias, an enum —
    records nothing rather than reaching the workspace, after QA caught the
    first cut answering bus_t s; s.field from an unrelated class named
    bus_t elsewhere. Module-instance heads, chains a.b.c, struct fields
    and typedef'd class aliases are round 2.

    Cost: hover 7–143 µs; on opentitan a tl_seq_item member resolves in
    0.12 ms cold / 0.01 ms warm; store +2.85 %. Formatter output unchanged.

    Downloads
  • v0.21.0
    ci / checks (push) Successful in 49s
    ci / corpus (push) Successful in 20s
    release / build-and-publish (push) Successful in 4m58s
    Stable

    lucio released this 2026-09-01 15:03:36 -07:00 | 244 commits to master since this release

    Null items: endgenerate; parses — and everywhere else a stray ; may
    legally stand.

    The report was "for loop inside generate fails"; the diagnosis was that
    every generate-for spelling — and three published examples — already
    parsed, and the failing token was the lone ; after endgenerate.
    IEEE 1800-2017 A.1.4 makes that a null item, legal in module,
    generate, package, interface, program and class scope and at file
    scope; lucisv rejected it in all of them with expected item. Now
    ItemKind::Empty, accepted by one parser branch, laid out where it
    was written (glued to the previous line for endgenerate; / end; /
    endmodule; / ;;, or on its own line), token-preserving and
    idempotent both ways. verify.rs untouched; eight masked-corruption
    attack pairs (a dropped ;, one moved across a comment, into a
    procedural block, between `ifdef arms) all rejected.

    New lint empty-item (slang's -Wempty-member): warns on a null
    item; its safe fix deletes the ; — and the line, when nothing else
    stood on it — with a deletion range that structurally cannot swallow a
    comment. In the editor, a file that used to show a parse error now
    shows a warning with a quick fix and fix all.

    Formatter output changes only for files that contain a null item;
    the 820-file corpus is byte-identical (813/820) and the opentitan
    sweep is unchanged file-for-file. Version bumped per the format-cache
    rule.

    Downloads