Why is this an issue?

An entity and its related architectures should be defined in separate files. It would allow compilation of a specific architecture without forcing to recompile its entity and all the files using this entity.

How to fix it

Code examples

Noncompliant code example

File 1:
entity e is
end;

architecture a of e is
begin
end;

Compliant solution

File 1 defining the entity:
entity e is
end;
File 2 defining the architecture:
architecture a of e is
begin
end;

Resources

Related rules