Accessing VHDL Packages - 2024.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2024-06-28
Version
2024.1 English

To access a VHDL package:

  1. Use a library clause to include the library in which the package is compiled. For example: library library_name;
  2. Designate the package, or a specific definition contained in the package, with a use clause. For example: use library_name.package_name.all.
  3. Insert these lines immediately before the entity or architecture in which you use the package definitions.

Because the work library is the default library, you can omit the library clause if the designated package has been compiled into this library.