Release 0.28.0 — covergroup bodies
release / build-and-publish (push) Successful in 7m44s

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-09-02 06:02:23 -07:00
1 parent 2734885f2b
commit fae939119a
6 files changed
+74 -11

No files matched your search

+43
View File
@@ -4,6 +4,49 @@ All notable changes to lucisv are recorded here. Versions follow
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
(see `README.md`) are the only frozen contract.
## 0.28.0 — 2026-09-02
Covergroup bodies — round 2 of coverage_gaps C1, closing it.
`covergroup … endgroup` was a flat token scan into verbatim text: no
name span, no coverpoint names, nothing inside bound. Now a covergroup
is a real node — the header with its argument list, `with function
sample(…)` and `@(…)` event, labelled and unlabelled coverpoints,
`bins`/`ignore_bins`/`illegal_bins` with arrays, value lists, `$`,
transition lists (`=>`, `[*n]`, `[->n]`, `[=n]`), `default` and
`default sequence`, `with (…)` filters, `wildcard`, `iff`, crosses with
`binsof … intersect … && !binsof` select expressions, `option.`/
`type_option.` assignments, `` `ifdef `` arms, and the `endgroup : g`
label — behind the same rewind snapshot as constraints, so an unknown
shape restores both comment buckets and re-runs the old scan character
for character. No keywords were reserved. Two disambiguations are by
position, the LRM's own rule (a coverpoint bin's `(…)` is a transition
list, a cross bin's is a select expression), which replaced a lookahead
scan and took opentitan's fallback count from two to zero.
Two guards were added to shared expression machinery and are the
round's one risk, stated plainly: an index cannot begin with `*`, `->`
or `=` (so `1'b1[*5]` reads as a transition repeat), and a bin's own
`with (…)` filter is not consumed as an array-method iterator
argument. The whole corpus and the whole opentitan tree re-verified
under both.
Layout is canonical (one cover item per line, `{ }` bin bodies like
constraint sets, the label at the header's column); `verify.rs`
untouched, twelve attack pairs. The comment-gap fuzzer was built in
from the start: 329 gaps, the 52 that fail are all the shared-machinery
slots already filed as §2.9-22 — and that classification is asserted by
a test that runs each shape outside a covergroup and requires the same
failure. Every sampled expression, bin value and `iff` binds to the
class's properties; `cg_inst.cp` resolves cross-file; renaming a `rand`
field rewrites the coverpoints that sample it. `FACTS_FORMAT` 11 → 12.
Opentitan: 544 of 544 covergroups structured, 87 of 87 DV covergroup
files idempotent with comment streams byte-identical, 81 of 3 963 files
re-laid-out and every one verified, the sweep's failure set and per-file
diagnostics identical. Corpus: 10 files change layout, all verify;
+1 139 references, 1 135 answered.
## 0.27.0 — 2026-09-02
Constraint bodies — round 1 of coverage_gaps C1, the DV correctness
Generated
+8 -8
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.27.0"
version = "0.28.0"
[[package]]
name = "lucisv_server"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"lsp-server",
"lsp-types",
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -264,11 +264,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.27.0"
version = "0.28.0"
[[package]]
name = "vlog_refactor"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"vlog_parser",
"vlog_semantic",
@@ -276,7 +276,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -12,7 +12,7 @@ members = [
]
[workspace.package]
version = "0.27.0"
version = "0.28.0"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+12
View File
@@ -5,6 +5,18 @@ for you. The extension and its bundled language server share one version
number; the full engineering notes live in the
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
## 0.28.0 — 2026-09-02
- **Covergroups are real code now**: `covergroup … endgroup` bodies —
coverpoints, bins of every kind, transition lists, crosses with
`binsof`/`intersect`, options — format canonically, and every sampled
name hovers, jumps and renames together with its class property.
- Anything the coverage grammar does not recognise keeps its old
byte-for-byte formatting.
- The index store format changed; it rebuilds once after updating.
Caches re-verify once (formatter output changes for files with
covergroups).
## 0.27.0 — 2026-09-02
- **Constraint blocks are real code now**: `constraint c { … }`,
+9 -1
View File
@@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view,
then open a Verilog or SystemVerilog file. There is no separate server or CLI
setup.
The current release is **0.27.0**. Its platform packages include both
The current release is **0.28.0**. Its platform packages include both
`lucisv-server` and the `lucisv` command-line tool:
| Package target | Machines |
@@ -326,6 +326,14 @@ Every nesting color is a proper VS Code theme color:
}
```
## Release 0.28.0 highlights
Version 0.28.0 completes the coverage grammar: `covergroup … endgroup`
bodies — coverpoints, bins of every kind, transitions, crosses with
`binsof`/`intersect`, options — format canonically and every sampled
name hovers, navigates and renames with its class property, with the
byte-exact verbatim fallback for anything unknown.
## Release 0.27.0 highlights
Version 0.27.0 gives constraint blocks a real grammar: `constraint c {
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "lucisv",
"displayName": "lucisv — Verilog/SystemVerilog",
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
"version": "0.27.0",
"version": "0.28.0",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",