Realization and Verification of IP Core of SPI Protocol Based on AMBA Bus

Author
ZhaoJie
Advisor
YiBo
School
University of Science and Technology of China
Major
Microelectronics and Solid State Electronics
Classification
TN47 LSI,ultra LSI
Degree
Master's thesis
Year
2009
Downloads
194
Citations
5

Request the full text

Abstract

Nowdays as the SOC design is getting more and more complicated, two major challenges to its development is the multiplexing and interconnect of IP core. SPI is a high-speed, full-duplex, synchronous communication bus, and its simple connection could save PCB space. More and more IC chips are realizinig this protocol. We designed an IP core of SPI protocol, which could be configured as SPI Master or SPI Slave, could set different transmission speed, and could work in any one of the four clock modes. This is very significant and is in line with the development of SOC design technology.Proposed a comprehensive analysis comparing Silicore’s Wishbone, IBM’s CoreConnect and ARM’s AMBA bus technical characteristics. The bus configuration of Wishbone is simple, flexible, and has much free resources. CoreConnect bus structure is integral, common and powerful, but it is too comlicated for embedded applications. AMBA bus has many third-parties support, and has become one of the standards of the existing interconnection bus. Especially, the APB bus which applies to low-speed connection has a simple structre, low-power, and practicability. It has a wide application prospects.According to Top-Down design theory, I described the method to design the SPI IP core module based on AMBA bus. Analyzed the design objectives, and defined the input and output signal of the module. Then further divided its sub-modules and analyzed its internal signals, and present a complete module and signal connection diagram as well as detailed registers settings. Afterwards, described the realization of the IP-core using Verilog HDL. Described the design concept, and then introduced the design process of several important modules such as Clock Prescaler, APB interface and Transmit/Receive Logic, and then discussed typical problems in the design process and its solution.Executed Function Simulation and FPGA Timing Simulation of the IP core using mainstream simulation software Modelsim and QuartusII. Tested the reset process,and checked the data transmission under different Clock speed and under all four clock modes. All the registers value and read/write data are in line with the data expected. Passed the simulation process successfully.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-14 1.1 SOC design development status 9 -10 1.1.1 abroad SOC technology research and application status 9-10 1.1.2 SOC design technology challenges 10 1.2 IP core reuse using technology industry status quo [2] [4] 10-12 1.2.1 IP cores industry three main 11 1.2.2 design reuse relevant organizations [5] 11-12 1.3 research significance 12-13 1.4 this chapter arrangements and the main content 13-14 first Chapter 2 Technical Background 14-18 2.1 SOC design methodology 14-15 2.1.1 SOC definition 14 2.1.2 SOC the design process 14-15 2.2 IP core and IP Reuse 15-16 2.2.1 IP cores are three types 15 <br / > 2.2.2 IP multiplexing 15-16 2.3 IP soft core design process 16-17 2.3.1 IP soft core design process 16-17 2.3.2 IP core design principles 17 2.4 Summary 17-18 Chapter 3 and related on-chip bus protocol analysis 18-28 3.1 chip bus review 18 3.2 introduces three commonly used chip bus 18-24 3.2.1 Wishbone bus 18 - 19 3.2.2 CoreConnect bus 19-21 3.2.3 AMBA bus 21-24 3.3 SPI protocol 24-27 <br / > 3.3.1 SPI signal line 24 3.3.2 SPI master and slave mode 24-25 3.3.3 SPI system constitutes 25 3.3.4 SPI timing 25-27 3.4 Summary 27-28 Chapter 4 SPI reusable IP core design and implementation 28-48 4.1 design Goals 28 4.2 module division 28-33 4.2.1 top design 28-30 4.2.2 module division and interface signals described 30-33 4.3 register Set 33-34 4.4 IP core Verilog HDL realize 34-47 4.4. 1 Verilog HDL Introduction 34-35 4.4.2 design ideas 35 4.4.3 clock , register , and interrupt module design 35-38 <br / > 4.4.4 sub-module APB interface design 38-40 4.4.5 submodule RxFIFO design 40-42 4.4.6 sub-module Transmit / Receive Logic of design 42-47 4.5 Summary 47-48 Chapter 5 simulation 48-56 5.1 simulation schematic overview 48 5.2 test code design 48-51 5.3 simulation results analysis 51-55 5.4 Summary 55-56 conclusion 56-57 References 57-59 Thanks 59-60 papers published during the master's degree 60

Related dissertations

  1. Design and Implementation of Reusable IP Core of SPI on Besis of Verilog HDL
    LiYueFeng ·Southwest Jiaotong University ·2008 ·Master's thesis
  2. Research and Design of the Des Encryption Chip Based on Resource Optimization
  3. The Design of SOC Platform Based on LEON2
    PengJunYi ·Jinan University ·2006 ·Master's thesis
  4. Based on AMBA3.0Bus Image Acquisition System Design and Implementation
  5. The IP Core Implement and Improvement of Image Compression Algorithm
    GongXiaoLei ·Donghua University ·2014 ·Master's thesis
  6. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis
  7. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  8. JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
    ZhaoWei ·Wuhan University of Technology ·2013 ·Master's thesis
  9. Design and Implementation of Video Tracking and Encoding System Based on FPGA
    PengDanYang ·Northeastern University ·2013 ·Master's thesis
  10. The Design and Verification of USB Interface Soft IP CORE
  11. The Design and Application of Reusable Interface IP Core
    HeChunZhi ·Ningbo University ·2012 ·Master's thesis
  12. The Research and Design of DES/3_DES Algorithm IP Core Based on AMBA Bus
    LiuHongTao ·Hunan University ·2011 ·Master's thesis
  13. The Design of DMA Controller Which is Based on AMBA Bus
    WuYaoYi ·Hunan University ·2012 ·Master's thesis
  14. A Full-speed USB2.0Device Controller IP Core Design
  15. Research on Enhancing the Transmission Performance of Bluetooth and Baseband IC Design
  16. Study on Some Key Technologies of Digital TV Source Decoder SOC
    YangYuHong ·Shanghai Jiaotong University ·2006 ·Doctoral dissertation
  17. VLSI implementation of JPEG2000 algorithm and system integration
    HuangQuanPing ·Fudan University ·2005 ·Doctoral dissertation
  18. Research on High Level Synthesis of IP Core for Specific Applications
  19. Research of Video Image Processing System Based on FPGA and SOPC Technology
    WenXiaoYong ·Tianjin Normal University ·2008 ·Master's thesis
  20. USB2.0 Device Controller for IP Core Design