Integration

Back

Since DSPLIB is a collection of individual kernels, any combination of the kernels that comprise DSPLIB may be integrated into a system individually. Integration, for single or multiple kernels, requires four simple steps:

  1. Compile DSPLIB for c66x (optional)
  2. Add API calls within system code
  3. Compile system code
  4. Link DSPLIB

The sections that follow provide details regarding the above four steps.

 

Compile DSPLIB for c66x (optional)

On installation, the DSPLIB libraries are built and ready to link. Therefore, this step is only required when the original kernel source code has been refined or contributions have been added. See DSPLIB Build Process for details regarding re-building DSPLIB .

 

Add DSPLIB API Calls

Add calls to DSPLIB kernels within the system source code as necessary. Any system source file that contains calls to an DSPLIB kernel will require that the DSPLIB header file dsplib.h is included. See the DSPLIB Function Reference for details on individual kernel APIs.

 

System Compilation

To re-compile the system code, the path to the packages directory will need to be added to the compiler's include path search list. This path will depend on the DSPLIB root installation directory. This allows the main DSPLIB header file to be moved from within the installation directory and still recognize the individual kernel headers.

 

Linking DSPLIB

The path to the DSPLIB libraries must be provided to the linker via:
-l <DSPLIB_INSTALL_DIR>/packages/ti/dsplib/lib/dsplib.lib

 

Copyright 2014, Texas Instruments Incorporated