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.

a question about fixed-poing fft

Other Parts Discussed in Thread: TMS320C6748

I use TMS320C6748 , fix-point fft how can to use?

I download fft.asm  at address http://www.ti.com/lsds/ti/dsp/c6000_dsp/c674x/benchmarks.page#ffts ,but compiling result have a error:

'Building file: ../fft.asm'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/ccsv5/c6700/dsplib/Include" --include_path="/packages/ti/xdais" --include_path="/include" --define=c6748 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="fft.pp"  "../fft.asm"
"../fft.asm", ERROR!   at line 533: [E0802] Multi-cycle NOP instructions are illegal in the execute packet preceding an execute packet containing an SPKERNEL instruction.
         SPKERNELR                             ;delay 0 cycles before reloading

1 Assembly Error, No Assembly Warnings

Errors in Source - Assembler Aborted

>> Compilation failure
gmake: *** [fft.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hi,

    Thanks for your post.

    In my opinion, it is advisable to write your program in C with max optimization and stay away from assembly. Especially, stay away from customizing and SPLOOP/SPKERNEL loop without a full understanding of their arguments.  In general, the compiler is the best place to start, then modify its code if you still need to optimize further. 

    A good source for information on optimization where you can look at the Code Generation Tools Category and look for topics on Optimization on the below wiki:

    http://processors.wiki.ti.com/index.php/Main_Page

    Take a look at the Software Pipelining module of the C6000 Optimization Workshop. The materials are available on the above TI wiki page.

    If you still decide you want more information on SPKERNEL arguments, we can request this thread to be moved to the C/C++ compiler forum.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------