The Simulation and Implementation of Processor Register Level for OpenRISC

Author
TangJianQiu
Advisor
LiRui
School
Hunan University
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2013
Downloads
4
Citations
0

Request the full text

Abstract

The increasing function of System on a Chip(SoC),increasing design complexityand difficulty and increasingly shorter product cycle have been made processorsimulation become more and more attractive. During the design of hardware,processor simulation can be used as a handler function verification of referencemodels while in the stage of software design,it can be used as system supportplatform for software development environment which is of great significance. Inorder to promote the development of open source OpenRISC processor technologyand verify the advantages of processor simulation which based on SystemC language.In this paper based on SystemC we have simulated open-source OpenRISC processorsand OpenRISC microprocessor minimum system of the simulation are given,what’smore,we also have introduced the OpenRISC pipeline line simulation design andimplementation which may lay the foundation for further simulation and developmentof OpenRISC processors based on SystemC.The work of this paper are mainly including:Firstly, processor simulation technology and SystemC hardware simulationplatform was analyzed. Meanwhile,the functions and features of instruction set andconstruction set simulation technology in processor simulation technology,the designmethodology, simulation kernel and process features and functions of SystemChardware simulation platform were introduced in detail respectively.Secondly,the structure frame of OpenRISC1200processor core was discussed,and through the way of cutting additional unit we get minimum system which includeinteger unit,register unit and memory;the function of different levels of pipelineline,possible risk in all levels,risk conditions and the solution of every risk were alsodiscussed;Moreover,we introduced the characteristics of Cache technology whichOpenRISC adapted for matching difference between main memory and CPUperformance; besides, OpenRISC characteristics analysis and classification ofinstruction set were given.Thirdly,OpenRISC processor pipeline line simulation design is make use ofSystemC and OpenRISC processor overall design frame were given; The simulationof IF level genpc module, ID level control module and rf module, EXE leveloperandmuxes module and alu module, MA level lsu module, and WB level wbmux module were successfully realized; at the same times, the realization of Cachesimulation were also given.Finally, combining with the SystemC simulation development platform, after thethe necessary initialization work; for data hazard, Pipeline jam, flow linecomprehensive performance and data Cache function test cases were designedrespectively, and give the executed result and relevant code; theoretical analysis andexperimental results show that base on SystemC to simulate OpenRISC processor coreis available, so on the basis of it we can continue to develop and improve and use it tosupprot Software and hardware development and design which based on OpenRISC.

Table of contents

Abstract 5-6 Abstract 6-8 catalog 8-10 illustrations index 10-11 attached table index 11-12 Chapter 1 Introduction 12-16 1.1 background significance 12-13 1.2 related research 13 -14 1.3 the main contents 14-15 1.4 papers organizational structure 15-16 Chapter 2, the theoretical basis 16-25 2.1 processor simulation method 16-17 2.2 processor emulation technology 17-18 2.2.1 instruction Set simulation 17-18 2.2.2 structural simulation technology 18 2.3 SystemC hardware emulation platform 18-24 2.3.1 SystemC design methodology 19-20 2.3.2 SystemC simulation kernel 20-21 2.3.3 SystemC process 21-22 2.3.4 SystemC RTL- simulation 22- 24 2.4 Summary 24-25 Chapter 3 OpenRISC processor core simulation needs analysis 25-38 3.1 processor core structural analysis 25 -27 3.2 overall pipeline design 27-33 3.2.1 control adventure 29-30 3.2.2 data adventures 30-31 3.2.3 structure adventure 31-33 3.3 Cache design 33-35 3.3.1 Cache principle 33 3.3.2 Cache basic structure 33-34 3.3.3 Cache consistency 34-35 3.4 OpenRISC register 35-36 3.5 OR1200 instruction specification 36-37 3.6 Summary 37-38 Chapter 4 OpenRISC processor core based on SystemC simulation of 38-50 4.1 OpenRISC processor core simulation Framework 38-39 4.2 IF -level simulation to achieve 39-41 4.3 ID -level simulation to achieve 41-44 4.3.1 control module 41-43 4.3.2 rf module 43-44 4.4 EXE -level simulation to achieve 44-47 4.4.1 operandmuxes module 44-45 4.4.2 alu module 45-47 4.5 MA level simulation to achieve 47-48 4.6 WB -level simulation to achieve 48-49 4.7 Summary 49-50 Chapter 5 experimental testing and analysis 50-57 5.1 simulation design platform and environment 50 5.2 system simulation initialization 50-51 5.3 simulation testing and analysis 51-54 5.3.1 data related 51-53 5.3.2 data adventure 53-54 5.4 pipelining comprehensive test results and analysis 54-55 5.5 Cache test results and analysis 55-56 <br / > 5.6 Summary 56-57 conclusion 57-59 references 59-62 Thanks 62-63 <br / > published in Appendix a to pursue a master's degree during the academic catalog 63-64 Appendix B OR1200 instruction specification 64-67

Related dissertations

  1. Research and Hardware/Software Modeling of MIPS32TM Compatible Processor
    XueBo ·Shanghai Jiaotong University ·2007 ·Master's thesis
  2. Linear chain conditional random the airport training algorithm optimization
    ChenTianYuan ·Fudan University ·2010 ·Master's thesis
  3. Design of MIPS Embedded Microprocessor
    LiChang ·Tsinghua University ·2010 ·Master's thesis
  4. Design and Implementation of High Speed Data Recorder Based on FPGA
  5. The Design and Implementation of a Delivery and Scheduling System for Video Files
  6. Research on the Technologies of Internet Traffic Localiztion
    YuJiang ·Jilin University ·2013 ·Master's thesis
  7. An Efficient Hardware Architecture Design of Texture Mapping Unit
    ZhaoGuoYu ·Tianjin University ·2012 ·Master's thesis
  8. The Parallelization of Research for Point Cloud Reconstruction Based on Heterogeneous Environment
    YangJie ·Ningxia University ·2014 ·Master's thesis
  9. Research on Key Technologies for the Client of Distributed File System
  10. Design and Implementation of Online Examination System of Shanghai Television Video University
    LiZuo ·Dalian University of Technology ·2013 ·Master's thesis
  11. Research on Digital Rights Management Based on Risk
    CuiNingNing ·Beijing Jiaotong University ·2014 ·Master's thesis
  12. Research of Protocol Adaption and Cache Management of Cloud Storage Gateway
  13. NAND Flash Controller Design and Transaction-level Verification Based on Systemc
    ZuoQingFeng ·Harbin Engineering University ·2013 ·Master's thesis
  14. Evaluate the Performance of Storage System by Mathematical Modeling Methods
    DiaoYing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  15. Research and Design of Storage Organization and Index on Main Memory Database
    LiuZheYi ·Hunan University ·2013 ·Master's thesis
  16. Research and Implementation of Memory Optimization Based on Parallel Computing Engine Spark
    FengLin ·Tsinghua University ·2013 ·Master's thesis
  17. Energy-Efficient Management for Memory System Based on Access Patterns of Applications
    ZhangTieFei ·Zhejiang University ·2013 ·Doctoral dissertation
  18. Software Optimization Techniques for Small Instruction Caches
    ChenChen ·Zhejiang University ·2014 ·Master's thesis
  19. Key Techniques Research of Memory in Homogeneous General Purpose Stream Processor
  20. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis