User guide

24-241
SystemVerilog Testbench Constructs
Persistent Storage of Coverage Data and
Post-Processing Tools
Unified Coverage Directory and Database Control
A coverage directory named simv.vdb contains all the testbench
functional coverage data. This is different from previous versions of
VCS, where the coverage database files were stored by default in
the current working directory or the path specified by
coverage_database_filename. For your reference, VCS
associates a logical test name with the coverage data that is
generated by a simulation. VCSassigns a default test name; you can
override this name by using the
coverage_set_test_database_name task.
$coverage_set_test_database_name
("test_name"[,"dir_name"]);
VCS avoids overwriting existing database file names by generating
unique non-clashing test names for consecutive tests.
For example, if the coverage data is to be saved to a test name called
pci_test, and a database with that test name already exists in the
coverage directory simv.vdb, then VCS automatically generates the
new name pci_test_gen1 for the next simulation run. The following
table explains the unique name generation scheme details.