Verilog
Verilog and SystemVerilog support
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Verilog. The extension's id is verilog.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Zed Verilog Extension
Adds Verilog and SystemVerilog support for Zed.
Features
- Treesitter based syntax highlighting
- Diagnostics
- Auto-completion
- Hover documentation
- Formatting (format-on-save is disabled by default)
Installation
- Open Zed
- Open the command palette
- Enter
zed: extensions - Search for
Verilogusing the search bar on the extensions page. - Press
Installand the language servers will automatically be downloaded.
Language Servers
This extension has four language servers: Verible, Veridian, slang-server, and svls. By default, only Verible and Veridian are enabled due to slang-server being relatively new and having an issue where it produces errors on non-verilog files. To enable slang-server or svls, add the following to your settings file:
"languages": {
"SystemVerilog": {
"language_servers": ["..."]
}
}
Configuration
Configuration for this extension is done in two places. First is by adding "SystemVerilog" your settings file and using the language settings.
Secondly, you can configure the veridian language server by creating a veridian.yml file in your project root and using the settings documented here.
[!NOTE] Since this extension doesn't use the verible language server through veridian, verible specific settings in
veridian.ymlwill not work.
[!NOTE] svls requires a
.svls.tomlfile at your project root to enable linting. Without it, the linter is silently disabled. To customize liniting rules, you will also need a.svlint.tomlfile. See the svls documentation for details.
License
This project is licensed under the Apache-2.0 license or the MIT license, at your option. See COPYRIGHT for more details.