©
National Instruments Corporation
3-1
3
Ada Language Reference
This chapter discusses files used to interface AutoCode and the generated
Ada code to your specific platform and target processor. This chapter also
discusses target-specific utilities needed for simulation and testing.
Stand-Alone Simulation
The templates provided for Ada code generation produce code that, when
compiled, form a stand-alone simulation. This simulation can be executed
with MATRIXx data as input, and produces results that can be loaded back
into Xmath for analysis. You must compile the generated code along with
the stand-alone library to produce the simulation executable.
Chapter 2,
Using AutoCode
, of the
AutoCode User Guide
describes a
process to compile the code and stand-alone library, generate sample input
data, and load the data into Xmath for analysis.
Supported Ada Compilers for the Stand-Alone Library
Ada’83 is extremely portable. The generated code from either of the
standard templates is in complete conformance with Ada’83 and no
vendor-specific extensions are used. However, there can be variations in
the run-time environments supplied by Ada vendors that require different
implementations, especially related to floating-point and fixed-point
numerics. Three versions of Ada run-time environments that require
slightly different implementations of the stand-alone library. If your Ada
vendor is not specifically listed in Table 3-1, try one of the versions
identified for your platform type. If the code compiles, it will most likely
work. The names of the run-time environments correspond to the names of
directories within the AutoCode distribution.