Sigasi Visual HDL (SVH) provides several features that help write UVM testbenches. However, a project must first be set up with a UVM library to use these features. This page describes how to set up a UVM project in SVH. The instructions described here are general; refer to the Project Setup section for details on project setup.
Open the folder of your UVM project and add Sigasi support to the project. The project will have a lot of errors at this point, indicating missing declarations and undefined macros.
Add the UVM sources to the project by adding a linked folder to the source folder of the reference implementation of UVM. At this point, most of the errors should be gone. If you don’t have UVM source files on your system yet, they can be downloaded here .
Note: it is highly recommended to add this linked folder to the Common Libraries folder, since sources in this folder are treated as read-only and are not checked for errors. It is also recommended that every file exceptuvm.sv
be excluded from being built.Finally, the include paths should be updated. This can easily be done through a Quick Fix. There should be a number of
Preprocessor include paths are not configured correctly
warnings oninclude
statements of UVM header files. You can easily find these warnings through the Problems View. A Quick Fix is available on these warnings; applying this Quick Fix will automatically update the include paths of the project. A bulk mode is also available, allowing to fix all the missing include paths in the current project. Alternatively, the include paths can be changed through theAdd to Include Paths
context menu item, which is available in the Sigasi Projects View. The include paths can also be manually updated through the Preference View, under theVerilog Preprocessor
page.
After completing the steps above, all of the problems related to UVM configuration should be gone. The UVM features, such as the UVM Diagram and the UVM Topology View, can now be used.