Setting up a SystemVerilog project in Sigasi Studio is easy. First you add all your source files. Next you configure the include paths, and you’re ready to go.
Sigasi Studio follows the Eclipse approach in setting up projects. This means that there is a lot of flexibility, but in most cases it is a matter of pointing Sigasi Studio to the correct source folder. If you want to exclude some SystemVerilog source files from your project, right click on the source files and select Exclude from build (This also works for folders).
If you are using Verilog Preprocessor includes, and the include files are not next to your source files, you also have to set include paths. The most convenient way to configure this, is with a Quick Fix: Open the source file with the
`include directive, click on the error marker, and select the suggested fix.
To demonstrate how easy this is, I will guide you through opening the SCR1 project in Sigasi Studio. SCR1 is an open-source RISC-V compatible MCU core, designed by Syntacore.
If you already have cloned the project on your computer, follow these steps:
- Select File > Open Project from File System…, click Directory… and browse to the location of the source files (in my case this is
- Click Finish
- Open any SystemVerilog source file (e.g.
src/scr1_memory_tb_ahb.sv) and confirm that you want to add Sigasi’s (System)Verilog support to the project.
- Click on the error marker (with the light bulb decorator) next to the `include directive and select Add ‘src/includes’ to include paths..
- Click File > Import…
- Next inside the Git category select Projects from Git and click Next
- Select Clone URI and click Next
- Paste the git repo location
https://github.com/syntacore/scr1.gitin the URI: field and click Next
- Select the master branch and click Next
- Select the local destination for the cloned source
- Select Import as generic project
- Confirm the project name
- Click Finish
- Follow steps 3-5 from the list above
- Sigasi Studio treats SystemVerilog include files as regular SystemVerilog code by taking the ‘including’ context into account. This requires no extra setup or configuration from your part.
- The project information is stored in:
.projectfile, it describes which files belong to the project
.library_mapping.xmlfile, it describes the project’s library information (and excluded files)
- All other project settings are stored in the
- How to setup a SystemVerilog UVM project in Sigasi (blog post)
- Setup a SystemVerilog UVM project in VS Code (blog post)
- Wallpapers for Fans of Sigasi Studio (blog post)
- How to set up the UVVM Library in Sigasi Studio (blog post)
- How to use the new VHDL 2008 libraries in Sigasi Studio (blog post)