Documentation

Verify Fixed-Point Conversion

Compare fixed-point and floating-point model behavior

After you have completed the steps described in Convert to Fixed Point, compare the simulation behavior of the fixed-point version of your model with the floating-point baseline you collected at the start of the workflow to determine if the conversion was successful.

Classes

DataTypeWorkflow.ConverterCreate fixed-point converter object
DataTypeWorkflow.ResultObject containing run result information
DataTypeWorkflow.DiffRunResultResults from comparing two simulation runs
DataTypeWorkflow.DiffSignalResultResults from comparing two signals

Topics

Verify New Settings

Final step in autoscaling workflow.

Debug a Fixed-Point Model

Describes a method for debugging a fixed-point model

Explore Additional Data Types

Reconvert your design using a new default data type

Explore Multiple Floating-Point to Fixed-Point Conversions

Iteratively explore different proposal settings to find the best floating point to fixed-point conversion

View Simulation Results

Use the Simulation Data Inspector to view simulation results and compare runs to verify your fixed-point design.

Model Multiple Data Type Behaviors Using a Data Dictionary

Learn how to use referenced data dictionaries to store multiple sets of data types for a model. This example also shows how to change the data types by switching the referenced data dictionary.

Troubleshooting

Data Type Propagation Errors After Applying Proposed Data Types

Under certain conditions, the Fixed-Point Tool may propose a data type that is not compatible with the model.

Was this topic helpful?