How to setup a SystemVerilog UVM project in Sigasi
Posted on 2017‑12‑06
by Hendrik Eeckhaut
Tagged as:
Sigasi Studio
SystemVerilog
UVM
Setting up a regular SystemVerilog project in Sigasi Studio is easy. As UVM, the Universal Verification Methodology, complicates everything, it also complicates project setup in Sigasi Studio. In this blog post I will demonstrate how to use UVM in a Sigasi project.
As an example I will show how to open the UBUS project that is shipped with the reference implementation of UVM in Sigasi Studio.
The procedure consists of 9 simple steps:
- Download the reference implementation of UVM
- Unpack the sources on your disk (e.g. to
/Users/heeckhau/demo/uvm-1.2
) - Import the UBUS sources in Sigasi:
- Select File > Open Project from File System..., click Directory... and browse to the location of the UBUS source files (in my case this is
/Users/heeckhau/demo/uvm-1.2/examples/integrated/ubus
). - Click Finish
- Select File > Open Project from File System..., click Directory... and browse to the location of the UBUS source files (in my case this is
- Right click the project (
ubus
), and select Configure > Add (System)Verilog support - Use your files system explorer (Windows Explorer, Finder, Nautilus) and navigate to the UVM sources (in my case this is
/Users/heeckhau/demo/uvm-1.2/src/
) and drag and drop this folder into theCommon Libraries
folder1 of theubus
project.
Select Link to file and folders and OK - Add the
uvm
sources to the build: right click onCommon Libraries/src/
and select Add to build (library work) - Add the UVM sources to the include path: right click the project and select Properties > (System)Verilog include path; enter
Common Libraris/src
as include path and confirm with OK. - Open
examples/ubus_tb_top.sv
by double clicking the file in the project explorer. Notice the error markers on the`include
s. - Click on the error marker in the margin (with the small light bulb) and select Add sv to include paths. This automatically adds the
sv
folder to the include paths.
Your Sigasi Studio UVM project is now ready for use. Feel free to experiment with hovers, open declaration (F3), find references and autocomplete (Ctrl+Space).
Footnotes: