Technical data
coverage report
ModelSim EE/SE Command Reference ModelSim Commands  CR-61
coverage report
The coverage report command is used to produce a textual output of the coverage 
statistics that have been gathered up to this point. (The View > Other > Source 
Coverage menu pick allows you to view this data more interactively.)
Syntax
coverage report 
[ -file <filename> ] [ -lines ]
Arguments
-file <filename>
Specifies a file name for the report. Optional. Default is to write report to the Transcript 
Window.
-lines
Specifies whether to report coverage information for individual lines as well as 
summarizing on a per file basis. Optional. Default is to only summarize by files.
If you are intending to use the coverage reload command, you should specify this 
switch.
The report is given in tabular format. For each source file that had design elements 
simulated, a summary consisting of file name, number of executable lines, number 
of lines that were actually executed and a percentage of coverage are given.
If the -lines switch is specified then following each file summary line is a list of 
executable lines in that file, along with how many times that line was executed.
See also
coverage clear command 
(CR-59), coverage reload command (CR-60)










