Design of In-Circuit Emulator for the 65C02 MCU

Author
ZhuWuXing
Advisor
GuoDongHui
School
Xiamen University
Major
Condensed Matter Physics
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2008
Downloads
35
Citations
1

Request the full text

Abstract

In-Circuit Emulator is one of the most important component parts of Microcomputer Development Systems. It is an effective tool to develop the microcontroller systems. Therefore the research and design of the 65C02 In-Circuit Emulator have a very important significance that it can supply a developed tool in the design of the 65C02 microcontroller with independent intellectual property right.The capability of the In-Circuit Emulator is mostly determinded by its hardware. So the purpose of this paper is to design the hardware of the 65C02 In-Circuit Emulator, especially the control logic. Based on the basic operation principle of In-Circuit Emulator and the 6502MCU In-Circuit Emulator, this paper proposes the whole hardware structure of the 65C02 In-Circuit Emulator with the characteristic of 65C02. At the same time , this paper analyses the design of emulational functions,such as breakpoint, download, run, single-step, trace, registers and halt, and so on. Then we give a detailed introduction of the code design of the control logic applying RTL methodology and prove the validity and feasibility of the whole hardware structure of the 65C02 In-Circuit Emulator based on FPGA by function simulation, synthesis and test on Virtex- II Pro Development Platform.The innovations in this paper are as follows: 1. Designed the Verilog HDL source code and test Bench source code of the control logic applying RTL methodology with independent intellectual property right; 2. Designed the FSM adopting Moore type, one-hot coding and three always description, implemented the administration of all course of the ICE; 3. Implemented the breakpoint function adopting simulating injunction of software breakpoint, can set breakpoint to the program in ROM and EPROM; 4. Designed a new type of test by the Xilinx Virtex-ⅡPro Development Platform, ChipScope,and EDK, and implemented the board test of the control logic.

Table of contents

Abstract 4-5 ABSTRACT 5-10 first chapter 10-16 1.1 Introduction overview of the development of the 1.2-circuit emulator 10-12 1.3 key technology 12-15 1.4 of this thesis research 15-16 the basic principles of Chapter II-circuit emulator 16-24 2.1 basic principle 16-17 2.2 Simulation Technology 17-20 2.3 Basic structure 20-22 2.4 basic functions 22-23 2.5 This chapter Summary 23-24 Chapter 65C02 microprocessor chip 24-29 3.1 65C02 microprocessor chip 24-26 3.2 Timing 26-27 3.3 instruction set 27-28 3.4 This chapter Summary 28-29 Chapter 65C02 MCU Circuit Emulator overall design 29-39 4.1 hardware structure of the overall design 29-33 4.2 functionality to achieve 33-37 4.3 works 37-38 4.4 This chapter Summary 38-39 Chapter RTL-level design of the control logic 39-54 5.1 RTL-level design 39-40 5.2 code design 40-48 5.2.1 control state machine 40-44 5.2.2 breakpoint achieve 44-47 5.2.3 8051 control interface module 47-48 5.2.4 Tracking RAM read and write control module 48 5.3 functional simulation 48-53 the 5.3.1 8051 read and write procedures RAM, and tracked RAM 49-50 5.3.2 continuous operation 50-51 5.3.3 to insert breakpoints 51-52 5.3.4 to restore breakpoints 52 5.3.5 Single-step run 52-53 5.4 This chapter Summary 53-54 the sixth chapter of the control logic of the FPGA cash 54-68 6.1 logic integrated 54-56 6.2 actual test 56-67 6.2.1 testing principle 56-59 6.2.2 test steps 59-63 6.2.3 Test Results 63-67 6.3 This chapter Summary 67-68 Chapter VII Summary and Outlook 68-69 the References 69-71 Appendix 71-84 Acknowledgements 84-85 papers published during Master 85

Related dissertations

  1. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  2. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  3. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  4. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  5. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  6. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  7. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  9. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  10. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  11. The Design of Digital Ultrasonic Nondestructive Testing System
  12. Design and Implementation of High Speed Data Recorder Based on FPGA
  13. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  15. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  16. The Design and Research of PCI Data Acquisition Card Based on FPGA
  17. Usb Without Invasive Data Collection Technology Research
  18. Research on On-line Diameter Measurement System Based on FPGA
  19. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Realize of a Type of Automatic Target-scoring System