The Research and Design for an 8-bit CPU IP Core

Author
Wang
Advisor
YangSuYing
School
Dalian University of Technology
Major
Control Theory and Control Engineering
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2005
Downloads
768
Citations
4

Request the full text

Abstract

With the coming of the communication age, the disadvantage of the traditional SCM (Single Chip Micyoco) was exposed because of its connatural defect of structure. Its speed, scale and performance can’t meet the more and more requirements from the users. The technology of System on a Chip (SoC) is widely used in embedded system now for its advantage. In this paper the design methods and the technique of development for SoC is introduced under this circumstance. Furthermore the exploration and research about the design and implementation of an 8-bit CISC (Complex Instruction-Set Computing) CPU on FPGA (Field Programmable Gate Array) are given.The CPU design refers to the Top-Down design method and the modularization ideas from global architecture design to local function implementation. Then it’s expounded that how to design data-palh and structure of a CPU by instruction-set. The IP core is divided into three parts, the ALU module, the controller and special registers. ALU is the executing unit that the logical and arithmetic operation are supported; Controller is based on micro-program and state machine, which is used to decode the command and control the executing unit; There are all kinds of registers and MUX in the register module, which is controlled by controller and is the transmission part of datapath. Because of the development of integrate circuit technics.the parallel data and address bus can be implemented in one chip. The architecture enhances the system’s performance and speed and predigest the design of schedule.The flip-flop is used to read and write RAM to make instructions can be completed within four clocks . Instruction set is compatible to the industrial standard 8051 microcontroller to ensure applicability, but period of clock which an instruction cycle needs is only the 1/12 of standard MCS51 instruction cycle. The special interface of the address and data is design for RAM and ROM in IP core. The interface and performance can be expanded and enhanced easily because the project is designed by Verilog HDL code.The design has achieved the expected goals in all aspects through the simulation and verification. The CPU core is an important part of SoC, which can be used in many domains, such as control and communication. So the design has its useful value.

Table of contents

Summary 4-5 Abstract 5-9 1 Introduction 9-11 1.1 research background 9 1.2 topics based 9-10 1.3 subject contents and design goals 10-11 2 CPU IP core design knowledge 11-16 2.1 Top-Down design ideas 11-12 2.2 soft-core , solid core and hard-core and reuse 12-13 2.3 IP core design of the hardware Description Language 13-16 2.3.1 hardware description language summary 13-14 2.3.2 Verilog HDL and VHDL compare 14-15 <br / > 2.3.3 Verilog current application and applicable design 15 2.3.4 the advantage of using Verilog HDL design of complex digital circuits 15-16 3 CPU core design 16-55 3.1 CPU IP core design 16 3.2 CPU functions and composition 16-18 function nbsp 3.2.1 CPU 's ; 16-17 basic components 3.2.2 CPU 's 17-18 3.3 CPU core internal resources 18-20 3.3.1 input output cited foot 18 3.3.2 General-purpose registers 18 3.3.3 special register 18-20 3.4 data transfer portion of the data path design 20-22 design nbsp 3.4.1 PC pointer parsing module ; 20-21 3.4.2 special Function Registers read module 21 3.4.3 special Function Registers write module 21-22 3.4.4 data analysis module and address parsing module 22 3.5 ALU module design 22-30 <br / > 3.5.1 ALU control module ALU_MUX 23-24 3.5.2 subtraction module 24-28 design 3.5.3 divider division module 28-29 3.5.4 logical block lucore design and realization of the circuits 29-30 3.6 data path 30-47 3.6.1 take command circuit 30 3.6.2 transfer Instructions circuit 30-41 3.6.3 arithmetic logic circuit class instruction constitutes 41-44 3.6 architecture 47-53 3.7.1 micro-program controller ; .4 class instruction constitutes a transfer of control circuit analysis design and implementation 44-47 3.7 micro-program controller nbsp 48-52 3.7.2 simulation 52-53 3.8 internal RAM read and write timing 53-55 4 simulation and verification 55-64 4.1 simulation process 55-57 4.2 validation tool 57-58 write 4.3 CPU emulation program 58 -61 4.4 test vector conversion analysis 61-62 4.5 writing test vectors and waveform chart 62-64 conclusion 64 - 65 References 65-68 Appendix A CPU IP core integrated Figure 68-69 Appendix B ALU module integrated Figure 69-70 Appendix C ALU unit simulation Figure 70-71 Appendix D synthesis reports 71-72 Appendix E test vector conversion program fragment 72-73 F controller sequence control section in Appendix simplified circuit published academic situation nbsp 73-74 during the master's degree ;; nbsp 74-75 Thanks 75-76 Dalian University dissertation copyright attorney 76

Related dissertations

  1. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis
  2. Research and Design of the Des Encryption Chip Based on Resource Optimization
  3. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  4. JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
    ZhaoWei ·Wuhan University of Technology ·2013 ·Master's thesis
  5. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  6. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  7. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  8. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  9. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  10. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  11. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  13. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  14. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  15. The Design of Digital Ultrasonic Nondestructive Testing System
  16. Design and Implementation of High Speed Data Recorder Based on FPGA
  17. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  18. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  19. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  20. The Design and Research of PCI Data Acquisition Card Based on FPGA