VHDL221: A file should not mix entity/package/configuration declarations
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| - | - | LOW | Adaptability | Focused | 10min | synthesis, vscode, simulation, linter |
Description
Noncompliant code example
my_file.vhd entity my_entity is end; package my_package is end;
Compliant solution
my_entity.vhd entity my_entity is end; my_package.vhd package my_package is end;
To simplify reviews and changes, a file should not mix entity/package/configuration declarations.
Parameters
No parameters.