Main Content
Check package file names
Check ID:
com.mathworks.HDL.ModelChecker.runPackageNameChecks
Check ID:
com.mathworks.HDL.ModelAdvisor.runPackageNameChecks
Check file name containing packages.
Available with Simulink® and HDL Coder™.
Description
This check verifies whether the package file postfix is _pac
when you generate code with VHDL as the target language. By default, the generated
package file postfix is _pkg
. This check corresponds to rule
1.A.D.1 of the industry-standard rules.
Results and Recommended Actions
To fix this warning, click Modify Settings and the code
generator updates the package file name to _pac
.
See Also
Rule 1.A.D.1 of Basic Coding Practices.