8 Packages and Use Clauses

Packages in VHDL provide an improtant way of organizing the data and subprograms declared in a model. In this chapter, we describe the basics of packages and how they may be used. We also look at several predefined and standard packages, which provide types and operators for use in VHDL models.

8.1 Package Declarations

A VHDL package is simply a way of grouping a collection of related declarations that serve a common purpose. They might be a set of subprograms that provide operations on a particular type of data, or they might just be the set of declarations needed to model a particular design. The important thing is that they can be collected together into a separate design unit that can be worked on independently ...

Get The Designer's Guide to VHDL, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.