# VHDL218: A file should not define more than one entity ## Summary ```{raw} html

Count: 1

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

To simplify reviews and changes, a file should not define more than one entity.

Noncompliant code example

my_entities.vhd

entity my_entity_1 is
end;

entity my_entity_2 is
end;

Compliant solution

my_entity_1.vhd

entity my_entity_1 is
end;

my_entity_2.vhd

entity my_entity_2 is
end;
``` ## Parameters No parameters. ```{raw} html ```