Main Content

Check signal and port names

Check ID: com.mathworks.HDL.ModelChecker.runPortSignalNameChecks

Check ID: com.mathworks.HDL.ModelAdvisor.runPortSignalNameChecks

Check signal and port name lengths.

Available with Simulink® and HDL Coder™.

Description

This check verifies whether ports and signals from the blocks have names between 2 and 40 characters in length. This check corresponds to rule 1.A.C.3 of the industry-standard rules.

Results and Recommended Actions

To fix this warning, click Modify Settings and the code generator updates the signal and port names to be between 2 and 40 characters in length.

See Also

Rule 1.A.C.3 of Basic Coding Practices.