Check package file names
Check ID:
com.mathworks.HDL.ModelChecker.runPackageNameChecks
Check ID:
com.mathworks.HDL.ModelAdvisor.runPackageNameChecks
Check file name containing packages.
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.
Available with Simulink®, HDL Coder™, Fixed-Point Designer™, and MATLAB® Coder™.
Results and Recommended Actions
To fix this warning, click Modify Settings and the code
generator updates the package file name to _pac.
Capabilities and Limitations
Runs on library models.
Analyzes content in all masked subsystems.
Analyzes only the functions that the Simulink model directly references.
See Also
Rule 1.A.D.1 of Basic Coding Practices.