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.

Poritng C55x DSPLIB functions to C674x

Other Parts Discussed in Thread: MATHLIB

We were using sine as well as rand functions in the C55x (DSPLIB) and want to port the same to C674x. Before we implement our own wanted to check if  there any equivalent assembly or C code for implementing the same on a C674x processor . The DSPLIB we are using is dsplib674x_elf.lib and it does not provide the two.

Regards.

-Vikas

  • Vikas,

    I recommend you to take a look at the MATHLIB software for C674x which provides optimized 32 bit single precision and double precision implementation of trigonometric functions. As far as random number generation is concerned, this function is provided in the standard RTS library  in the C6000 compiler which you can use and you also its usage in the test files provided in the Math library.

    Link to Mathlib for C674x:

    http://www.ti.com/tool/mathlib

    Hope this helps.

    Regards,

    Rahul