Configuring Overflow Warnings - 2022.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2023-01-13
Version
2022.2 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 clicking on the Model Configuration Parameters command () on the tool bar menu, 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.