VHDL219: A file should not define more than one package

Summary

Count: 1

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

Description

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

Noncompliant code example

my_packages.vhd
package my_package_1 is
end;

package my_package_2 is
end;

Compliant solution

my_package_1.vhd
package my_package_1 is
end;

my_package_2.vhd
package my_package_2 is
end;

Parameters

No parameters.