Design and Validation of 8-bit Enhanced CPU Based on FPGA
- Author
- LvXiao
- Advisor
- ZhongChongQuan
- School
- Dalian University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 574
- Citations
- 2
Abstract
With the development of information technology and system -on-chip SoC ( System on a Chip ) become the mainstream of the development of the integrated circuit . SoC technology with its low cost , low power consumption , high integration advantages are widely used in embedded systems . 8 Enhanced CPU core and its implementation on FPGA (Field Programmable Gate Array) , made ??a preliminary study of SoC design . Assembly instruction set of Intel MCS-8051 -depth analysis on the basis of , according to the top-down , modular , high-level design process , the 8 -bit CPU definition and division of the top-level function and structure , and gradually refinement of the various levels of the module design , CPU and timer , interrupt , the serial external interface model . Addressing ways to complete the design and planning of the 8 -bit CPU data path . Finite state machine and the microprogram thought complete control of all levels of the pathway module design and planning . The idea of ??combining the use of a combination of circuit and timing circuit to complete the timer interrupt , as well as the planning of the serial interface . Using edge-triggered so that a machine cycle corresponding to one clock cycle, the execution efficiency . Each module design using hardware description languages ??. With EDA tools ISE Integrated Development Environment to complete each module programming , debugging , and FPGA- oriented layout ; completion of a comprehensive synthesis tool , Synplify pro ; Modelsim SE simulation tools to their full functional simulation and timing simulation . Design of the extension of a common interface controller extension of the original 8-bit processor , adding a high-speed DI, DO , and SPI interface , enhanced 8-bit processor functionality , and can be used in existing single-chip upgrade and expansion . The design of the CPU is fully compatible with the MCS-51 assembly instruction set of 111 instructions are better than traditional MCS-51 core clock frequency and instruction execution efficiency indicators . The design code in the form of a hardware description language exists developed solid -core and hard -core users need can be combined with any integrated library technology library and FPGA , readable , and easy to extend use , easy to upgrade , have more practical value . The design FPGA verification .
Table of contents
Summary 4-5
Abstract 5-9
1 Introduction 9-16
1.1 Background 9
1.2 micro- processor development and research status 9-11
1.2.1 microprocessor development and current status to 9-10
1.2.2 the MCU's, characteristics -11
1.3 topics and technical background 11-14
1.3.1 Research Methods 11
1.3.2 Technical Background 11 - 14
1.4 subject meaning and content 14-15
the 1.5 main contents 15-16
2 CPU's overall structure and design ideas 16 - 21
2.1 the CPU the overall structure 16-18
2.1.1 the CPU kernels composition 16-17
2.1.2 Extended Interface Controller structure 17-18
2.2 design thinking 18-21
3 CPU core design the 21-30
3.1 CPU core The overall functionality 21 <br / > 3.2 ALU module design 21-25
3.2.1 addition and subtraction module design 22-23
3.2.2 divider module 23-24
3.2.3 multiplier module the decimal adjustment module 24
3.2.4 24-25
the 3.2.5 logic operations block 25
3.2 .6 logic control block 25
3.3 controller design 25-29
3.3.1 controller 25-26
3.3.2 micro program design; nbsp 26-27
3.3.3 the limited-shaped machine module FSM 27-28
3.3.4 memory management module 28-29 <br / > 3.4 memory design 29-30
the CPU interface design 30-38
4.1 Interface Overview 30
4.2 timer / counter interface design 30-32
4.2.1 operating mode 30-31
4.2.2 Principle 31-32
4.3 serial interface 32-33
4.3.1 operating mode 32
4.3.2 principle 32-33
4.4 the interrupt interface design 33-38 < br /> 4.4.1 Overview to Principle 33
4.4.2 33-38
5 addressing modes and instruction set 38-47
5.1 addressing modes 38-42
5.1.1 registers addressable nbsp a; 38-39
5.1.2 Direct addressing nbsp the; 39-40
5.1 .3 register indirect addressing 40-41
5.1.4 immediately addressing 41
5.1.5 base register plus index register indirect addressing 41 -42
5.2 instruction set 42-47
5.2.1 Classification and general description 42
5.2.2 data transfer instruction 42-43
5.2.3 Arithmetic Operations the 43-44
5.2.4 Logical Operations Directive 44-45
the 5.2.5 control program transfer class instruction 45-46
5.2.6 the the Boolean variable operating class instruction 46-47
expansion interface controller design 47-57
6.1 Extended Interface Controller controller 47-49
6.1.1 Principle 47
6.1.2 Extended Interface Controller directive defines 47-48
6.1. the 3 expansion interface controller realization process 48-49
6.2 the DI interface design the 49-51
6.2.1 Frequency Measurement methods discuss 49-50
6.2.2 achieve 50-51
6.3 the DI interface design the 51-52
6.3.1 PWM introduced 51
6.3.2 PWM to achieve 51-52
6.4 the SPI bus interface design 52-57
6.4.1 the registers definition of 52-54
6.4.2 work mode 54-55
6.4.3 principle 55-57
synthesis and verification 57-66
7.1 Overview 57 < br /> 7.2 integrated process and results 57-58
7.3 validation process 58-59
7.4 software integrated simulation 59-61
7.4. a simulation target 59
7.4.2 Verilog HDL textbench 59-60
7.4.3 Simulation waveforms and analysis 60-61
7.5 the hardware validation the 61-66
7.5.1 hardware platform the 61-62
7.5.2 CPU core authentication scheme 62-65
7.5.3 Extended Interface Controller authentication scheme 65-66
conclusion 66-67
Reference 67-70
Appendix A Extended Interface Controller control commands defined 70-72
Appendix B expansion interface controller part of the test program 72-74
master's degree during the academic situation 74-75 <br / > Acknowledgements 75-76
Related dissertations
- Research of the Intelligent ATSE Controller Based on FPGA
- Research and Implementation of Model Machine Based on Combinational Logic Controller
- Scientific calculator LSI chip design
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research