電子產(chǎn)業(yè)一站式賦能平臺

PCB聯(lián)盟網(wǎng)

搜索
查看: 1628|回復(fù): 0
收起左側(cè)

TMS320C6678開發(fā)例程使用手冊(9)

[復(fù)制鏈接]

678

主題

902

帖子

8293

積分

高級會員

Rank: 5Rank: 5

積分
8293
跳轉(zhuǎn)到指定樓層
樓主
發(fā)表于 2020-6-29 15:33:47 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
3.4FFT_Real_Benchmark——一維FFT性能測試
此程序的作用是評估DSP C66x數(shù)字信號函數(shù)庫一維FFT計(jì)算性能,測試16~262144個(gè)實(shí)數(shù)點(diǎn)FFT性能。程序默認(rèn)使用軟件仿真測試(不計(jì)內(nèi)存延遲),也可使用硬件禁用緩存及使能緩存測試。
3.4.1軟件仿真(不計(jì)內(nèi)存延遲)
新建軟件仿真配置:

選擇如下配置,點(diǎn)擊save:

使用新建的仿真配置,進(jìn)入debug界面。
按照工程導(dǎo)入步驟加載FFT_Real_Benchmark.out文件,然后點(diǎn)擊程序運(yùn)行按鈕。
[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
----------------------------------------------------------------------
2: 32 Point FFT Test
-Sampling Period:1s Sampling Frequency:32Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 295
-Forward Transformation Execution Time is 0.2950000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 297
-Inverse Transformation Execution Time is 0.2970000 us (CPU Frequency:1000MHz)
32 Point FFT Test End
----------------------------------------------------------------------
3: 64 Point FFT Test
-Sampling Period:1s Sampling Frequency:64Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 396
-Forward Transformation Execution Time is 0.3960000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 394
-Inverse Transformation Execution Time is 0.3940000 us (CPU Frequency:1000MHz)
64 Point FFT Test End
----------------------------------------------------------------------
4: 128 Point FFT Test
-Sampling Period:1s Sampling Frequency:128Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 581
-Forward Transformation Execution Time is 0.5810000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 576
-Inverse Transformation Execution Time is 0.5760000 us (CPU Frequency:1000MHz)
128 Point FFT Test End
----------------------------------------------------------------------
5: 256 Point FFT Test
-Sampling Period:1s Sampling Frequency:256Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 1138
-Forward Transformation Execution Time is 1.1380000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 1112
-Inverse Transformation Execution Time is 1.1120000 us (CPU Frequency:1000MHz)
256 Point FFT Test End
----------------------------------------------------------------------
6: 512 Point FFT Test
-Sampling Period:1s Sampling Frequency:512Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 2027
-Forward Transformation Execution Time is 2.0270000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 1974
-Inverse Transformation Execution Time is 1.9740000 us (CPU Frequency:1000MHz)
512 Point FFT Test End
----------------------------------------------------------------------
7: 1024 Point FFT Test
-Sampling Period:1s Sampling Frequency:1024Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 4520
-Forward Transformation Execution Time is 4.5200000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 4398
-Inverse Transformation Execution Time is 4.3980000 us (CPU Frequency:1000MHz)
1024 Point FFT Test End
----------------------------------------------------------------------
8: 2048 Point FFT Test
-Sampling Period:1s Sampling Frequency:2048Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 8753
-Forward Transformation Execution Time is 8.7530000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 8508
-Inverse Transformation Execution Time is 8.5080000 us (CPU Frequency:1000MHz)
2048 Point FFT Test End
----------------------------------------------------------------------
9: 4096 Point FFT Test
-Sampling Period:1s Sampling Frequency:4096Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 20046
-Forward Transformation Execution Time is 20.0460000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 19540
-Inverse Transformation Execution Time is 19.5400000 us (CPU Frequency:1000MHz)
4096 Point FFT Test End
----------------------------------------------------------------------
10: 8192 Point FFT Test
-Sampling Period:1s Sampling Frequency:8192Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 39767
-Forward Transformation Execution Time is 39.7670000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 38754
-Inverse Transformation Execution Time is 38.7540000 us (CPU Frequency:1000MHz)
8192 Point FFT Test End
----------------------------------------------------------------------
11: 16384 Point FFT Test
-Sampling Period:1s Sampling Frequency:16384Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 90484
-Forward Transformation Execution Time is 90.4840000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 88442
-Inverse Transformation Execution Time is 88.4420000 us (CPU Frequency:1000MHz)
16384 Point FFT Test End
----------------------------------------------------------------------
12: 32768 Point FFT Test
-Sampling Period:1s Sampling Frequency:32768Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 180605
-Forward Transformation Execution Time is 180.6050000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 176520
-Inverse Transformation Execution Time is 176.5200000 us (CPU Frequency:1000MHz)
32768 Point FFT Test End
----------------------------------------------------------------------
13: 65536 Point FFT Test
-Sampling Period:1s Sampling Frequency:65536Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 405914
-Forward Transformation Execution Time is 405.9140000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 397728
-Inverse Transformation Execution Time is 397.7280000 us (CPU Frequency:1000MHz)
65536 Point FFT Test End
----------------------------------------------------------------------
14: 131072 Point FFT Test
-Sampling Period:1s Sampling Frequency:131072Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 811427
-Forward Transformation Execution Time is 811.4270000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 795054
-Inverse Transformation Execution Time is 795.0540000 us (CPU Frequency:1000MHz)
131072 Point FFT Test End
----------------------------------------------------------------------
15: 262144 Point FFT Test
-Sampling Period:1s Sampling Frequency:262144Hz Frequency Resolution:1Hz
-Forward Transformation Execution Cycle is 1802688
-Forward Transformation Execution Time is 1802.6880000 us (CPU Frequency:1000MHz)
-Inverse Transformation Execution Cycle is 1769926
-Inverse Transformation Execution Time is 1769.9260000 us (CPU Frequency:1000MHz)
262144 Point FFT Test End
Test Finished!


嵌入式DSP、ARM、FPGA多核技術(shù)開發(fā),學(xué)習(xí)資料下載:http://site.tronlong.com/pfdownload

發(fā)表回復(fù)

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

關(guān)閉

站長推薦上一條 /1 下一條


聯(lián)系客服 關(guān)注微信 下載APP 返回頂部 返回列表