User guide
21-58
OpenVera Native Testbench
Loading Coverage Data
Both cumulative coverage data and instance-specific coverage data
can be loaded. The loading of coverage data from a previous VCS
run implies that the bin hits from the previous VCS run to this run are
to be added.
Loading Cumulative Coverage Data
The cumulative coverage data can be loaded either for all coverage
groups, or for a specific coverage group. To load the cumulative
coverage data for all coverage groups, use the following syntax:
coverage_load_cumulative_data("test_name"[, "dir_name"]);
In this task, "dir_name" is optional. If you do not specify a "dir_name",
by default, simv.vdb is taken as the directory containing the database.
The above task directs VCS to find the cumulative coverage data for
all coverage groups found in the specified database file and to load
this data if a coverage group with the appropriate name and definition
exists in this VCS run.
To load the cumulative coverage data for just a single coverage
group, use the following syntax:
coverage_load_cumulative_cg_data("test_name",
"covergroup_name"[, "dir_name"]);
In this task, "dir_name" is optional. If you do not specify a "dir_name",
by default, simv.vdb is taken as the directory containing the database.