jc_0611: Input sign for multiplication and division blocks
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLAB Versions
All
Rule
Sub ID a
When using fixed-point values as the input to the multiplication and division Product block, the sign of the data type shall be the same for all input signals.
Not Applicable
Rationale
Sub ID a:
A utility function is created for each least significant bit (LSB) when fixed-point code is generated. Unification of data type signs can reduce the number of utility functions.
Verification
Model Advisor check: Check signs of input signals in product blocks (Simulink Check)
Last Changed
R2020a
See Also
JMAAB guideline jc_0611, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Version History
Introduced in R2020a