Stand-Alone Files; Compilation Example - National Instruments AutoCode NI MATRIX Reference

National instruments ni matrixx reference manual
Table of Contents

Advertisement

The provided implementations of the generic functions implement a behavior that
Caution
is numerically correct and matches the SystemBuild Simulator's results. Any change to the
generic functions can severely affect the numeric results of a model. Do not attempt to
change the implementation unless you are fully aware of the intricacies of fixed-point
numerics.

Stand-Alone Files

File Name
sa_fxptypes_.a
sa_fxpgenerics_.a
sa_fxpgenerics.a
sa_fxpbit_.a
sa_fxpbit.a

Compilation Example

© National Instruments Corporation
frequently overflowing, a different data type should be selected. If you are
concerned about performance and the use of an exception handler for
detecting overflow, the generic functions can be changed. These changes do
not affect the generated code in any way. Thus, you can freely modify the
generic function implementations without having to regenerate the model.
Support for the AutoCode/Ada Fixed-Point architecture is found within
files in the System-Specific Files
the fixed-point specific files. Notice that the
Ada compiler you use.
Table 3-7. Fixed-Point Stand-Alone Files
Package Name
SA_FIXED
SA_FIXED_GENERICS
SA_FIXED_GENERICS
SA_FIXED_BITWISE_FUNCTIONS
SA_FIXED_BITWISE_FUNCTIONS
This section illustrates the steps required to generate and compile a model
that includes fixed-point types. For the purpose of this example, assume a
top-level superblock name of
Chapter 3
directories. Table 3-7 contains all of
src
Contains all fixed-point type
declarations.
Specification of the generic
function.
Package body that implements the
generic functions.
Package specification containing
bitwise operations on radix 0
fixed-point types.
Package body of the bitwise
operations on fixed-point types.
.
gaintest
3-21
Ada Language Reference
extension depends on the
.a
Description
AutoCode Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AutoCode NI MATRIX and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Autocode ni matrixx

Table of Contents