The Design and Implementation of Y86Simulator

Author
WangYaXuan
Advisor
XinXiaoHui , GuoZhiGang
School
Chinese Geology University (Beijing)
Major
Computer technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2013
Downloads
3
Citations
0

Request the full text

Abstract

Along with the development of information technology, as an effectivecomplement of traditional experiment teaching, virtual experiment has proved itsadvantages of visibility and convenience. CPU simulator, which is used in computerarchitecture and organization course, is an example of the application for virtualexperiment. Real processor’s internal structure is not visible to the outside world, andin the traditional teaching the introduction of specific processor architecture is simplycarried out by obscure description and theoretical explanation, it is difficult for thestudents to build a clear overall understanding of processor structure. Simulatorprovide students with an virtual access to understand the internal operation of theprocessor, it makes these invisible operations superficial. Students can executeprogram on it, observe the instruction execution process, in order to understand thereal machine.The graduation design is based on the book computer systems-a programmer’sperspective, on the basis of analyzing Y86instruction set, which is a simple subset ofIA32instruction set, we implement the Y86instruction set simulator YIS infunctional level, so that other versions of the simulator can be tested by comparingwith the results of YIS, in this way the correctness of its design can be proved. On thetop of functional simulation and good comprehension of sequence and pipelinetechnology, we designed simulators of three other versions in cycle-accurate level.The paper discusses the three versions of the hardware model step-by-step, fromsimple to complex: sequential Y86processor simulator ssim, its rearrange andexpansion version ssim+and a pipeline Y86simulator psim. In addition, for theconvenience of students to generate binary file from assembly language, a supportingassembler is also completed. All the tools are running on windows operating systemand can run in two modes: GUI and TTY mode, they are used to observe stage signals,register contents, condition code and other status information during the execution ofY86instructions, so that can be used as experiment platform.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction 8-14 1.1 Background 8 1.2 treatment simulators technical Overview 8-11 1.2.1 processor architecture 9 1.2.2 simulator classification 9-11 1.2 .2.1 functional level simulator and performance level simulator 9-10 1.2.2.2 runs in user mode emulator running on the system state simulator 10-11 1.3 Related Research Status 11-12 1.4 thesis structure 12-14 2 simulator tool set design review 14-18 2.1 overall design ideas 14-15 2.1.1 development platform and review 14 2.1.2 achieve functional 14-15 2.2 modules 15-17 2.3 Summary 17-18 3 Y86 processor architecture 18-30 3.1 Y86 instruction 18 - 22 3.1.1 classification and assembly code instruction set , said 18-20 3.1.2 instruction format and coding 20-21 3.1.3 Y86 instruction Set features 21-22 3.2 related storage systems 22-24 3.2.1 memory abstraction 22-23 3.2.2 register system 23-24 3.3 exception Handling 24 3.4 instruction set simulator design and implementation 24-28 3.4.1 shared data structure and instruction set . function function definition 25-28 3.4.2 instruction set simulator modeling and implementation 28 3.5 Summary 28-30 4 order design and Implementation of Y86 simulator 30-46 4.1 Y86 order processor architecture and workflow 30-35 4.1.1 underlying hardware functional abstraction 30 -33 4.1.2 Y86 processor instruction execution order phase 33-35 4.2 sequential simulator design 35-41 4.2.1 fetch Stage design 36-37 4.2.2 decode and write back stage design 37-38 4.2.3 runtime design 38-39 4.2 .4 fetch stage design 39-40 4.2.5 update PC -stage design 40-41 4.3 simulator order to achieve 41-45 <br / > 4.3.1 main framework to achieve 41-44 4.3.2 control signal to achieve the various stages 44-45 4.4 Summary 45-46 <br / > Design and Implementation of pipelined Y86 simulator 46-63 5.1 pipelining works 46-50 5.1.1 pipelining principles outlined 46 - 47 5.1.2 pipeline timing and working process 47-48 5.1.3 pipelining limitations 48-50 5.2 Y86 pipelined processor architecture and workflow 50-56 5.2.1 pipelined design SEQ transition and PIPE design and analysis 50-52 5.2.2 pipelined processor 52-56 5.3 lines Y86 simulator design and implementation 56-62 5.3.1 extended sequence SEQ rearrangement realization 57 5.3.2 pipeline simulator to achieve 57-62 5.4 Summary 62-63 6 program testing and operating results 63-70 6.1 test Design 63 -65 6.1.1 test Procedure design Overview 63-64 6.1.2 pipelined processor simulator test 64-65 6.2 pipeline simulator performance Analysis 65-66 6.3 operating results show 66-69 6.4 summary 69-70 7 summary and Outlook 70-72 7.1 system summary 70 7.2 Prospects 70-72 Thanks 72-73 References 73-75 Appendix 75

Related dissertations

  1. Desing and Implementation of Alarm Subsystem of Mobile Network Management System
  2. Co-simulation Based Fault Injection Technologies Analysis and Design
    WenLiPing ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on Calibration and Traceability of Key Indicators for Satellite Navigation Simulator
    TangZhenWu ·Central South University ·2013 ·Master's thesis
  4. The Design and Implementation of a High Definition VOD Simulation System
    MaJunQiang ·Xiamen University ·2014 ·Master's thesis
  5. Design and Realization of the Hardware Simulator in Optical Transmission Equipment Based on the TL1Protocol
    MengXueHong ·Northwestern University ·2013 ·Master's thesis
  6. Research on Simulator Based on Voltage Source Inverter for Permanent Magnet Direct Drive Wind Generator System
    NiuChengYu ·Hefei University of Technology ·2013 ·Master's thesis
  7. Digital PV Array Simulator Research and Development Based on S3C2440
    YuanZhen ·Donghua University ·2014 ·Master's thesis
  8. Controller Program Design and Implementation of Motive Target Simulation
    LiZuo ·Dalian University of Technology ·2013 ·Master's thesis
  9. The Researching and Implementation for Simulating Models of Cooperative Vehicles Kinematic Behaviour Based on Discrete Time
  10. Key Techniques Research of Virtual Reality System about the Surrounding Forklift Operation Training
    LinLong ·Wuhan University of Technology ·2013 ·Master's thesis
  11. Design and Implementation of OGRE-based Crane Training Simulator
  12. The Research and Design of Control System Simulator for Hot Blast Stove
  13. System Design and Simulation about the Accelerating Cooling Process Control of the Medium Heavy Plate
  14. Research on Embedded Systems Simulation Platform Based on SPARC
    AiShanBin ·Dalian University of Technology ·2013 ·Master's thesis
  15. Design and implementation of MTK mobile phone platform middleware
    WangKaFeng ·Donghua Polytechnic University ·2010 ·Master's thesis
  16. The Design and Fulfillment of General Performance Test Simulator in Banking Business System in China Construction Bank
  17. Research on Multi-level Parallelism and Algorithms for High-performance Solid State Disk
    HuYang ·Huazhong University of Science and Technology ·2012 ·Doctoral dissertation
  18. The Emulation of EPIRB Positioning Algorithm
    ZhaoTian ·Wuhan University of Technology ·2012 ·Master's thesis
  19. Research on Control Algorithm of Photovoltaic Radar Target Simulator
    ZhangTao ·Shenyang Aerospace University ·2012 ·Master's thesis
  20. Research and Implementation of Customizeing Digital Television Simulator