User guide
24-238
SystemVerilog Testbench Constructs
The Coverage Report
During simulation VCS creates a default database directory simv.vdb.
For the code example above, VCS writes the simv.vdb directory in
the current directory. This directory contains the coverage database
and all the information VCS needs to write a coverage report. There
are two types of coverage reports:
• an ASCII text file
• an HTML file
The ASCII Text File
The command to instruct VCS to generate a coverage report in ASCII
format is:
urg -dir simv.vdb -format text
The -format text option instructs VCS to generate, text reports
(dashboard.txt, grpinfo.txt, tests.txt and groups.txt) in a separate
directory called urgReport. The ASCII coverage report grpinfo.txt for
the previous code example is as follows:
Group : cg1_SHAPE_0
==========================================================
Group : cg1_SHAPE_0
==========================================================
Score Weight Goal
100.00 1 100
----------------------------------------------------------
Samples for Group : cg1_SHAPE_0
Variable Expected Covered Percent Goal Weight