/Verilog-on-VS-Code-helper

This is a simple tool to setup formatter, linter, snippets and other useful things for Vivado Verilog on VS Code

Primary LanguageBatchfile

Verilog-on-VS-Code-helper

This is a simple tool to setup formatter, linter, snippets and other useful things for Vivado Verilog on VS Code.

How to use

For windows users

  1. Download zip version of VS Code from https://code.visualstudio.com/download
  2. Extract the content to preferred folder
  3. Clone or download the repo
  4. copy helper_windows folder to the folder mentioned in 2.
  5. run Start.bat in helper_windows folder and follow the instructions
  • You need to have Vivado installed and specify its linter program path(xvlog.bat) to make linter works.
  • Note that everytime you want to use VS code, you should still run Start.bat instead of Code.exe.

What it did

  • With extensions created by mshr-h and IsaacT, we can have formatter, snippets, and other features work.
  • However, we requires some extra tools to let it work, like clang, iStyle formatter, and so on.
  • This repo grabs all files needed (except xvlog.bat, which will be at <vivado install path>/bin) and have a small script to setup a portable environment for VS Code