| Embedded IDE Link™ TS | ![]() |
| On this page… |
|---|
C Language Extensions / Intrinsics Target Optimized Libraries for Infineon® XC166 and Infineon® TriCore® Target Optimized FIR / FFT Blocks for the Infineon® TriCore® |
| Support | C89/C90 ANSI Target Function Library | Infineon TriCore ISO Target Function Library | Infineon TriCore Target Function Library (ERT Only) |
|---|---|---|---|
| ANSI Support | Yes | Yes | Yes |
| ISO Support | Yes | Yes | |
| Saturated Arithmetic Support | Yes |
ISO/IEC 9899:1999 Math Library. The target function library Infineon TriCore ISOuses the TASKING® ISO/IEC 9899:1999 Math Library to implement floating-point mathematical function blocks (e.g. trigonometric functions, log functions). Using these target optimizations improves the performance of applications performing floating-point mathematical operations.
When using these target optimizations, the regular Real-Time Workshop® implementation for many ANSI floating-point mathematical operations is replaced by the ISO equivalent. These functions behave identically to the regular Real-Time Workshop implementation and can be verified using processor-in-the-loop cosimulation.
You can use the Infineon TriCore ISO target function library with ERT or GRT system target files.
To enable the math library for the optimization of floating-point mathematical operations, select Infineon TriCore ISO for the Real-Time Workshop option Target function library (on the Interface pane of the Configuration Parameters dialog box).
Saturated Arithmetic. The target function library Infineon TriCore includes all ISO optimizations and also saturated arithmetic optimizations. The target function library Infineon TriCore is only available for ERT system target files.
You can use TASKING compiler extensions and intrinsic functions for saturated arithmetic. These target optimizations can increase execution speed up to 18 times for saturated arithmetic operations. The use of these target optimizations will improve the performance of most applications performing saturated arithmetic operations. It is therefore recommended to enable the optimizations.
When using these target optimizations, the regular Real-Time Workshop implementation for many saturated arithmetic operations are replaced by calls to target optimized inlined functions. The behavior of these functions is identical to the regular Real-Time Workshop implementation and can be verified using processor-in-the-loop cosimulation (see Processor-in-the-Loop (PIL) Cosimulation).
To enable TASKING compiler extensions and intrinsic functions for the optimization of saturated arithmetic, select Infineon TriCore for the Real-Time Workshop option Target function library (on the Interface pane of the Configuration Parameters dialog box).
Depending on your toolset, your the TASKING compiler may support C language extensions or intrinsics to help optimize in some of the following areas:
Data Types (eg. Fractional Arithmetic, Bit Addressable Memory)
Memory Qualifiers (eg. Near, far address space)
Data Type Qualifiers (eg. Circular Buffers, Saturated arithmetic)
Please see your TASKING documentation for details. You can use these language extensions in your own Simulink® blocks and / or custom code.
The following optimized libraries are available for the processors supported by Embedded IDE Link™ TS software, and can be used to create optimized Simulink blocks:
Infineon® XC166 DSP Library for TASKING compiler
This library is described by Infineon as follows:
XC166 DSP library is a DSP function library, is C-callable, hand-coded assembly, general purpose signal processing routines:
Arithmetic Functions
Filters (FIR–, IIR–, Adaptive Filters)
Transforms (FFT, IFFT)
Matrix Operations
Mathematical Operations
Statistical Functions
See the Infineon C166 Software Downloads Web page to get the XC166 DSP Library. Navigate there from this URL:
http://www.infineon.com/c166
Click the link on the right: "Development Tools, Software and Training", then click "Software Downloads".
Infineon TriCore DSP Library (TriLib)
This library is described by Infineon as follows:
TriLib is a DSP Library for TriCore®, containing more than 60 commonly used DSP routines for
Complex & Vector Arithmetic
FIR, IIR, Adaptive Filters
Fast Fourier, Discrete Cosine Transform
Mathematical, Matrix, Statistical functions
See the Infineon TriCore Software Downloads page to get the TriLib DSP Library. Navigate there from this URL:
http://www.infineon.com/tricore
Click the link on the right: "Development Tools, Software and Training", then click "Software Downloads".
Example FIR / FFT blocks that call target optimized Infineon TriLib routines are available on MATLAB Central. These blocks can be over a hundred times faster than the regular blocks in the Signal Processing Blockset™ product.
Search MATLAB Central for details.
![]() | Execution and Stack Profiling | Model Advisor | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |