Design and Implementation of Debug/Test Module Based on JTAG for X-DSP

Author
ZhangYingJie
Advisor
ChenJiHua
School
National University of Defense Science and Technology
Major
Software Engineering
Classification
TN407 Testing and inspection
Degree
Master's thesis
Year
2009
Downloads
96
Citations
0

Request the full text

Abstract

X-DSP processor,a high-performance 32-bit fixed-point DSP chip,which is independently researched and developed by the Computer College of the National University of Defense Technology. In order to meet the application demands of on-chip debug during the application development stage,as well as the test requirements for the board-level interconnection, this dissertation conducts an in-depth study on X-DSP architecture, a number of SOC On-chip Debug technologys and several Design-For-Test methods.On this basis,a design scheme is proposed which is based on JTAG standard for the On-chip debug and test structure of the X-DSP,and achieved the hardware design,simulation and the design of the debugging driver for IDE.Boundary-scan structure for X-DSP is first designed and implemented in this paper.From the standpoint of improving the stability and flexibility of the design, theory-Based analysis of the Boundary-scan,this topic designed the Boundary-scan control logic and adopted self-designed Boundary-Scan cells to achieve the construction of the Boundary-scan chain.In addition,in order to accomplish the deep intergration of On-chip debug logic and test logic,this article has adopted many solutions,such as expanding the JTAG instruction sets、adding some extra control-scan chains and so on.Secondly,this paper proposes the scheme of X-DSP On-chip debug system based on the above design,has finished the RTL-code design and the verification.By merging the boundary-scan structure and the debug logic,this thesis accomplished the design of the On-chip debug system.Through the control of the pipeline, implemented the basic debugging characteristics,such as external simulation stops, single step,breakpoint operation,etc;Through the JTAG interface to access the On-chip storage space, implemented the storage access control mechanism based on the principle of handshake.Boundary-scan structure supplies the debug logic with control channels and data channels,this avoids the increase in the number of the chip pins and greatly enhances the utilization of hardware resource.After the completion of the hardware design,in order to achieve the synergetic control between hardware and software during debugging process,the debugging driver is accomplished with Win32 API under Visual C++ 6.0 IDE.The System-level verification had benn conducted on the design..The result of the simulation shows that the present system has reasonable structures,complete functions and stable performance,and provides a powerful support for the development of application program and the test of board-level interconnection.

Table of contents

Abstract 9-10 ABSTRACT 10-11 first chapter 11-19 the research 1.1 Background 1.2 test theoretical overview 11-13 1.2.1 The concept of design for testability 11-12 1.2.2 can design for testability 12-13 1.3 Debugging Technology Overview 13-14 1.4 on-chip debugging method analysis 14-17 1.4.1 background debug mode (BDM) 14-16 1.4.2 JTAG standard debugging 16-17 1.5 subject research results 17-18 1.6 of this article organizational structure 18-19 X-DSP architecture overview 19-24 The overall structure of the 2.1 X-DSP 19-20 2.2 X-DSP processor instruction pipeline 20-21 2.3 X-DSP chip storage resources 21-22 2.4 X-DSP processor debugging / testing structure outlined 22-23 The overall structure of 2.4.1 Overview 22 2.4.2 debugging support for debugging / testing components 22-23 2.4.3 debugging / testing components for test support 23 2.5 This chapter Summary 23-24 Chapter X-DSP debug / test structure design of the hardware implementation 24-43 3.1 X-DSP boundary scan design and implementation 24-30 3.1.1 TAP controller design 25-26 3.1.2 Instruction Register (IR) design 26-27 3.1.3 Boundary Scan cell design and optimization 27-30 3.2 x --DSP debug control logic design 30-34 the 3.2.1 debug control logic main components 30-31 3.2.2 emulator debug control register design 31 3.2.3 pipeline debugging control unit design 31-34 3.3 cross asynchronous clock domains signal transmission to achieve 34-42 3.3.1 asynchronous signal interaction analysis 34-36 3.3.2 asynchronous signal transmission synchronization strategy 36-39 3.3.3 memory access control unit designed to achieve 39-42 3.4 This chapter Summary 42-43 Chapter X-DSP debugging / testing structural hardware design verification 43-53 4.1 authentication methods and strategies 43-45 4.1.1 authentication method 43-44 4.1.2 validation strategy 44-45 4.2 X-DSP emulation test components functional test code development 45-47 the principles developed 4.2.1 functional test code 45 4.2.2 system-level verification function test code development 45-47 The simulation results of the 4.3 system debugging features 47-50 4.3.1 Boundary Scan Architecture simulation 47-48 4.3.2-chip debug simulation structure 48-50 4.4 code coverage analysis and design consideration for evaluation 50-52 4.4.1 test code coverage analysis 50-51 4.4.2 design consideration for the analysis and evaluation of 51-52 4.5 of this chapter Summary 52-53 Chapter X-DSP debugging / testing software design structure 53-62 5.1 Integrated Development Environment Overview 53-54 5.2 debug drivers to achieve ideological 54-56 5.2.1 commonly used serial communication API functions introduced 54-56 5.2.2 debug drivers achieve basic principle 56 5.3 debug driver design to achieve 56-61 5.3.1 debug driver design division 56-57 5.3.2 Some of the key functions of the design and implementation 57-61 5.4 Chapter Summary 61-62 Chapter VI Conclusion 62-64 6.1 This work summarizes 62 6.2 Job Outlook 62-64 Acknowledgements 64-65 the References 65-67 the author achieved academic achievements during the study period 67

Related dissertations

  1. Research and Implementation of Design-For-Test and On-Chip-Debug of Embedded Processor
  2. Design and Realization of DFT and On-Chip Debug Structure for X-DSP
  3. Research of Testing Algorithm and BIST Based on Boundary Scan Technology
  4. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  5. Study on Fault Diagnosis and Design for Testability of Analog and Digital Mixed System Based on Boundary Scan
  6. The Design of Disk Array Storage System Based on FPGA
    HuZuo ·Harbin Engineering University ·2013 ·Master's thesis
  7. Research on On-line Detecting Methods of Faults Reside in Digital Circuits
    WangJiYe ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Effection of PI3K/AKT on Aβ42Deposition in Hippocampus of Diet-induced IR Rats
    YangSiSi ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  9. Design of Real-Time Monitoring System for the Automatic Welding Manipulator Circuit Fault
    CaoCheng ·Wuhan University of Technology ·2013 ·Master's thesis
  10. Research on Online Testing System Based on Boundary Scan
    ZhangJun ·Hunan University ·2012 ·Master's thesis
  11. Bridge of IDE on FPGA
    WangZuoCang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  12. Research on the Design of Test Structure for Three Dimensional SoC and its Optimization
    WangShuai ·Harbin Institute of Technology ·2013 ·Master's thesis
  13. Effects and Mechanism of Vitamin a Deficiency Increases the Risk of Alzheimers’ Disease
    ChenLi ·Chongqing Medical University ·2009 ·Doctoral dissertation
  14. Study on the Effect and Molecular Mechanism of Butyrolactone Derivative on the Alzheimer Disease Cell Model
    YangShaoZuo ·Shandong University ·2012 ·Doctoral dissertation
  15. Research of Polymorphism in KCNQ1Gene and IDE Gene on Type2Diabetes in Chinese Han Individuals
    WangJuan ·Tianjin Medical University ·2012 ·Master's thesis
  16. Research of Multiplatform IDE for Locomotive Information Display Unit
    TanHaiPeng ·Southwest Jiaotong University ·2013 ·Master's thesis
  17. Molecular mechanism of glucose tolerance Kang treatment of obesity and type 2 diabetes
  18. The Research on Low Power Built-in Self-test Design
    LiRui ·Southeast University ·2005 ·Doctoral dissertation
  19. Research and System Realization on the Prevention System of Trojan Virus
    HuangShu ·Suzhou University ·2007 ·Master's thesis
  20. Balance Research on Passenger Bus Assembly Line Based on Flexsim System Simulation
    ZhouMingHua ·West China University ·2008 ·Master's thesis