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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interpreting profiler data<br />

Interpreting profiler data UM-323<br />

The utility of the data supplied by the profiler depends in large part on how your code is<br />

written. In cases where a single model or instance consumes a high percentage of<br />

simulation time or requires a high percentage of memory, the statistical sampling profiler<br />

or the memory allocation profiler quickly identifies that object, allowing you to implement<br />

a change that runs faster or requires less memory.<br />

More commonly, simulation time or memory allocation will be spread among a h<strong>and</strong>ful of<br />

modules or entities – for example, 30% of simulation time split between models X, Y, <strong>and</strong><br />

Z; or 20% of memory allocation going to models A, B, C <strong>and</strong> D. In such situations, careful<br />

examination <strong>and</strong> improvement of each model may result in overall speed improvement or<br />

more efficient memory allocation.<br />

There are times, however, when the statistical sampling <strong>and</strong> memory allocation profilers<br />

tell you nothing more than that simulation time or memory allocation is fairly equally<br />

distributed throughout your design. In such situations, the profiler provides little helpful<br />

information <strong>and</strong> improvement must come from a higher level examination of how the<br />

design can be changed or optimized.<br />

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

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

Saved successfully!

Ooh no, something went wrong!