Rename the tool to lucisv (Language Utility for Coding In SystemVerilog)

This commit is contained in:
lucio committed 2026-08-25 23:36:00 -07:00
1 parent a284e33110
commit eeaffafd56
188 files changed
+2825 -2802

No files matched your search

+7 -7
View File
@@ -8,7 +8,7 @@ lines is meant to be **aligned** (padded to a common column) or **flush-left**
most-loved formatter feature and the reason RTL teams tolerate a formatter at
all: hand-aligned port lists, connection lists and parameter tables are how
Verilog is read, and a formatter that flattens them is a formatter nobody
runs. vfmt's rule is Verible's, minus the configuration surface: four or more
runs. lucisv's rule is Verible's, minus the configuration surface: four or more
excess spaces before a column's token means "align this", a group already
sitting at one column stays there, and everything else formats exactly the way
it did before this feature existed. The two layouts are fixed points of each
@@ -22,7 +22,7 @@ than by luck.
write in that position, not against zero: one space before a declaration's
name, none before a connection's `(`. So `localparam int A = 1;` (five
spaces) is a hint and `localparam int A = 1;` (four) is not.
- **A tab counts as one space.** vfmt's `no-tabs` lint wants them gone anyway,
- **A tab counts as one space.** lucisv's `no-tabs` lint wants them gone anyway,
and guessing a tab stop would make the verdict depend on a setting the
formatter does not have.
- **A group is a run of *adjacent* rows of one construct.** Alignment never
@@ -200,7 +200,7 @@ can agree.
build time.
**Requested of nobody.** No other crate changed; `vlog_semantic`,
`vlog_linter` and `vfmt_server` compile and pass unmodified.
`vlog_linter` and `lucisv_server` compile and pass unmodified.
## Status / TODO
@@ -228,12 +228,12 @@ can agree.
Same shape as a named connection; the same argument applies.
- [ ] **Parked:** the direction/type column of a port list (`input ` vs
`output`) and the type column of a declaration. Verible aligns these as
separate columns; vfmt collapses `input wire` to `input wire`. Adding
separate columns; lucisv collapses `input wire` to `input wire`. Adding
them means a row's *first* cell splits too, and the hint rule then has
to decide what a group means when one column is hinted and another is
not.
- [ ] **Parked:** the trailing-comment column. Verible aligns `// ...` after a
port list; vfmt writes one space. This is the most visible remaining
port list; lucisv writes one space. This is the most visible remaining
gap on real RTL.
- [ ] **Parked:** `wire`/`logic` data declarations and `struct` members. Both
are ordinary declaration rows; neither has the same cultural pull as the
@@ -353,7 +353,7 @@ Verified claims 1-5. Result: **PASS, no blocking findings.**
nothing the dev's own 2312-run sweep didn't already cover, but reproduces
cleanly.
- **`ibex_core.sv` regression (claim 2, design-bug story).** Reproduced at
`--line-length 60`: the current code converges (`vfmt --check` clean after
`--line-length 60`: the current code converges (`lucisv --check` clean after
one pass, and `twice()`-style double-format is byte-identical). The
regression test `a_group_that_alignment_gives_up_on_still_converges` in
`tests/verification.rs` exercises the same shape
@@ -493,5 +493,5 @@ Points reviewed and accepted:
The author-intent rule shipped matches Verible's culture: ≥4 excess
spaces or existing consistent columns opts in; single-space code stays
exactly as vfmt always wrote it — no existing user's output moves
exactly as lucisv always wrote it — no existing user's output moves
unless they asked.