Release 0.34.0 — rename macro-argument warnings, modport prototypes, unnamed DPI formals, --rules-doc
Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
1c6ed7e70d
commit
999edd0203
6 files changed
+58
-11
No files matched your search
@@ -4,6 +4,37 @@ 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.34.0 — 2026-09-02
|
||||
|
||||
### Rename tells you what it could not reach
|
||||
|
||||
- **Macro arguments are named.** A rename now lists every file where the
|
||||
old name appears inside a macro invocation that the rename did not
|
||||
read (`` `uvm_info(..., $sformatf("%0d", sig)) `` in a file with no
|
||||
other relationship to the name), one warning per file, so nothing is
|
||||
silently left behind. Answered from a new per-file census in the
|
||||
index without reading any file (under a millisecond on opentitan).
|
||||
- The index store format changed (`FACTS_FORMAT` 17); it rebuilds once.
|
||||
|
||||
### Grammar
|
||||
|
||||
- **Modport method prototypes** (`modport mp (import task drive(int x),
|
||||
input clk);`) parse, format and resolve: hover on the prototype's
|
||||
name lands on the interface's task.
|
||||
- **Unnamed DPI formals** (`import "DPI-C" function int f(int, chandle);`)
|
||||
parse and format; an unnamed formal anywhere else is still an error.
|
||||
- `const /*c*/ ref` keeps its comment.
|
||||
|
||||
### CLI
|
||||
|
||||
- `lucisv check --rules-doc` prints the generated rule reference.
|
||||
|
||||
### Internal
|
||||
|
||||
- Every file over 1 200 lines was decomposed (parser, formatter, server,
|
||||
semantic and refactor crates) as pure moves with byte-identical
|
||||
output; `vlog_refactor`'s `Scope` moved to the crate root.
|
||||
|
||||
## 0.33.0 — 2026-09-02
|
||||
|
||||
### Assertions are code now
|
||||
|
||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
@@ -264,11 +264,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
"vlog_semantic",
|
||||
@@ -276,7 +276,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
authors = ["Guoliang Chen"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
@@ -5,6 +5,16 @@ 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.34.0 — 2026-09-02
|
||||
|
||||
- **Rename warns about macro arguments it could not edit**, naming every
|
||||
file where the old name sits inside a macro invocation the rename did
|
||||
not read — answered from the index in under a millisecond.
|
||||
- Modport method prototypes (`import task drive(int x)`) and unnamed DPI
|
||||
formals (`function int f(int, chandle)`) parse, format and resolve.
|
||||
- `lucisv check --rules-doc` prints the generated rule reference.
|
||||
- The index store format changed; it rebuilds once after updating.
|
||||
|
||||
## 0.33.0 — 2026-09-02
|
||||
|
||||
- **Assertions are code.** `property`/`sequence` declarations and
|
||||
|
||||
@@ -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.33.0**. Its platform packages include both
|
||||
The current release is **0.34.0**. Its platform packages include both
|
||||
`lucisv-server` and the `lucisv` command-line tool:
|
||||
|
||||
| Package target | Machines |
|
||||
@@ -326,6 +326,12 @@ Every nesting color is a proper VS Code theme color:
|
||||
}
|
||||
```
|
||||
|
||||
## Release 0.34.0 highlights
|
||||
|
||||
Version 0.34.0 makes rename name the macro arguments it cannot edit,
|
||||
parses modport method prototypes and unnamed DPI formals, and adds
|
||||
`lucisv check --rules-doc`.
|
||||
|
||||
## Release 0.33.0 highlights
|
||||
|
||||
Version 0.33.0 parses SystemVerilog assertions — `property`/`sequence`
|
||||
|
||||
@@ -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.33.0",
|
||||
"version": "0.34.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in new issue
Block a user