An extension developed by Sigasi with rich support for SystemVerilog, Verilog and VHDL. This extension provides features such as code navigation, project management, linting, code formatting, tooltips, refactoring and much more!
Step 1. Set up your Sigasi license. You can use your existing Sigasi Studio license. If you don't have a license yet, get your free trial license from https://www.sigasi.com/try/.
Open the command palette (Ctrl+Shift+P)
Type Settings, select "Preferences: Open Settings (UI)" and confirm with enter
Search for Sigasi and navigate to Path To License
Enter the path to your Sigasi license. This can either be a node locked license (<path to license file>) or a floating license (<port>@<server>)
Step 2. To start a project, open a folder with VHDL or (System)Verilog files and start editing.
The plugin comes with tutorial projects built in.
To open the tutorial projects, open the command palette (Ctrl+Shift+P) and type Sigasi: Create tutorial projects.
You can also open a somewhat larger demo project using the command Sigasi: Create demo projects.
These demos show the full potential of the Sigasi VS Code extension.
Configuring your project
Modify the library mapping: folders and files can be mapped to different libraries.
Change language version: both VHDL and (System)Verilog versions can be tweaked in the language_version.json file, for VHDL this will determine the common libraries such as ieee and std.
You can also right click a file or folder and select Set language version.
Setting up your environment
If you need to pass arguments to the Sigasi Server, you ca nuse the setting Sigasi>Server: Arguments.
VHDL and (System)Verilog validation levels can be changed by going to the command palette (Ctrl+Shift+P), opening "Preferences: Open Settings (UI)" and searching for Sigasi>Vhdl or Sigasi>Verilog.
(System)Verilog Include paths and initial defines can also be edited in the Settings.
You can find the Sigasi logs by opening the log and tracing log view (Open the Command Palette (Ctrl+Shift+P) and type Sigasi: Open log).
For more detailed logging, open the settings and change Sigasi>Server>Log: Level. The info level usually provides us with enough information.
To see all the tracing logs you should open the settings and set Sigasi>trace:server to verbose.
It's possible to export a project.client.json and a project.server.json which will describe the current project's state on the client and server side. To do this open the Command Palette (Ctrl+Shift+P) and type Sigasi: Get the current project description.