超长指令字(Very Lone Instruction Word,VLIW)结构是数字信号处理器(DSP)设计中的一种常用结构.用户在开发应用程序的过程中常常会出现错误,查找并修复错误的调试过程要求芯片具有硬件调试功能.对此提出了一种适用于VLIW结构DSP的嵌入调试结构,通过为数不多的调试接口,能够观察芯片的内部信号,设置芯片的状态,控制程序执行过程,从而实现芯片的硬件调试.最后,在一款VLIW结构的DSP——THUASDSP2004上,实现了提出的嵌入调试结构.
VLIW is a commonly used architecture in the DSP designing. When developing application program for VLIW DSP,bugs are inevitable. It takes much time for software developer to debug and validate the program. In this paper,we present a hardware debug structure for the VLIW DSP processor,which allows the developer to debug the program on chip. Through the debug interface,we can easily trace the program,change the value of the registers,and control the execution. The debug structure is embedded while designing the DSP.