Design of a 32-Bit Embedded RISC Microprocessor Based on FPGA

Author
LiuLan
Advisor
ZhengBuSheng
School
Nanjing University of Aeronautics and Astronautics
Major
Circuits and Systems
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2010
Downloads
96
Citations
1

Request the full text

Abstract

RISC has been rapid development since the last century, proposed in the mid-80’s. Particularly in the embedded field, almost all of today’s embedded microprocessor and most of the workstations and server vendors are using RISC architecture microprocessor. Since the 21st century, along with the SOPC technology’s appearance, Study on embedded microprocessor IP core with high versatility and flexibility also aroused great interest, and has been very widely used. Therefore, to study a RISC architecture microprocessor IP core based on FPGA has a significant application value.The paper first analyzes the single cycle processor microstructure, further design of the classic structure of five-stage pipeline microprocessors. Then analysis of the critical path pipeline, based on the structure of five-stage. Through analysis, identify bottlenecks which affect frequency performance, and re-divide of the classical structure of five lines.Then authors propose an optimization program, which has eight pipelined microprocessor architecture. and give excellent solution for pipeline hazard which is caused by increasing the pipeline stages.In solving pipeline control risk aspects, this paper presents a pipelined branch predictor. Relative to use the bubble or into the static branch predictor, dynamic predictor which introduced in this article has significant advantages in terms of flexibility and froexast accuracy. And because the pipeline structure, the logical components of the branch Predictor distributed in all the eight pipeline evenly. The benefits of this approach is that both to use the dynamic branch predictor to solve the problem of control risk, reduce microprocessor CPI, and does not make the logic of pipeline appear local congestion too reduce the frequency of the microprocessor. The design uses the Verilog language to describe the micro-processing system in the implementation stage. Then Functional simulation is carried out by simulation software-Modelsim. The single cycle, five-stage, six-stage and eight-stage architecture microprocessor are synthesized by synplify and static-timing analysised by ISE.The results verify the timing performance of eight-stage versions is better than the former three,And also higher than performance of the reference design in the domestic and foreign similar papers. Finally, through building hardware test system around the microprocessor, and verified on board. The eight-stage version is able to run at up to 146.62MHz on XC5VLX110T FPGA chip. So that this design realize a RISC flush type microprocessor soft core with an excellent performance.

Table of contents

Summary 4-5 ABSTRACT 5-12 first chapter 12-16 1.1 research purpose and meaning 12 1.2 Status of domestic and foreign research -13 major work 13-14 1.3 article 14-15 1.4 thesis chapters arranged 15-16 the second chapter microprocessor architecture and instruction set 16-31 2.1 Description of the modern microprocessor architecture system 16-21 2.1.1 von Neumann architecture and Harvard architecture point 16-17 2.1.2 CISC and RISC instruction command structure structure 17-21 2.2 MIPS instruction 21-24 2.2.1 R -type instruction 22 2.2.2 I -type instruction 22-23 2.2.3 J -type instruction 23 2.2.4 addressing 23-24 Directive 2.3 design achieved 24-30 2.3.1 ALU operation instructions 25-27 2.3.2 transfer and jump instructions 27-29 2.3.3 memory access instructions 29-30 2.4 Summary 30-31 Chapter III micro-architecture design 31-60 3.1 processor data path 31-42 3.1.1 processor control unit 37-40 3.1.2 processor arithmetic Logic Unit 40-42 3.2 single-cycle structure 42-45 3.2.1 single-cycle processor performance 42-45 3.3 pipelined architecture 45-59 3.3.1 pipeline Overview 45-47 3.3.2 classic five lines program 47-48 3.3.3 six pipeline structure optimization program 48-49 3.3.4 eight pipeline structure optimization program 49-50 <br / > 3.3.5 pipeline adventure and treatment options 50-54 3.3.6 dynamic branch prediction design 54-56 3.3.7 pipeline performance Analysis 56-59 3.4 Summary 59-60 Chapter IV simulation, synthesis and hardware verification 60-79 comprehensive nbsp 4.1 key components ; 61-68 4.1.1 fetch unit 61-62 4.1.2 control Unit 62-63 4.1.3 ALU unit 63 -64 4.1.3 data Memory 64-66 4.1.4 data adventurous control unit 66 4.1.5 dynamic branch predictor 66 -68 4.2 functional simulation 68-72 4.3 system integrated 72-75 4.4 on board testing 75-78 4.5 summary 78-79 Chapter summary and Outlook 79-80 References 80-83 Thanks 83 - 84 research and published during the school 's academic 84-85 Appendix 85-88

Related dissertations

  1. Research on Multiple Exposure Images Fusion
    ChengHaiLong ·Beijing Jiaotong University ·2014 ·Master's thesis
  2. Design and Optimization of the Pipeline for the64-bits RISC Stream Core
  3. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  4. The Design and Realization of Instruction Memory Management Unit in RISC Microprocessor
    ZhangKeSong ·Wuhan University of Technology ·2013 ·Master's thesis
  5. Design and Research on Microprocessor Unit Based on32-Bits RISC Architecture
  6. Research and Design of Branch Prediction Mechanism Base on MIPS Micro-Processor
    LiJingMei ·Harbin Engineering University ·2007 ·Master's thesis
  7. 8-bit RISC microcontrollers VLSI Design and Analysis
  8. 32-bit RISC embedded microprocessor design
  9. 32-bit MIPS architecture - based dual-emission pipeline logic design
  10. RISC Architecture Based Processor Design and RTL-Level Implementation
  11. Research on Staff Training of China Petroleum Pipeline Company
    ZhaoYang ·Liaoning University ·2012 ·Master's thesis
  12. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  13. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  14. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  15. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  16. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  17. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  18. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  20. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis