Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Invoking Code Coverage with Vsim

ModelSim's Code Coverage feature gives you graphical and report file feedback on how the source code is being executed. It allows line number execution statistics to be kept by the simulator. It can be used during any design phase and in all levels and types of designs. For complete details, see Code Coverage chapter .

To acquire code coverage statistics, the -coverage switch must be specified during the command-line invocation of the simulator.

vsim -coverage ... 

This will allow you to use the various code coverage commands: coverage clear, coverage reload, and coverage report.


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase