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