嵌入式开发者社区

标题: 关于fft计算时间 [打印本页]

作者: lly_lake    时间: 2014-7-28 10:55
标题: 关于fft计算时间
本帖最后由 lly_lake 于 2014-7-28 10:56 编辑

关于fft的计算问题
我现在做算法,需要64点的fft在1us以下,看TI官网上浮点的64点的fft在1us左右,但用咱们的开发板需要3us,不知什么原因。
转成定点fft,TI网上定点的fft需要0.3us,下载了汇编代码,但编译出错,下面贴出下载的汇编程序地址以及出错的信息。
fft.asm地址:
http://www.ti.com/lsds/ti/dsp/c6 ... enchmarks.page#ffts
出错信息:
**** Build of configuration Debug for project fixedffttest ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'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 ****
希望 熟悉fft计算的高人能帮助解决一下,这个问题困了很长时间了


作者: 希望缄默    时间: 2014-7-30 22:09
用 674x的汇编代码吧 兼容性会好一些如果用定点的话应该用 c64+ 的函数库
[attach]25[/attach]
[attach]26[/attach]
[attach]27[/attach]









欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4