FPGA-based Design and Implement of 16-bit Microprocessor for Teaching

Author
YuYang
Advisor
XiaoTieJun
School
Jiangsu University
Major
Computer System Architecture
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2009
Downloads
53
Citations
0

Request the full text

Abstract

Principles of Computer Organization and Computer System Architecture teaching experiment, the microprocessor is an essential tool to carry out the experiment, which provides the students experiment hardware and software platform. In recent years, with the development of computer and microelectronics technology, microprocessor design and implementation has been a hot research at home and abroad. Foreign universities, computer and electronic related courses have microprocessor design as an important experimental flexibility and creative space reserved for students. Domestic traditional computer composition principle experiment in microprocessor architecture and so relatively fixed, and the students functional verification, the lack of independent design and innovation process. To change the status quo of domestic microprocessor experimental teaching, the need to improve the the existing microprocessor teaching methods, designing a flexibility reliability and scalability of both the microprocessor experiments, and give full play to the experimental effect. In view of this, the paper carried out the experimental study of microprocessor design. The microprocessor using Verilog hardware description language to design the microprocessor implemented in a the Xilinx SpartanII series XC2S150 FPGA, and verify all command functions in the experimental device. The papers section first describes the developments at home and abroad, microprocessor significance of the experimental design of the microprocessor development environment with the development of language. For microprocessor design in terms of the type of instruction system design and operation of the microprocessor can be achieved, is the primary consideration of the design of microprocessors, the article then describes the construction of the instruction set, to achieve the directive function, and a variety of addressing way of the realization of the microprocessor for arithmetic and logical operations, shift the transfer, the stack onto the stack, subroutine call them out auto-increment decrement operation; register addressing, register indirect addressing, indexed searching The address relative addressing, immediate addressing, direct addressing, indirect addressing common addressing modes to achieve specifically addressed. After the data path of the microprocessor controller operation is part of the implementation process, this part is also the part of the article highlights, operator and controller design, should consider the speed and resources. The article describes the design to improve the speed and reduce the occupied resource considerations in the design process of the operator; the controller part related to the internal structure and the method to control memory allocation design, various instructions how to microprogram. Finally, through the two applications, the work of the microprocessor. The microprocessor has good versatility and flexibility, download the different parts of the microprocessor, depending on the experimental requirements for parts or the whole experiment. Experimenter less demanding for difficulty, the instruction set, instruction formats, addressing modes, data path, computing, micro-program controller for authentication, and then the entire microprocessor running experiments and classroom learning combined with hands-on, step-by-step mastery of the mutual cooperation between the various components of the microprocessor features and the part. The microprocessor also innovative space is left for the experimenter the experimenter can to the micro program controller on the basis of the original microprocessor writes a new micro-program code, increasing the function of the microprocessor's instruction, or to change the handling The various components of the structure, which allows the experimenter to hands-on design microprocessors become possible to bring very good results for the microprocessor experimental teaching.

Table of contents

