User guide

21-11
OpenVera Native Testbench
Multiple Program Support
Multiple program support enables multiple testbenches to run in
parallel. This is useful when testbenches model standalone
components (for example, Verification IP (VIP) or work from a
previous project). Because components are independent, direct
communication between them except through signals is undesirable.
For example, UART and CPU models would communicate only
through their respective interfaces, and not via the testbench. Thus,
multiple program support allows the use of standalone components
without requiring knowledge of the code for each component, or
requiring modifications to your own testbench.
Configuration File Model
The configuration file that you create, specifies file dependencies for
OpenVera programs.
Specify the configuration file at the VCS command line as a
command line argument to -ntb_opts. For example:
vcs -ntb -ntb_opts config=configfile top.v
Configuration File
The configuration file contains the program construct.
The program keyword is followed by the OpenVera program file (.vr
file) containing the testbench program and all the OpenVera program
files needed for this program. For example:
//configuration file
program