DSP simulator 种类选择

没有板子时使用simulator(软仿真)来验证算法,是一种有效的方式。TI的CCS提供了三种软仿真方式CPU Cycle Accurate, Device Functional and Device Cycle Accurate.其各种意义如下所示。

a. If you need only to debug and optimize the program for code size and CPU cycles, then a CPU Cycle Accurate Simulator will give the best possible performance. These simulators model the instruction set of their respective targets. In addition, they model timers and can take external interrupts at the CPU core boundary. This allows BIOS code to run over CPU simulators. They can measure CPU cycles and other CPU core events. This is not the best simulator choice for an application that uses peripherals.是优化算法用的。

 

b. If you are debugging an application that uses EDMA, or optimizing an application for better code and data placement, a Device Functional Simulator is the best choice. These simulators allow the DMA, Interrupt Selector, Caches, and McBSP to be programmed and used. However, only the hit/miss statistics of the caches is supported. DMA does not simulate the true cycles of data transfer, but functionally copies the data from source to destination. However, the peripherals maintain a correct programmer view. This can be used for faster device simulation when total device cycles are not of much concern.当需要仿真中断、EDMA、cache等功能时选择。

 

c. If you want to use EDMA and Caches, and are interested in knowing the total device cycles and stall cycles consumed by the application, a Device Cycle Accurate Simulator should be selected. These simulators, besides supporting the programmatic view of all peripherals and caches, also model them in a cycle-accurate manner. However, these simulators are slow because of the vast details they model.更进一步,不仅功能上,而且对流水线的影响也仿真时选择

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值