Research and Design of Integer Arithmetic and Control Unit for RISC Processor
- Author
- LiuLiang
- Advisor
- XiaHong , HuangJingChang
- School
- North China Electric Power University
- Major
- Computer technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 50
- Citations
- 0
Abstract
With the information technology developing, the microprocessor,the kernel of the embedded system,is widely used in many IT areas for its flexibility and powerful functions. It is also applied in the multimedia and digital signal processing of the home appliances,and satellite and missile guidance.Because Reduced Instruction Set Computer(RISC)can produce more efficient and denser machine code, the compiler can make better code whose density is more closed to the machine code,and thus the RISC is faster than the common Complex Instruction Set Computer(CISC). Moreover, the ratio of RISC’S performance to its cost is better than that of CISC. The advantages of having a clear architecture and functional view and an advanced process technology make RISC more and more attractive. This paper discussed the basic embedded microprocessor architecture and implemented the basic integer arithmetic and control unit witch support the SPRAC V8instruction set.The project implements the main part of microprocessor.integer arithmetic and control unit, which executes most integer arithmetic and control instructions. Integer computing ability is very important for microprocessor. The research for integer arithmetic and control unit is significant to the design of high performance processor.This unit supports SPRAC V8instruction set; five-stage pipeline; supports8register windows;configurable multiplier;base2not restore divider;with serial to floating-point processor unit and coprocessor.This paper analysis how to implement five-stage pipeline of this unit, and analysis hoe to design adder, multiplier, divider and integer control unit. We use VHDL to design integer arithmetic and control unit in RTL. After function simulation,we use XILINX company’s chip Virtex-5to FPGA verification. Frequencies of integer arithmetic and control unit up to184MHz,the result of verification show that the module module functionality and performance are designed in line with expectations.
Table of contents
Summary 5-6
Abstract 6-9
Chapter 1 Introduction 9-13
1.1 RISC processor development outlined 9 -12
1.2 content and structure of the paper 12-13
Chapter 2 instruction 13-28
2.1 data types 13-14 <br / > 2.2 instruction format 14-16
2.3 instruction classification 16-19
2.3.1 Load / Store instructions 16-17
2.3. 2 integer arithmetic instructions 17-18
2.3.3 control transfer instruction 18-19
2.3.4 read / write status register 19
2.4 integer arithmetic and control unit registers 19-25
2.4.1 General-purpose registers 20-22
2.4.2 control / status register 22-25
2.5 addressing 25-28
2.5.1 immediate Addressing 25-26
2.5.2 register Addressing 26
2.5.3 register Indirect 26
2.5.4 base plus partial addressing 26
2.5.5 offset address 26-27 <br / > 2.5.6 relative addressing 27-28
Chapter 3 integer control unit design 28-37
3.1 to achieve instruction 28
3.2 integer control unit overall design 28-29
3.2.1 interface design 28-29
3.3 instruction pipeline design 29-37
3.3.1 fetch stage 31-32
3.3.2 decode stage 32-34
3.3.3 runtime 34-35
3.3.4 fetch stage 35
3.3.5 writeback stage 35-36
3.3.6 jump module 36-37
Chapter 4 integer the arithmetic unit design 37-52
4.1 to achieve instruction 37
4.2 adder design 37-41
4.2.1 four adder cell design 39-40
4.2.2 lookahead chain design 40-41
4.3 multiplier design and simulation 41-47
4.3.1 multiply design 41-46
4.3.2 multiply functional simulation 46-47
4.4 divider design and simulation 47-52
4.4. a division design 47-48
4.4.2 division overall design 48-51
4.4.3 divide functional simulation 51-52
Article 5 integer arithmetic and control unit testing and integrated 52-62
5.1 integer arithmetic and control unit testing 52-59
5.1.1 register test 52 - 53
5.1.2 hardware breakpoint test 53-55
5.1.3 multiplication unit testing 55-57
5.1.4 divide unit test 57-59
5.2 FPGA integrated 59-62
5.2.1 multiplication unit combined result 59-60
consolidated results 5.2.2 division unit 60-61
5.2.3 integer arithmetic and control unit combined result 61-62
Chapter 6 Conclusion and Outlook 62-63
References 63-66
Thanks 66
Related dissertations
- DVD servo control microprocessor integrated circuit design
- Research on group behavior of nonlinear decision model based on pressure field
- Modelling and Simulation of Organizational Structure Based on Total Relationship Flow Management Theorems
- The Effects of the Basic Medical Insurance for Urban Workers on the Patients’ Hospital Choice Behavior in Shenyang:a Study Based on Multi-Agent Modelling Simulation
- Research on the Effect of Income Difference on R&D Network Cooperative Evolution
- The Research on the Knowledge Transfer Model and Strategy of Transformation Bussiness
- A Study on Food Security of Central City
- The Simulation Research of Jiangsu Industrial Development Based on Regional Innovation System
- Research on Interaction between Modern Logistics Industry and Economic Development of Shaanxi Province
- Estimation of Hong Kong RMB Cash Stocks and Flows on Biomarker Method Modeling Research
- Research on Dynamic Pricing Strategy of Market Maker Based on Heterogeneous Agents Beliefs
- The Stability Study of Ecological Industrial Link Based on the Dynamic Evolution Game Theory
- The Research about the Dynamic Evolution of Group Decisions under the Network Environment
- Micro-Grid Operation Status Monitoring System Based on Multi-Agent
- Design and Simulation of Turntable Servo Control System Based on DSP
- Simulation Research on Coordinated Control System of600MW Subcritical Unit
- Research of Upper Limb Rehabilitation Robot Control and Simulation Based on Virtual Reality
- Design on Visual Odometry Experiment Bench and Research on Stepper Motor Subdivision Control
- Research on Dynamics and Simulation of3-TPS/TP Parallel Robot
- Friction Coefficient Changed Inchworm-like Robot with the Linear Motor Driven