快捷导航

信息推荐

更多+
开启左侧

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

[复制链接]
peng85246 发表于 2020-6-29 15:33:47 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
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
----------------------------------------------------------------------
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!


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

推荐阅读更多+
热门评论
广告位

信息推荐

更多+

最新信息

更多+

关注我们

凡亿公众号

教育课堂

全国服务热线:

156-1688-0848

PCB制板下单邮箱:pcb@fany-eda.com

Layout设计邮箱:layout@fanypcb.com

公司地址:深圳市宝安区西乡街道河东社区新城广场3层2211-C347

长沙分部:长沙麓谷高新区麓谷新长海中心B3栋3楼304-305

工厂地址:广东省深圳市宝安区沙井镇沙头裕民路6号

Copyright   ©2015-2016  PCB联盟网|中国PCB论坛|PCB电子技术论坛  Powered by©Discuz!  技术支持:凡亿教育    ( 粤ICP备14065604号 )|网站地图