• v0.32.0
    release / build-and-publish (push) Successful in 6m14s
    Stable

    lucio released this 2026-09-02 13:21:09 -07:00 | 217 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