# VHDL221: A file should not mix entity/package/configuration declarations ## Summary ```{raw} html

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
--LOWAdaptability | Focused10minsynthesis, vscode, simulation, linter
``` ## Description ```{raw} html

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. ```{raw} html ```