Skip to content

dbhi/vsc-hdl

Repository files navigation

vsc-hdl is a Visual Studio Code (VSC) Extension to hopefully improve the UX of hardware designers writting modern VHDL (i.e. >=2008) with (FOSS) EDA tools.

Features (with no ETA)

  • HDL - Projects view/section is added to the Explorer. The workspace is scanned for known HDL project definition files and a quick-access list is shown.
    • VUnit
    • hdl-prj.json
  • HDL - Results view/section is added to the Explorer. The workspace is scanned for folders/files with known HDL test execution results files and a summary is shown.
    • vunit_out
  • Tasks view/section is added to the dockerView contributed by the Docker extension for VSC.
  • Integrate with ghdl/ghdl-language-server.
  • Integrate features to/from TerosTechnology/terosHDL.
    • Symbolator
    • Code coverage
    • FSM
  • Integrate ghdl's synthesis features.

Development

  • First, clone the repository:
git clone https://github.com/dbhi/vsc-hdl
cd vsc-hdl
  • Optionally, a docker container can be used to avoid installing Node.js on the host. Then, use the Remote - Containers extension to attach VSC to the container, and open folder /src.
$(command -v winpty) docker run --rm -itv /$(pwd)://src -w //src node bash
  • Last, but not least, have fun!

Run tests

  • Press F5 to run the tests in a new window with your extension loaded.
  • See the output of the test result in the debug console.
  • Make changes to test/extension.test.ts or create new test files inside the test folder. By convention, the test runner will only consider files matching the name pattern **.test.ts. Note that it will find folders/files recursively.

To Do

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks