User guide

21-32
OpenVera Native Testbench
-ntb_vl
Specifies the compilation of all Verilog files, including the design,
the testbench shell file and the top-level Verilog module.
-ntb_opts
Invokes a set of keyword arguments
Syntax:
-ntb_opts keyword_argument[+keyword_argument(s)]
Examples:
-ntb_opts check
-ntb_opts no_file_by_file_pp+check
A list of keyword arguments is as follows:
check
Reports error, at compile time or runtime, for out-of-bound or
illegal array access. For example:
// mda.vr
program p
{
bit ia[4][5];
integer i, j;
i = 4;
j = 5;
j = ia[i][j];
}
This yields the following runtime error:
Error: Out of bound multi-dimensional array access
(index number: 0, index value: 4) at time 0 in file
mda.vr line 8