Main Content

Check generics

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

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

Check generics at top level subsystem.


This check verifies whether you have generics at the top-level subsystem. If your design uses mask parameters and has the MaskParameterAsGeneric setting enabled, then the top-level subsystem can have generics. This check corresponds to rule 1.A.D.9 of the industry-standard rules.

Results and Recommended Actions

To fix this warning, click Modify Settings and the code generator disables the MaskParameterAsGeneric setting so that there are no generics at the top-level subsystem.

See Also

Rule 1.A.D.9 of Basic Coding Practices.