Main Content

Check signs of input signals in product blocks

Check ID: mathworks.jmaab.jc_0611

Guideline: jc_0611: Input sign for multiplication and division blocks

Description

Check the sign bit for the input signal data types in product blocks.

For product blocks, this check identifies if the same sign bit is used for input signals with fixed-point data types. Sign bits are either signed or unsigned.

This check requires a Simulink® Check™ license.

Check Parameterization

This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.

For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:

  • NA-MAAB — a

  • JMAAB — a

Results and Recommended Actions

ConditionRecommended Action
Input signal data types have different sign bits.Update the production block so the sign bit for the input signal data types match.

Capabilities and Limitations

  • Runs on library models.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to graphical.

  • Allows exclusions of blocks and charts.