Skip to content

Type to search extensions

Verilog

v0.0.19

Verilog and SystemVerilog support

Updated 2 months ago
76k downloads 28 stars Repository ↗

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

  1. Open Zed
  2. Open the command palette
  3. Enter zed: extensions
  4. Search for Verilog using the search bar on the extensions page.
  5. Press Install and the language servers will automatically be downloaded.

Language Servers

This extension has four language servers: Verible, Veridian, slang-server, and svls. By default, only slang-server is enabled. To enable other language servers, add the following to your settings file:

"languages": {
  "SystemVerilog": {
    "language_servers": ["verible"] // replace with list of language servers to enable
  }
}

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.yml will not work.

Note

svls requires a .svls.toml file at your project root to enable linting. Without it, the linter is silently disabled. To customize liniting rules, you will also need a .svlint.toml file. 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.

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated