DVT SystemVerilog IDE User Guide
Rev. 22.1.19, 28 June 2022
To define an environment variable you can use the following syntax:
To use the value of an environment variable called ENV_VAR you can use any of the following notations:
Environment variables, either from the parent shell or explicitly defined, can be used to specify:
When an environment variable is not defined, but it is used, the behavior is as follows:
Environment variables are visible to the DVT parsers, for example when used in the e language import statements.
Environment variables are propagated to the external tools launched from DVT, for example by using Run Configurations or External Builders.
When an environment variable is used inside a build file, only the +dvt_setenv+ directives above the usage line are taken into account.
The Dot '.' segment in a path denotes the current directory, which is solved when the path is used, for example to specify a top file or incdir. It is not solved when defining an environment variable. See the example below:
-------- In default.build --------
-------- In other/file.f --------
Predefined environment variables