Design and Implementation of L-DSP On-chip Debug Circuit
According to the debug requirements of L-DSP, an on-chip debug circuit based on JTAG interface is proposed in this paper, which implements the debug functions such as storage resource access, CPU pipeline control, hardware breakpoint/observation point, and parameter statistics. Compared with the traditional debug mode, the proposed debug circuit realizes the direct transmission of data between peripherals and memory by adding a DT-DMA module, which greatly improves the debug efficiency. The proposed circuit is designed in a 0.18 μm CMOS process with an area of 167 234.76 μm2 and a power consumption of 8.89 mW. And the proposed circuit and L-DSP are verified under the FPGA. The results show that the proposed circuit has complete debug functions and the rate of DT-DMA for transferring debug data is three times faster than that of the CPU.
Keywords: debugging, on-chip debug, JTAG interface, DT-DMA, DMA operation
CHANG Z H，XIAO T J，SHI S B. Design of on-chip-debugger and debug system based on JTAG [J] . Computer Engineering and Applications，2012，48 (30)：78—82. (In Chinese)
YU Z G，WEI J H. Design of on-chip SoC debug system based on JTAG interface [J] . Microelectronics and Computer，2009，26 (5)： 5—8. (In Chinese)
DMYTRO F，RATYBOR C，BOHDAN K. Architecture of a tool for automated testing the worst -case execution time of real -time embedded systems’firmware [C] //Proceedings of Experience of Designing and Application of CAD Systems in Microeletronics.
CHEN F F，ZHOU K N. On-chip debug structure design for electronic controllers [J] . Electronic Devices，2018，41 (3)：708—712.
HE Y，WANG T，WANG X A，et al. A low-cost zero-overhead in-circuit debug system design for SoC [J] . Microelectronics & Computer，2014，31 (3)：89—93. (In Chinese)
SHEN X H，LIU X S，ZHU Q M. BDM debug system based on S12 micro controller unit [J] . Computer Engineering，2010，36 (30)： 237—239 (In Chinese)
IEEE 1149.1—2001 IEEE standard test access port and boundary- scan architecture [S] . New York：The Institute of Electrical Engineers，2001：9—117.
IEEE -ISTO 5001TM—2003 The nexus 5001 forumTM standard for a global embedded processor debug interface[S] . Piscataway：IEEE- Industry Standards and Technology Organization (IEEE -ISTO)， 2003：7—107.
WANG Q，GAO Y K，HUA S L，et al. Design and implementation of reusable on-chip debug functions for microprocessors[J] . Journal of Computer -Aided Design & Computer Graphics，2012，24 (10)： 1369—1374. (In Chinese)
GAO Y K，WANG Q，LI Q Q，et al. A method of on-chip-debugger and performance analysis based on JTAG interface[J] . Microelectronics & Computer，2012，29 (7)：68—71. (In Chinese)
YANG C，ZHANG C. Design of high speed JTAG interface on-line debug system [J] . Microelectronics，2014，44 (2)：214—217. (In Chinese)
YANG L，YU Z G，WEI J H. Design technology of a SIP test debugging system based on JTAG interface [J] . Semiconductor Technology，2018，43 (4)：316—320. (In Chinese)
- There are currently no refbacks.