HDL support for VS Code
|
| Language Server | Verilog-HDL | SystemVerilog | VHDL |
|---|---|---|---|
| svls | not supported | enabled | not supported |
| veridian | not supported | enabled | not supported |
| HDL Checker | enabled | enabled | enabled |
| verible-verilog-ls | enabled | enabled | not supported |
| vhdl_ls | not supported | not supported | enabled |
Install svls via cargo:
cargo install svls
Install vhdl_ls via cargo:
cargo install vhdl_ls
Tcl support is provided by tclsp for Tcl/SDC/XDC/UPF files. Configure it under verilog.languageServer.tclsp and install tclint (provides the tclsp binary). Recommended install via uv:
uv tool install tclint
Formatting (Experimental)
We currently support Verilog-HDL file formatting with the following formatters.
You can format the Verilog-HDL file by typing Ctrl-Shift-p, then select Format Document.
Entire file formatting is supported. Selected range formatting is not supported yet.
All the settings for formatting is under verilog.formatting namespace.
Guidelines for Contributing
Extension Development
Launch in Debug Mode
- Install dependencies with
npm install. - Open the repository in VS Code and start the default build task (
watch) or simply pressF5—theLaunch Extensionconfiguration in .vscode/launch.json will run the build task automatically. - In the Run and Debug view, pick Launch Extension and start debugging. VS Code will open an Extension Development Host pointing at the bundled
language_examplesworkspace so you can try the features immediately. - Set breakpoints in the
srcfiles; the compiled output inoutis mapped via sourcemaps so the breakpoints hit your TypeScript sources.
Logs
Logs are outputted to LogOutputChannel in th VS Code. You can check it by opening the Output pane in VS Code and choose Verilog in the drop-down menu.
Helpful links
- Verilog in VSCode With Linting (Using Modelsim) - YouTube
- A Productive VSCode Setup for SystemVerilog Development - Igor Freire
Thanks
- To all our Contributors
- Textmate Package for Verilog
- SublimeLinter-contrib-iverilog
- SublimeLinter-contrib-vlog
- Sublime Text Bluespec SystemVerilog
- yangsu/sublime-vhdl
- Sublime EDA
- dalance/svls
- vivekmalneedi/veridian
- suoto/hdl_checkerChecker
- chipsalliance/verible
- ericsonj/verilog-format
- thomasrussellmurphy/istyle-verilog-formatter
- slang C++ docs
- Digital-EDA/Digital-IDE: All in one vscode plugin for HDL development
configs/tcl.configuration.jsonandsyntaxes/tcl.tmlanguage.jsonare obtained from the repo.
- eirikpre/VSCode-SystemVerilog: SystemVerilog support in VS Code
- SystemVerilog syntax is obtained from the repo.
- raczben/fliplot: HTML & Js based VCD viewer
- wavedrom/vcd-samples: sample VCD files

