DVT IDE for VS Code SystemVerilog User Guide
Rev. 22.1.23, 16 August 2022

Chapter 2. Predefined Projects

The predefined projects allow you to quickly open example projects delivered with the extension or the DVT distro.

DVT looks for predefined projects in the directory indicated by the $DVT_PREDEFINED_PROJECTS system variable. In order to support directories spread on the disk, DVT also scans all directories indicated by any other system variable whose name starts with $DVT_PREDEFINED_PROJECTS_EXT_.

DVT looks for predefined projects in the directory indicated by the $DVT_PREDEFINED_PROJECTS system variable. In order to support directories spread on the disk, DVT also scans all directories indicated by any other system variable whose name starts with $DVT_PREDEFINED_PROJECTS_EXT_.

For example, if you installed DVT from a distribution, by default $DVT_PREDEFINED_PROJECTS points to $DVT_HOME/predefined_projects. This is a project repository that you can use to explore the DVT features without the initial effort of configuring a project.

At any time, if you wish to change the default location, you just need to point $DVT_PREDEFINED_PROJECTS to another location. Or add another pre-configured projects repository by pointing $DVT_PREDEFINED_PROJECTS_EXT_MY_NEW_REPOSITORY to it.

To open a predefined project use the "Open a Predefined Project..." command from the Command Palette.

You can select the predefined project and the target directory. A copy of the selected project will be placed in the target directory. Keep in mind that the target directory must be writable.