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.

fast simple array addition

Other Parts Discussed in Thread: TMS320C6678

Hi All,

I am a beginner in DSP field, but my task is now to implement a fast addition program. I want to add the element s of an array with the size of 1000.
it would be good if i can add 1000 elements in 1000 clock cycle. I am going to use TMS320C6678, but only one core at the moment.

+ I am not sure here is the right to post this problem, please let me know the right place.

Thanks for your help,

  • First, I hope you have the MCSDK, which will contain the software and starter instructions you need to get going...

    http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html

    For something as simple as your task, you will probably just need to write the c code and have the compiler optimize it.  For more difficult functions, we have our DSPLib that contains optimized intrinsic functions that you can call directly from your c code.  After you install the MCSDK, you can look in the following file for a list of functions:

    C:\ti\dsplib_c66x_3_1_1_1\docs\DSPLIB_Users_Manual.chm

    So for example, you could use DSP_vecsumsq to sum the squares of elements in vector.

    Hope that helps,

    Travis