VHDL218: A file should not define more than one entity

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
--LOWAdaptability | Focused10minsynthesis, vscode, simulation, linter, cnes, cnes-std-01000

Description

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.