摘要
为了对TI公司TMS320C54x系列芯片进行联合调试,缩短产品的设计周期,提出了一种基于VC++6.0平台的软件测试方法。该方法分析了该系列芯片指令体系的特点,利用C++面向对象编程的多态性,结合键盘中断模拟,实现了正确模拟指令运行结果、流水线结构、中断机制以及定时器机制。列举了多周期指令以及流水线冲洗等问题并给出了解决方法。实际测试结果表明,该方法可以快速得出芯片执行结果,并且易于集成调试。
To solve the joint debugging on TI' s TMS320C54x family of chips and reduce the product design lifecycle, a VC++ 6.0 platform based software testing method is proposed, which analyzes the Instruction set' s characteristics, uses the polymorphic behavior in C++ object-oriented programming, combines with the keyboard interrupt sirnulation. This method can simulate instruction execution, pipeline structure, interrupt handling and the timer interrupt. Detailed examples such as multi-cycle instructions and pipeline flush are presented and the solutions are given out. Results of the simulation indicated this method can quickly calculate the results of the implementation, easy-to-integrated debugging.
出处
《计算机工程与设计》
CSCD
北大核心
2009年第16期3720-3722,3734,共4页
Computer Engineering and Design
关键词
数字信号处理器
指令
软件测试
流水线
中断
多周期
DSP
instruction set
softwaretest
pipeline
interruption
multi-cycle instruction