From 159f6a0bd83180c20390133ef21e5ea24a05b913 Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Wed, 2 Sep 2026 16:08:19 -0700 Subject: [PATCH] =?UTF-8?q?Release=200.33.0=20=E2=80=94=20SVA=20bodies=20a?= =?UTF-8?q?s=20real=20nodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 11 +++++++++++ editors/vscode/README.md | 9 ++++++++- editors/vscode/package.json | 2 +- 6 files changed, 57 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c557e..7723afc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,34 @@ 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.33.0 — 2026-09-02 + +### Assertions are code now + +`property`/`sequence` declarations and concurrent assertions (`assert`, +`assume`, `cover`, `restrict property`, `expect`, `cover sequence`, +`default disable iff`) were verbatim text: kept byte for byte, invisible +to everything else. They are real nodes now — every sequence and +property operator (`##`, `[*n]`, `|->`, `|=>`, `throughout`, `within`, +`intersect`, `until`, `implies`, `iff`, `nexttime`, `always`, +`eventually`, `first_match`, `accept_on`…, property `if`/`case`, typed +formals, local variables, match items) with the LRM's precedence, no +new reserved words, and a byte-exact fallback for anything the grammar +cannot take (it fires on none of 4 792 corpus and opentitan files). + +- **Rename and references see inside assertions.** A signal named only + in a property is renamed with its declaration; a property's formal is + scoped to the property. Anything that still falls back warns instead + of staying silent. +- **Formatting**: one rule — the spec's top-level `|->`/`|=>`/`##`/ + `and`/`or` break one per line when the spec does not fit; everything + else inline. 13 corpus and 36 opentitan files move, all inside + assertion text; every `` `ASSERT* `` macro invocation is + byte-identical. +- Properties and sequences appear in document symbols; `undriven-net` + sees a net driven or read inside an assertion. +- The index store format changed; it rebuilds once after updating. + ## 0.32.0 — 2026-09-02 ### `bind` directives mean something now diff --git a/Cargo.lock b/Cargo.lock index 897e8c6..a6b1eb3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.32.0" +version = "0.33.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.32.0" +version = "0.33.0" [[package]] name = "lucisv_server" -version = "0.32.0" +version = "0.33.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.32.0" +version = "0.33.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.32.0" +version = "0.33.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.32.0" +version = "0.33.0" [[package]] name = "vlog_refactor" -version = "0.32.0" +version = "0.33.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.32.0" +version = "0.33.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index b9e7006..31cb758 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.32.0" +version = "0.33.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index a5e9413..1ad365e 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,17 @@ 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.33.0 — 2026-09-02 + +- **Assertions are code.** `property`/`sequence` declarations and + concurrent assertions are parsed for real: rename and find-references + see a signal named inside a property, a property's formals are scoped + to it, properties and sequences show in the outline. Anything the + grammar cannot take is kept byte-for-byte and rename warns about it. +- Formatting inside assertions is canonical now: a long spec breaks one + top-level operator per line. Files without assertions are unchanged. +- The index store format changed; it rebuilds once after updating. + ## 0.32.0 — 2026-09-02 - **`bind` directives resolve.** Indexed targets (`bind top.gen[0].u_core …`) diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 3357602..77a175d 100644 --- a/editors/vscode/README.md +++ b/editors/vscode/README.md @@ -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.32.0**. Its platform packages include both +The current release is **0.33.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -326,6 +326,13 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.33.0 highlights + +Version 0.33.0 parses SystemVerilog assertions — `property`/`sequence` +declarations and concurrent assertions — as real code, so rename, +references, outline and the lints see inside them, with a byte-exact +fallback for anything the grammar cannot take. + ## Release 0.32.0 highlights Version 0.32.0 gives `bind` directives real semantics — indexed targets, diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 5fafbbf..0330a58 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -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.32.0", + "version": "0.33.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",