Chapter 3
Ada Language Reference
3-18
ni.com
Package Dependencies
The fixed-point AutoCode/Ada architecture forces a dependency among
the supplied and generated code for a model that uses any fixed-point types.
This dependency affects compilation order within an Ada Library.
Figure 3-1 illustrates the imposed dependency. In the figure, a package that
is beneath a package and connected to a package above it by an arrow is
said to be dependent on the package that is above.
Figure 3-1.
Package Dependency Graph
SA_TYPES
(Standard types package)
SA_FIXED
(Fixed-point types package)
SA_FIXED_GENERICS
SA_FIXED_GENERICS
Body
RT_FIXED_OPERATORS
(Generated instantiations)
Generated Ada code for
the Model
(Generic functions)