• v0.54.0
    ci / checks (push) Successful in 1m9s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 6m58s
    Stable

    lucio released this 2026-09-12 03:13:40 -07:00 | 90 commits to master since this release

    Loop 3, round 1 — a rename correctness fix and a faster first edit

    • Rename edits a bind file's own occurrences. Renaming a module's
      internal net that a bind directive's connection names bare
      (bind aes chk u (.req(entropy_masking_req))), or reaches by a
      hierarchical path (u_aes_core.u_aes_prng_clearing.seed_en), used to
      leave the bind file untouched and say nothing — the design no longer
      elaborated after the rename. The resolver had asked the bind target's
      connection surface (ports and parameters) for a bare name, and rooted a
      bind's hierarchical path in the scope the directive is written in,
      which declares nothing. A bind connection is now a reference on the
      target's hierarchical surface, a bind's path is rooted at the target
      (a multi-segment target such as bind tb.u_aes … included), and an
      occurrence the engine cannot resolve is warned about by file and line,
      never silent. Definition, hover and references answer over bind files
      the same way. The index store format is bumped (FACTS_FORMAT 20): a
      0.53.0 store is rebuilt once. (Found by the previous round's QA on the
      opentitan tree.)
    • The first request after an edit is ~19 % faster. On a 40 000-line
      generated register file the first code-action menu after a
      one-character change costs 88 ms instead of 109: the lexer's raw and
      comment-attachment phases are fused (no intermediate token vector), the
      parser no longer clones a token it is about to discard, and the
      operator table is filtered by first byte before the longest-match
      scan. Token stream, diagnostics, AST and symbols are byte-for-byte what
      they were over 4 807 files; every formatter and linter output is
      identical.
    • --verbose timing lines carry a third group, rebuild{…}, that splits
      the document rebuild after an edit into its stages.
    • Known remainder, filed: cross-file references from a module's
      internal net (bind or not) still stop at the connection surface; the
      rest of the rebuild (the token clone, analysis, external resolution).
    Downloads