Configuring Overflow Warnings - 2024.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2024-05-30
Version
2024.1 English
In case of either wrap or saturate, you might want to know when overflow occurs. You can define how Simulink handles each of these overflow conditions in the model by modifying the Model Configuration Parameters. Open the Model Configuration Parameters by selecting Modeling > Model Settings > Model Settings, or typing Ctrl-E. In the Configuration Parameters dialog box, under the Diagnostics > Data Validity tab, you can specify values for the Wrap on Overflow and Saturate on Overflow fields. Each of these fields can have one of the following settings:
none
Simulink takes no special action to report or handle the overflow.
warning
A message will be displayed in the diagnostic viewer. The next warning for the same block will be ignored, and simulation will continue.
error
An error message will be displayed in the diagnostic viewer and the simulation will be terminated.
Tip: Help for this dialog box can be found under Model Configuration Parameters: Data Validity Diagnostics.