User guide
21-12
OpenVera Native Testbench
main1.vr
main1_dep1.vr
main1_dep2.vr
...
main1_depN.vr
[NTB_options ]
program
main2.vr
main2_dep1.vr
main2_dep2.vr
...
main2_depN.vr
[NTB_options ]
program
mainN.vr
mainN_dep1.vr
mainN_dep2.vr
...
mainN_depN.vr
[NTB_options ]
In this example, main1.vr, main2.vr and mainN files each contain a
program. The other files contain items such as definitions of
functions, classes, tasks and so on needed by the program files. For
example, the main1_dep1.vr, main1_dep2.vr .... main1_depN.vr
files contain definitions relevant to main1.vr. Files main2_dep1.v,
main2_dep2.vr ... main2_depN.vr contain definitions relevant to
main2.vr, and so forth.
Use Model for Multiple Programs
You can specify programs and related support files with multiple
programs in two different ways:
1. Specifying all OpenVera programs in the configuration file
2. Specifying one OpenVera program on the command line, and the
rest in the configuration file