-
released this
2026-09-05 16:03:54 -07:00 | 142 commits to master since this releaseTwo refactorings: expand
.*, convert ports to ANSI- Expand
.*. A wildcard connection is written out as the named
connections it stands for, in the module's declaration order, through
the port engine's splice and verifier. The wildcard rule is read
strictly (IEEE 1800 §23.3.2.4): a same-named net, variable or port
binds; a parameter, genvar, type or instance does not, and that port
becomes.p()with a warning naming it. Refused inside abind
directive, on a positional list, on two.*, or when a file does not
parse. Code actionlucisv: expand .* (N connections)and command
lucisv.expandWildcard. - Convert ports to ANSI. A Verilog-2001 header with body
declarations becomes an ANSI header (output b; reg [7:0] b;→
output reg [7:0] b, every merge of §23.2.2.2), the absorbed
declarations deleted and their comments carried onto the ports. The
edit inserts around each header name so nothing that referenced the
port moves; twenty-three shapes are refused with a sentence rather
than guessed (port expressions, disagreeing ranges, initialisers,
directives, a comment that would have to move into a one-line list).
Code actionlucisv: convert ports to ANSI (N ports)and command
lucisv.convertToAnsi. - The refactoring verifier's comment rule is stricter, and covers
attributes. Every comment and every(* … *)attribute a file had it
still has, by exact text and count; a piece a deletion covers is
written back exactly as many times as it was deleted, and an edit may
not duplicate one nothing touched — which also catches a comment
rewritten, truncated or duplicated. Ships with masked-corruption
attack tests, re-attacked by QA.
Downloads
- Expand