Summary 5-6 Abstract 6-10 Chapter 1 Introduction the background 10-15 1.1 issues raised 10 - 11 1.1.1 issues raised pedagogy background 10 1.1.2 issue raised technical background 10-11 1.2 topic development status at home and abroad 11-13 1.2.1 Status in China 11 1.2.2 the foreign status quo 11-13 1.3 subject of research content and research objectives 13-14 1.4 thesis structure 14-15 Chapter 2 development environment and verilogHDL language introduced 15-21 2.1 FPGA chip development environment introduced 15-19 2.1.1 FPGA structure and working principle 15-16 2.1.2 a Xilinx company Spartan II series FPGA chip 16-17 2.1.3 FPGA development and design processes and design methods 17-18 2.1.4 ISE programming tools Introduction of 18-19 2.2 Verilog HDL hardware description language 19 -21 Chapter 3 microprocessor instruction set design 21-28 3.1 Command System Overview 21-22 3.2 CISC instruction set selection nbsp the; 22 3.3 instruction format and addressing modes designs the 22-23 3.4 instruction type 23-26 3.4.1 dual-operand instructions 23-24 3.4.2 single operand instructions 24 3.4.3 operand instructions 24-26 3.5 the instructions function of 26 - 28 3.5.1 dual-operand instructions 26-27 3.5.2 single operand instructions 27 3.5.3 operand instructions 27-28 Chapter 4 Design and Implementation of the arithmetic unit 28-36 4.1 calculator datapath 29 4.2 calculator design 29 - 34 4.2.1 arithmetic and logic design 30-32 4.2.2 shift register design 32-34 4.3 calculator simulation results 34-36 4.3.1 arithmetic and logic simulation results 34 4.3.2 shift operator simulation results 34-36 Chapter 5 microprogram controller Design and Implementation the 36-46 5.1 microprocessor data path 36-37 5.2 controller structure design 37-40 5.2.1 controller 37-38 5.2.2 microprogram controller structure design 38-39 5.2.3 microprogram controller timing 39 - 40 5.3 microinstruction coding and format design the 40-42 5.3.1 microinstruction coding 40 5.3.2 the microinstruction format designed 40 -42 5.4 micro address generation and address assignment are found; 42-46 5.4.1 generation of micro-address 42-44 5.4.2 micro address the generation module simulation results 44-45 5.4.3 processor microcode program address space allocation 45-46 Chapter 6 microprogramming instruction functional verification 46-67 6.1 Overview 46 6.2 take the the microinstruction stage microprogram design and verification 46-49 6.3 to fetch operand phase micro-program design and verify 49-53 6.4 runtime microprogramming and verification 53-59 6.4.1 MOV instruction execution stage EXEC 53-54 <br / > 6.4.2 The arithmetic and logic instructions runtime EXE to transfer 54-55 6.4.3 class instruction execution stage EXE 55-56 6.4.4 subroutine call class instruction a runtime EXE 56-57 6.4.5 stack class instruction execution stage EXEC 57-59 6.5 application design and integrated test 59-67 6.5.1 multiplication operation the 59-64 6.5.2 even and odd judgment 64-67 Chapter 7 Summary and Outlook 67-69 < br /> Reference 69-71 Acknowledgements 71-72 pursue master stage Papers of 72

Related dissertations

  1. X86 instruction decode dual emission control components of the design
  2. \
  3. Pentium instruction set of the micro-operation
    GuoPeng ·Northwestern Polytechnical University ·2006 ·Master's thesis
  4. The Design of Control System for Building Hot Water Supply
    HouGengChao ·Hunan University ·2013 ·Master's thesis
  5. The design of control system of ARM_Linux based on Distributed
  6. Design and Experimental Research of Greenhouse Environment Computer Control System
  7. Research and Implementation of Model Machine Based on Combinational Logic Controller
    WangXiaoDong ·Hebei University of Technology ·2012 ·Master's thesis
  8. Design and Implementation of32-bit RISC Microprocessor Based on FPGA
    ZhengYongGui ·Hebei University of Technology ·2012 ·Master's thesis
  9. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  10. Optimization of Opus Decoders in Arm Cortex-A8
  11. Designe of Pressure Management System's Controller Based on MSP430Microprocessor
    SuCanHui ·Hunan University ·2013 ·Master's thesis
  12. The Research and Development of the Control System on Optical Fiber Output Stable Laser Light
    ChenYing ·University of Jinan ·2013 ·Master's thesis
  13. Research and design of automatic control systems in greenhouses
  14. Design and Implementation of the Embedded TCP/IP Stack
  15. Research and Design of a Simulation Platform Based on SPARC v8Architecture
  16. Research on a Linux Operating System-Based Energy Saving of Embedded Microprocessor
    LiuHui ·Anhui University ·2013 ·Master's thesis
  17. The Design and Implementation of the Beehive Special Digital Monitoring System
    TanQingZhong ·Hunan University ·2012 ·Master's thesis
  18. The Optimization and Application Research of Microprocessor Parallel Computing System
    LiXiaoJia ·Jilin Normal University ·2013 ·Master's thesis
  19. Research in the Performance Prediction Model under Different Frequencies
    LiuZuoZuo ·Northeastern University ·2010 ·Master's thesis
  20. Design of embedded microprocessor compatible with Cortex-M3 instruction set