View Simulation Results

Compare Runs

To compare runs:

  1. In one of the runs that you want to compare, select a logged signal.

  2. From the Fixed-Point Tool menu, select Results > Compare Runs or click .

  3. If there are more than two runs, in the Compare Runs Selector dialog box, select the run that you want to compare, and then click OK.

On the upper axes, the Simulation Data Inspector plots the signal in both selected runs. On the lower axes, the Simulation Data Inspector plots the difference between those runs.

Compare Signals

To compare signals:

  1. In one of the runs that you want to compare, select a logged signal.

  2. From the Fixed-Point Tool menu, select Results > Compare Signals or click .

  3. If there are more than two runs, in the Compare Runs Selector dialog box, select the run that you want to compare, and then click OK.

On the upper axes, the Simulation Data Inspector plots the signal in both selected runs. On the lower axes, the Simulation Data Inspector plots the difference between those runs.

Inspect Signals

To inspect a signal:

  1. Select the logged signal that you want to inspect.

  2. From the Fixed-Point Tool menu, select Results > Inspect Signal or click .

The Simulation Data Inspector plots data as a function of time.

Histogram Plot of Signal

To view the histogram plot of a signal:

  1. Select the logged signal that you want to plot.

  2. From the Fixed-Point Tool menu, select Results > Histogram Plot of Signal or click .

The histogram plot helps you visualize the dynamic range of a signal. It provides information about the:

  • Total number of samples (N).

  • Maximum number of bits to prevent overflow.

  • Number of times each bit has represented the data (as a percentage of the total number of samples).

  • Number of times that exact zero occurred (without the effect of quantization). This number does not include the number of zeroes that occurred due to rounding.

You can use this information to estimate the word size required to represent the signal.

Was this topic helpful?