Main Content

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.

Custom Parameter

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

Introduced in R2020a