Main Content

Check generics

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

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

Check generics at top level subsystem.

Description

This check verifies whether you have generics at the top-level subsystem. If your design uses mask parameters and has theMaskParameterAsGenericsetting 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, clickModify Settingsand the code generator disables theMaskParameterAsGenericsetting so that there are no generics at the top-level subsystem.

See Also

Rule 1.A.D.9 ofBasic Coding Practices.