VHDL219: A file should not define more than one package
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| - | - | LOW | Adaptability | Focused | 10min | synthesis, vscode, simulation, linter |
Description
To simplify reviews and changes, a file should not define more than one package.
Noncompliant code example
my_packages.vhd package my_package_1 is end; package my_package_2 is end;
Compliant solution
my_package_1.vhd package my_package_1 is end; my_package_2.vhd package my_package_2 is end;
Parameters
No parameters.