Here at Sigasi, we are immensely devoted to the culture of testing. We believe in the power of test driven development and think it’s a great tool that can integrate with hardware design.
Integrating VUnit into SVH has let us give our users the ability to work with their HDL projects and use VUnit in their workflow.
Setting up:
- Install the Sigasi extension from the VS Code marketplace
- Once that’s done, just open your HDL project and open a VHDL or (System)Verilog file.
- Now, for Sigasi to correctly link your design with the VUnit libraries you must add the libraries that come installed with VUnit as a external folder. You can do that through the Projects View that comes with the Sigasi extension and selecting the folder where VUnit is installed:
- If you want to know where your VUnit is installed you can execute:
$ pip show vunit-hdl
and it will be underlocation
: - Finally, just match the library mapping with the one in your
run.py
:
See also
- Sigasi extension for VS Code (screencast)
- VUnit projects in Sigasi Visual HDL (knowledge)
- How to monitor the memory use of Sigasi Visual HDL (knowledge)
- Better call SAL (blog post)
- Installing and maintaining Visual Studio Code / VSCodium with the Sigasi extension (knowledge)