Modules from libraries are semantically resolved but cannot navigate to definition
A011.zip
Environment
- OS: Windows
- Vizsla release:
v0.1.1
- Server build:
vizsla 0.1.0_RELEASE+6d9befd.20260519T100848Z
Attachment
Please use the attached A011.zip. Extract it, then open the extracted A011 directory directly in VS Code as the workspace root.
Source files:
vizsla_config.toml
src/a011_top.sv
include/a011_defs.svh
lib/A011_LIB/vizsla_config.toml
lib/A011_LIB/src/a011_lib_child.sv
Reproduction Steps
- Extract
A011.zip.
- Open the extracted
A011 directory directly in VS Code.
- Wait until the Vizsla workspace scan is complete.
- Open
src/a011_top.sv.
- Run Go to Definition on
a011_lib_child in the instance, or Ctrl-click a011_lib_child.
- Check whether it navigates to
module a011_lib_child in lib/A011_LIB/src/a011_lib_child.sv.
Actual Behavior
a011_lib_child has no unknown module diagnostic.
- Workspace diagnostics include
lib/A011_LIB/src/a011_lib_child.sv, so the library file is loaded.
- Go to Definition / Declaration returns an empty result and does not navigate to the library module definition.
Expected Behavior
- Since
libraries = ["lib/A011_LIB"] is loaded and participates in semantic analysis, a011_lib_child in a011_top.sv should navigate to the module definition in lib/A011_LIB/src/a011_lib_child.sv.
Modules from libraries are semantically resolved but cannot navigate to definition
A011.zip
Environment
v0.1.1vizsla 0.1.0_RELEASE+6d9befd.20260519T100848ZAttachment
Please use the attached
A011.zip. Extract it, then open the extractedA011directory directly in VS Code as the workspace root.Source files:
vizsla_config.tomlsrc/a011_top.svinclude/a011_defs.svhlib/A011_LIB/vizsla_config.tomllib/A011_LIB/src/a011_lib_child.svReproduction Steps
A011.zip.A011directory directly in VS Code.src/a011_top.sv.a011_lib_childin the instance, or Ctrl-clicka011_lib_child.module a011_lib_childinlib/A011_LIB/src/a011_lib_child.sv.Actual Behavior
a011_lib_childhas no unknown module diagnostic.lib/A011_LIB/src/a011_lib_child.sv, so the library file is loaded.Expected Behavior
libraries = ["lib/A011_LIB"]is loaded and participates in semantic analysis,a011_lib_childina011_top.svshould navigate to the module definition inlib/A011_LIB/src/a011_lib_child.sv.