This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

CCS/TMS320C6748: Mathlib and DSP lib

Intellectual 375 points

Replies: 3

Views: 141

Part Number: TMS320C6748

Tool/software: Code Composer Studio

Hello,

I am using TMS320C6748 and want to use DSPlib and mathlib coming from TI.

Now i am also making a verification chain based on matlab and was wondering if the TI have bit exact library which i can use on Matlab which can simulate the Mathlib and DSPlib functions i use on matlab.

Best Regards

Deepak Joshi

  • Deepak,

    The general answer is that we  don`t provide a host version or a simulink block of DSPLIB and MATHLIB libraries.  However, each of the DSPLIB and MATHLIB function has a standard C implementation that is included in the library which allows users to levege or cross compile the function across different platforms. 

    For DSPLIB, you can choose to include the C implementation in your X86 based code and rename the API to optimized DSP implementation to develop/prototype your application. MATHLIB is mostly collection of single and double precision RTS library functions which have been optimized for DSP architecture with minimal loss of precision. You don`t have to use MATHLIB blocks in your MATLAB implementation and choose to use the general RTS implementation of trigonometric, logarithmic and arithmetic functions.

    Regards,

    Rahul

    --------------------------------------------------------------------------------------------------------------------------------------
    Please click the
    This resolved my issue button on this post if the responses on this E2E thread answers your question.
    --------------------------------------------------------------------------------------------------------------------------------------

     

  • In reply to Rahul Prabhu:

    Thanks Rahul,

    What about the dsplib? Do you have any recommendation for this also?

  • In reply to Deepak Joshi:

    Deepak,

    The use of C implementation is what we recommend for DSPLIB. MATHLIB are just collection of optimized functions that exist in compiler math libraries so you can use the standard C RTS functions when prototyping the algorithm in MATLAB.

    Functionally the C implementation will be same as the optimized version but the performance of the DSP optimized APIs will give you higher performance on the C6000 DSP architecture.

    Regards,

    Rahul

    --------------------------------------------------------------------------------------------------------------------------------------
    Please click the
    This resolved my issue button on this post if the responses on this E2E thread answers your question.
    --------------------------------------------------------------------------------------------------------------------------------------

     

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.