User`s guide

Table Of Contents
2 Using the IQmath Library
2-2
About the IQmath Library
The blocks in the C28x IQmath Library correspond to functions in the Texas
Instruments C28x IQmath Library assembly-code library, which target the TI
C2800 family of digital signal processors. You can use these blocks to run
simulations by building models in Simulink before generating code. Once you
develop your model, you can invoke Real-Time Workshop to generate
equivalent code that is optimized to run on a C2000 DSP. During code
generation, each IQmath Library block in your model is mapped to its
corresponding TI IQmath Library assembly-code routine to create
target-optimized code.
The IQmath Library blocks generally input and output fixed-point data types.
The block reference pages discuss the data types accepted and produced by
each block in the library. “Fixed-Point Numbers” on page 2-3 gives a brief
overview of using fixed-point data types in Simulink. For a thorough discussion
of this topic, including issues with scaling and precision when performing
fixed-point operations, refer to your Fixed-Point Blockset documentation.
You can use IQmath Library blocks with certain core Simulink blocks, as well
as with certain blocks from the Fixed-Point Blockset. To learn more about
creating models that include both IQmath Library blocks and blocks from other
blocksets, refer to “Building Models” on page 2-7.
Common Characteristics
The following characteristics are common to all IQmath Library blocks:
Sample times are inherited from driving blocks.
Blocks are single rate.
Parameters are not tunable.
All blocks support discrete sample times.
To learn more about characteristics particular to each block in the library, refer
to the “Block Reference” pages.