Design and Implementation of FPGA- MCS-51 nuclear - based VHDL language

Author
ZuoXiong
Advisor
CaoJian
School
Central South University
Major
Physical Electronics
Classification
TN791 Logic circuits
Degree
Master's thesis
Year
2007
Downloads
623
Citations
0

Request the full text

Abstract

Based embedded microprocessor research, this thesis has independently designed a microprocessor system which can run MCS-51 instructions. The design is described by VHDL and block diagram. All of the instructions has been test successfully on the platform of FPGA . The thesis carefully researches on the set of instructions and data-address access ,and completes the design and realization of fetching instruction unit, instruction decoder unit, memory unit and ALU unit by hardware description language. The thesis researches on the realization method of control unit and the design theory based on overall state machine. Through Principle Map and sample code demonstration, the thesis introduces the instruction decoder of ways. Based on this approach to the formation of decoding circuit also be able to achieve more complex CISC instructions.By means of sub-module design, the system migration is improved greatly by concentrating the same functional logic circuit to on one functional module. System also uses the design means of level block diagram and concentrates the primary and secondary circuit to different levels. This has made the system functional modules can be expanded greatly enhanced. Internal logic consists of data storage module, Program storage module, Timing Control module, Special function Registers module and Core Module. The thesis introduces each module for the design of the details. At the end of this paper, we introduced the result of logic simulation test to some typical instructions. Test results show that the MCU system can work normally. AS expected, the values of corresponding registers and bus meet design requirements, and this system achieves design goals.

Table of contents

Abstract 3-4 ABSTRACT 4-5 directory 5-8 The first chapter 8-12 1.1 Background and Significance 8 1.2 microcontroller development 8-9 1.3 research content and the means of achieving 9-10 1.3.1 This research 9 1.3.2 VHDL language features 9-10 1.3.3 using FPGA design verification tools 10 1.4 MCS-51 instruction Profile 10-11 1.5 Hierarchy of papers and a brief description 11-12 Chapter MCS-51 CORE overall design 12-18 2.1 MCS-51 CORE overall level diagram 12-13 2.2 Instruction Execution Timing 13-14 2.3 bus structure 14 2.4 resource definitions and nomenclature 14-17 2.4.1 Definition of the clock signal 14 2.4.2 reset signal is defined 14 2.4.3 to read and write various registers of the bus control enable 14-15 2.4.4 RAM address register data source enable 15 2.4.5 instruction decoder output control line name definition 15-16 2.4.6 various registers global name 16-17 2.4.7 Internal name of each register 17 2.5 Chapter Summary 17-18 Chapter MCS-51 CORE sub-module design 18-23 3.1 top module layout 18-19 3.2 SFRG module design 19-20 3.2.1 Module resource description 19 3.2.2 unified addressing register read and write sample code 19-20 3.3 RAM module design 20-21 3.4 ROM module design 21 3.5 TC module design 21-22 3.5.1 Module Function Description 21-22 3.5.2 state machine signal generation sample code 22 3.6 Summary 22-23 Chapter MCS-51 CORE's CORE module design 23-35 4.1 CORE module overall layout 23-24 4.2 RAM controller design 24-26 4.2.1 RAM Controller Module Functional Description 24-25 4.2.2 RAM register addresses forming circuit sample code 25-26 4.3 instruction decoder (INSTRUCTIONDECODER) design 26-29 4.3.1 instruction decoder schematic diagram 26-27 4.3.2 instruction execution micro-instructions 27 4.3.3 instruction decoder in a representative sample code 27-29 4.4 arithmetic logic unit (ALU) design 29-31 4.4.1 Arithmetic Logic Unit schematic design 29-30 4.4.2 arithmetic and logic unit sample code 30-31 4.5 bit operation to achieve 31-34 4.5.1-bit operating circuit schematic diagram 31-32 4.5.2-bit operating sample code 32-34 4.6 Chapter Summary 34-35 Chapter important registers CORE module design 35-42 5.1 PC register is designed 35-37 5.1.1 PC register block diagram 35-36 5.1.2 PC registers the sample code 36-37 5.2 STACK stack design 37-38 5.2.1 stack stack pointer registers Features 37-38 5.2.2 stack stack pointer register the sample code 38 5.3 instruction register design 38-39 5.3.1 Instruction Register Features 38-39 5.3.2 Instruction Register achieve the sample code 39 5.4 PCAA register design 39-40 5.4.1 pcaa registers Features 39-40 5.4.2 pcaa registers in the sample code 40 5.5 ROM address forming circuit design 40-41 5.5.1 ROM address forming circuit function 41 5.5.2 ROM address selection circuit sample code 41 5.6 This chapter summarizes 41-42 Chapter instruction testing and analysis 42-49 6.1 MCS-51 CORE design issues related 42 6.2 FPGA resource allocation 42-43 6.3 has implemented Directive 43 6.4 Typical instruction test 43-48 6.4.1 partial shift instruction test 43-45 6.4.2 Part jump instruction test 45-46 6.4.3 part of the logic operation instructions test 46-47 6.4.4 some bit manipulation instructions test 47-48 6.5 Chapter Summary 48-49 Chapter Summary and Outlook 49-51 7.1 paper summarizes 49-50 7.2 research prospects 50-51 References 51-54 Appendix 54-58 Thanks 58-59 pursue a degree during the main research 59

Related dissertations

  1. The research and design of CAN bus controller based on FPGA
    ZhaoCheng ·Yangzhou University ·2013 ·Master's thesis
  2. Chaotic Encryption System Research Based on FPGA
    CaiPengFei ·Tianjin University of Technology ·2013 ·Master's thesis
  3. Research and Implementation of CNC Hardware Interpolation System Based on FPGA
    YangJingWei ·Xi'an Technological University ·2013 ·Master's thesis
  4. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  5. The Foam Insulation Greenhouse Monitoring System Design
    ZhangZuo ·Northeast Forestry University ·2013 ·Master's thesis
  6. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  7. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  8. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  9. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  10. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  11. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  13. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  14. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  15. The Design of Digital Ultrasonic Nondestructive Testing System
  16. Design and Implementation of High Speed Data Recorder Based on FPGA
  17. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  18. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  19. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  20. The Design and Research of PCI Data Acquisition Card Based on FPGA