24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

UM-12 Table of Contents<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong><br />

Collecting memory allocation <strong>and</strong> performance data . . . . . . . . . . . . . . . UM-321<br />

Running the profiler on Windows with FLI/PLI/VPI code . . . . . . . . . . . . UM-322<br />

Interpreting profiler data . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-323<br />

Viewing profiler results . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-324<br />

The Ranked View . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-324<br />

The Call Tree view . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-325<br />

The Structural View . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-326<br />

Viewing profile details . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-327<br />

Integration with Source windows . . . . . . . . . . . . . . . . . . . . . . . . UM-329<br />

Analyzing C code performance . . . . . . . . . . . . . . . . . . . . . . . . . UM-330<br />

Reporting profiler results . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-331<br />

13 - Measuring code coverage (UM-333)<br />

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-334<br />

Usage flow for code coverage . . . . . . . . . . . . . . . . . . . . . . . UM-334<br />

Supported types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-335<br />

Important notes about coverage statistics . . . . . . . . . . . . . . . . . . . UM-336<br />

Enabling code coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-337<br />

Viewing coverage data in the Main window . . . . . . . . . . . . . . . . . . . . UM-340<br />

Viewing coverage data in the Source window . . . . . . . . . . . . . . . . . . . UM-341<br />

Toggle coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-343<br />

Enabling Toggle coverage . . . . . . . . . . . . . . . . . . . . . . . . . UM-343<br />

Excluding nodes from Toggle coverage . . . . . . . . . . . . . . . . . . . . UM-344<br />

Viewing toggle coverage data in the Objects pane . . . . . . . . . . . . . . . UM-344<br />

Toggle coverage reporting . . . . . . . . . . . . . . . . . . . . . . . . . UM-344<br />

Filtering coverage data . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-346<br />

Excluding objects from coverage . . . . . . . . . . . . . . . . . . . . . . . . UM-347<br />

Excluding lines/files via the GUI . . . . . . . . . . . . . . . . . . . . . . UM-347<br />

Excluding lines/files with pragmas . . . . . . . . . . . . . . . . . . . . . UM-347<br />

Excluding lines/files with a filter file . . . . . . . . . . . . . . . . . . . . . UM-348<br />

Excluding condition <strong>and</strong> expression udp truth table lines <strong>and</strong> rows . . . . . . . . . UM-349<br />

Excluding lines <strong>and</strong> rows with the coverage exclude comm<strong>and</strong> . . . . . . . . . . UM-349<br />

Excluding nodes from toggle statistics . . . . . . . . . . . . . . . . . . . . UM-349<br />

Reporting coverage data . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-350<br />

XML output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-351<br />

Sample reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-352<br />

Saving <strong>and</strong> reloading coverage data . . . . . . . . . . . . . . . . . . . . . . . UM-354<br />

From the comm<strong>and</strong> line . . . . . . . . . . . . . . . . . . . . . . . . . . UM-354<br />

From the graphic interface . . . . . . . . . . . . . . . . . . . . . . . . . UM-354<br />

With the vcover utility . . . . . . . . . . . . . . . . . . . . . . . . . . UM-354<br />

Coverage statistics details . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-355<br />

Condition coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-355<br />

Expression coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-356

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!