User guide

21-15
OpenVera Native Testbench
program test1.vr
program test2.vr
You can specify, at most, one OpenVera program file, along with its
dependent OpenVera files, at the command prompt. Specifying
more than one OpenVera file that contains a program construct at
the command prompt is an error.
NTB Options and the Configuration File
The configuration file supports different OpenVera programs with
different NTB options such as include, define, or timescale. For
example, if there are three OpenVera programs p1.vr, p2.vr and
p3.vr, and p1.vr requires the -ntb_define VERA1 runtime option, and
p2.vr should run with -ntb_incdir /usr/vera/include option, specify
these options in the configuration file:
program p1.vr -ntb_define VERA1
program p2.vr -ntb_incdir /usr/vera/include
and specify the command line as follows.
$vcs -ntb -ntb_opts config=configfile p3.vr
Any NTB options mentioned at the command prompt in addition to
the configuration file are applicable to all OpenVera programs.
In the configuration file, you may specify the NTB options in one line
separated by spaces, or on multiple lines.
program file1.vr -ntb_opts no_file_by_file_pp
Some NTB options specific for OpenVera code compilation, such as
-ntb_cmp and -ntb_vl, affect the VCS flow after the options are
applied. If these options are specified in the configuration file, they
are ignored.
The following options are allowed for multiple program use.