Release 0.24.0 — interface semantics
Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
311551f232
commit
95f930cf20
6 files changed
+60
-11
No files matched your search
@@ -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.24.0 — 2026-09-01
|
||||
|
||||
Interface semantics — interfaces, modports and clocking blocks become
|
||||
symbols, and `vif.sig` crosses files.
|
||||
|
||||
An interface was indexed as a `Module` (its hover card said "module"),
|
||||
modports and clocking blocks declared nothing, the signal names inside
|
||||
them were not references, and one export line kept an interface's
|
||||
signals out of the workspace's member table — so `virtual my_if vif;
|
||||
vif.sig` resolved only when the interface was in the same file. Now:
|
||||
`SymbolKind::{Interface, Modport, Clocking}`; an interface exports its
|
||||
signals (they are its surface — a module still exports ports and
|
||||
parameters only); every name inside a modport or clocking block is a
|
||||
reference to the interface's signal, method or block; the modport half
|
||||
of `bus_if.mp` in a port type or a `virtual bus_if.mp` handle resolves
|
||||
to the modport; a clocking block carries its enclosing interface as its
|
||||
type, so `vif.cb.data` reaches `data`'s declaration through the member
|
||||
chase unchanged. `FACTS_FORMAT` 7 → 8 (older stores rebuild once).
|
||||
Interfaces stay in the completion/ghost module table, the design
|
||||
hierarchy and the port refactorings — pinned unchanged — while hover,
|
||||
outline and completion kinds become honest.
|
||||
|
||||
Unresolved names on the 860-file corpus fell 1 256 → 1 203, the first
|
||||
movement in three rounds — the `@(cb)` and `cb.data` names that had
|
||||
nothing to bind. Store +1.2 %. Renaming a modport from its
|
||||
type-position use now rewrites its declaration and every use. QA: 17
|
||||
live opentitan probes, zero wrong answers, every hover sub-millisecond.
|
||||
|
||||
## 0.23.0 — 2026-09-01
|
||||
|
||||
Member chains and instance heads — DV class-semantics round 2.
|
||||
|
||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
dependencies = [
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
@@ -264,11 +264,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
"vlog_semantic",
|
||||
@@ -276,7 +276,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.23.0"
|
||||
version = "0.24.0"
|
||||
authors = ["Guoliang Chen"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
@@ -5,6 +5,20 @@ 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.24.0 — 2026-09-01
|
||||
|
||||
- **Virtual interfaces work across files**: hover, go-to-definition,
|
||||
references and rename on `vif.sig` and `vif.cb.sig` through a
|
||||
`virtual my_if vif` handle now reach the interface's declarations
|
||||
wherever it lives.
|
||||
- **Modports and clocking blocks are symbols**: hover a modport in a
|
||||
port type (`bus_if.mp bus`) or a connection (`.m(b_if.mp)`), jump to
|
||||
it, rename it; the names inside modport lists and clocking blocks link
|
||||
to the interface's signals.
|
||||
- Interfaces are labelled "interface" (not "module") in hover, outline
|
||||
and completion.
|
||||
- The index store format changed; it rebuilds once after updating.
|
||||
|
||||
## 0.23.0 — 2026-09-01
|
||||
|
||||
- **Member chains resolve**: hover, definition, references and rename on
|
||||
|
||||
@@ -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.23.0**. Its platform packages include both
|
||||
The current release is **0.24.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.24.0 highlights
|
||||
|
||||
Version 0.24.0 gives interfaces their own identity in the language
|
||||
server: `vif.sig` and `vif.cb.sig` through virtual-interface handles
|
||||
resolve across files, modports and clocking blocks are symbols you can
|
||||
hover, jump to and rename, and an interface finally says "interface".
|
||||
|
||||
## Release 0.23.0 highlights
|
||||
|
||||
Version 0.23.0 follows member chains: `cfg.vif.clk`, `item.hdr.addr`
|
||||
|
||||
@@ -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.23.0",
|
||||
"version": "0.24.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in new issue
Block a user