General Description: The VHDL language is compile order dependent, so users who want to have packages utilized by entities must consider the following.
解决方案
If the package is going to be referenced by one entity, the package must be placed above the entity in the file.
If the package is going to be referenced by more than one entity, the package must be placed in a separate file and compiled before any of the entities utilizing the package.