TMS320C6678开发例程使用手册(9)

3.4FFT_Real_Benchmark——一维FFT性能测试

此程序的作用是评估DSP C66x数字信号函数库一维FFT计算性能,测试16~262144个实数点FFT性能。程序默认使用软件仿真测试(不计内存延迟),也可使用硬件禁用缓存及使能缓存测试。

3.4.1软件仿真(不计内存延迟)

新建软件仿真配置:

选择如下配置,点击save:

使用新建的仿真配置,进入debug界面。

按照工程导入步骤加载FFT_Real_Benchmark.out文件,然后点击程序运行按钮。

[TMS320C66x_0]

Test signal

-Include 2V DC Component

-Include 3V AC Component,Frequency:50Hz Phase:-30 Degree

-Include 1.5V AC Component,Frequency:75Hz Phase:90 Degree

-Formula:y=2+3cos(2pi*50t-(30/180)pi)+1.5cos(2pi*75t+*(90/180)pi)

--------------------------- Cache Disabled ---------------------------

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

1: 16 Point FFT Test

-Sampling Period:1s Sampling Frequency:16Hz Frequency Resolution:1Hz

-Forward Transformation Execution Cycle is 263

-Forward Transformation Execution Time is 0.2630000 us (CPU Frequency:1000MHz)

-Inverse Transformation Execution Cycle is 288

-Inverse Transformation Execution Time is 0.2880000 us (CPU Frequency:1000MHz)

16 Point FFT Test End

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