VHDL019: Each file should define only one single architecture

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
--LOWAdaptability | Modular10minsynthesis, vscode, linter, simulation, cnes, cnes-std-01100

Description

Noncompliant code example

File1.vhd:
architecture a1 of e1 is
begin
end;

architecture a2 of e2 is
begin
end;

Compliant solution

File1.vhd:
architecture a1 of e1 is
begin
end;

File2.vhd:
architecture a2 of e2 is
begin
end;

To simplify large project management, review and evolutions, there should not be more that one architecture declaration per file.

Parameters

No parameters.