Deriving Ranges for a Referenced Model

Viewing Derived Minimum and Maximum Values for Referenced Models

The Fixed-Point Tool derives minimum and maximum values for referenced models. The simulation mode is not relevant for the analysis — instances of the referenced models can be in any simulation mode.

The Fixed-Point Tool displays the top-level model that contains the referenced models and the referenced models in its Model Hierarchy pane. For example, the ex_derived_sum_multi_instance model contains two instances of the referenced model ex_sum. The Fixed-Point Tool displays both models and both instances of the referenced model in the model hierarchy.

If a model contains multiple instances of the referenced model, the tool displays each instance of the referenced model as well as a node for the referenced model. For example, here are the results for the first instance of the referenced model ex_sum1 in ex_multi_instance.

Here are the results for the second instance of ex_sum1.

In the referenced model node, the tool displays the union of the results for each instance of the referenced model.

Data Type Override Settings

When you derive minimum and maximum values for a model that contains referenced models, the data type override setting for the top-level model does not control the setting for the referenced models. You must specify the data type override setting separately for the referenced model.

You can set up user-defined shortcuts across referenced model boundaries. The factory default shortcuts apply only to the top-level model and so do not affect the settings of any referenced model.

When you change the fixed-point instrumentation and data type override settings for any instance of a referenced model, the settings change on all instances of the model and on the referenced model itself.

Was this topic helpful?