Why is this an issue?

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

How to fix it

Code examples

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;