The Optimization and Implemention of Stream Architecture Simulator
- Author
- ZuoXiaoFeng
- Advisor
- XingZuoCheng
- School
- National University of Defense Science and Technology
- Major
- Computer technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 28
- Citations
- 0
Abstract
With the continuous development of VLSI technologies, CPU design became more and more complicated. Software simulation allows designers to use high level programming languages (C/C++) or specific hardware description language (VHDL, Verilog) to construct the processor architecture, and to conduct simulations on functionality and performance. By doing software simulation, processor architecture prototype can be implemented and evaluated in small amount of time. As a result, this technique has been widely adapted during the early stage of processor design.The purpose of this paper (thesis) is to optimize the stream-architecture simulator based on X processor. The first three chapters briefly describe the hardware prototype of this simulator– X processor, and the basic design concept of this simulator. The following two chapters explain the design optimization work in detail. Performance evaluation and comparison between the before/after the X processor design is done in Chapter 6.In Chapter 4, two different optimization methods are presented to speed up the simulator. Using a special technique named“Indirect Threaded”, the first method speeds up the kernel-level modules of the simulator. In original design of X processor, instruction modules are divided/partitioned based the functionality of functionality.“Indirect Threaded”puts all instruction modules at the same level and executes them sequentially, which reduces the hardware overhead and improves the simulation speed. The second method speeds up the simulation by using rough estimation instead of explicit computation on non-critical blocks. During early design stage, correct functional behavior instead of exact data result (timing, power, etc.) is expected, hence we can use fast estimation on time-consuming blocks without losing the precision of circuit functional behavior simulation.In Chapter 6, three aspects of the critical performance evaluation/comparison are presented. Kernel-level performance consists of usage of kernel-level modules and stall-cycles. Steam-level comparison consists of stream-level instruction numbers, data transfer of SB, and I/O address tracing and intercepting. The statistic data of I/O is presented individually at the end of this chapter to characterize the stream-based I/O.From the simulation result, we can see that the simulating speed of X processor reaches 269K-cycle/second. The overall performance increases 23.8% compared to original X processor architecture.The work of this paper was funded by National 863 research projects (2005AA110020) and Most-Important projects of PLA. The actual algorithm of this work has already been adapted in many engineering works.
Table of contents
Abstract 10-11
ABSTRACT 11-12
first chapter 12-20
1.1 microprocessor design is being challenged 12-14
1.2 stream Architecture 14-15
1.2.1 stream programming model 14
1.2.2 three locality 14 -15
1.2.3 three parallelism 15
1.3 stream Architecture advantage 15-16
1.4 comparison of several enforcement mechanisms 16 -17
1.4.1 SIMD and SISD 16
1.4.2 SIMD and MIMD 16-17
1.5 research significance and major work 17 -19
1.6 this structure 19-20
Chapter X processor 20-30
2.1 overall structure 20-21 <br / > 2.2 nuclear architecture 21-23
2.3 nuclear -stage pipeline 23
2.4 flow -level architecture 23-25 ??
2.5 instruction Formats 25-26
2.5.1 nuclear command structure 25
2.5.2 flow -level command structure 25-26
2.6 three storage mode 26-27
2.7 X processor mode 27-28
2.8 software pipelining 28-29
2.9 chapter Summary 29 - Chapter 30
flow simulator architecture design methods 30-37
3.1 overall design philosophy 30-32
3.1.1 design Goals 30-31
3.1.2 simulator structure 31-32
3.2 simulation algorithm analysis 32-34
3.2.1 clock cycle -based simulation algorithm 32-33
3.2.2 with module ordering cycle simulation algorithm 33-34
3.2.3 simulation program class 34
3.3 performance test 34-36
3.4 Summary 36-37
Chapter simulator speed optimization and realization of 37-57
4.1 with Indirect Threaded accelerate instruction for distribution simulation 37-44
4.1.1 simulator functional unit module 37-39
4.1.2 Threaded code and threading model 39 -40
4.1.3 simulator threaded optimization techniques 40-42
4.1.4 indirect clues method optimization 42-44
4.2 floating-Point Arithmetic element simulation acceleration 44-56
4.2.1 on IEEE-754 standard 44-46
4.2.2 floating point multiply -accumulate unit module analyzes 46 - 56
4.3 Chapter Summary 56-57
Chapter simulator performance statistics perfection 57-70
5.1 kernel -level performance statistics 57 - 60
5.1.1 functional unit utilization statistics 57-58
5.1.2 nuclear pause cycles statistics 58-60
5.2 flow -level performance statistics 60-63
5.2.1 flow -level instruction number 60-61
5.2.2 stream buffer (SB) of the total amount of data transmission 61-62
5.2.3 fetch address trace interception 62-63
5.3 memory access behavior statistics 63-69
5.3.1 flow storage control system registers 63-65
5.3.2 X processor addressing modes 65-67
5.3.3 fetch feature performance statistics 67-69
5.4 Summary 69-70
Chapter simulation validation and results analysis 70-76
6.1 simulation environment and the simulation results verify 70-71
6.2 results of simulation acceleration 71-74
6.2.1 indirect clues accelerate results 71-72
6.2.2 FPU acceleration results 72 -73
6.3.3 comprehensive accelerated results 73-74
6.3 Statistics Module perfect 74
6.4 chapter Summary 74-76 <br / > Chapter VII Conclusion 76-77
Thanks 77-78
References 78-81
author during term academic achievements 81
Related dissertations
- Research of Stream Architecture: Simulator and Verification Techniques
- Desing and Implementation of Alarm Subsystem of Mobile Network Management System
- Co-simulation Based Fault Injection Technologies Analysis and Design
- Research on Calibration and Traceability of Key Indicators for Satellite Navigation Simulator
- The Design and Implementation of a High Definition VOD Simulation System
- Design and Realization of the Hardware Simulator in Optical Transmission Equipment Based on the TL1Protocol
- Flexibly Configurable Architecture for Large Number Operation
- Policy research to promote the development of animation industry in Tibet
- Research on Simulator Based on Voltage Source Inverter for Permanent Magnet Direct Drive Wind Generator System
- Digital PV Array Simulator Research and Development Based on S3C2440
- Controller Program Design and Implementation of Motive Target Simulation
- The Researching and Implementation for Simulating Models of Cooperative Vehicles Kinematic Behaviour Based on Discrete Time
- Key Techniques Research of Virtual Reality System about the Surrounding Forklift Operation Training
- Design and Implementation of OGRE-based Crane Training Simulator
- The Research and Design of Control System Simulator for Hot Blast Stove
- System Design and Simulation about the Accelerating Cooling Process Control of the Medium Heavy Plate
- Research on Embedded Systems Simulation Platform Based on SPARC
- Design and implementation of MTK mobile phone platform middleware
- The Design and Fulfillment of General Performance Test Simulator in Banking Business System in China Construction Bank
- Research on Multi-level Parallelism and Algorithms for High-performance Solid State Disk