Test of high performance SDRAM controller design and the combination of hardware and software

Author
ShuLi
Advisor
NingNing , ChenZhengXian
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP333 Memory
Degree
Master's thesis
Year
2012
Downloads
125
Citations
0

Request the full text

Abstract

With the quick development of mobile communication and multimedia technology,the embedded SoC has been widely used, and its performance requirement has becomemore stringent. Performance of embedded SoC mainly depends on the core speed andthe memory bandwidth. However, with the increasing speed of core, the memorybandwidth has become the buttleneck of SoC performance. On the basis of consideringperformance, cost, power consumption and other factors, SDRAM is a good selectionfor high speed embedded systems. Therefore, the research and design of highperformance SDRAM controller are of great significance.The main object is designing a SDR/DDR SDRAM controller with high efficiencyand stability, testing its perfomace through software benchmark, and fitting into Virtex-4XC4VLX25FF668-10C FPGA. Main jobs include:Firstly, basic principles of SDRAM are introduced, as well as supportedinstructions and typical operation timing. The detailed design scheme, according to theJEDEC SDRAM specification, is introduced. Several common bus protocols andarbitration stratigies are introduced and compared, and those, which can ensurebandwidth and latency, are implemented in the design.Secondly, referencing classical general-purpose memory controlling strategy, theSDRAM controller is optimized under the framework of current SoC. The refreshoperation is excuted as soon as the SDRAM is idle.And the address mapping strategy isalso improved to take full advantage of SDRAM’S row buffer.Finally, the design is integrated into the SoC simulation platform, and functionalverification is made using Cadence NCVerilog. At the same time, preformace aremeasured. The associated FPGA prototype is also built.The result of simulation and FPGA verification demonstrates that the designreaches the expected design objective, and the controller is compatible with multipletypes of SDRAM, includes SDR and DDR. The performance evaluation based onSTREAM benchmark and DMA demonstrates that after using several optimizationstratigies, the SDRAM controller’s bandwidth has been increased by17.8%and the system’s performance has been increased by30.6%.

Table of contents

Summary 4-5 ABSTRACT 5-10 first chapter 10-17 1.1 subject background 10-11 development 1.2 DRAM memory action 11-12 1.3 SDRAM controller and its development 12-14 1.4 research 14-15 1.5 thesis structure structure and properties of 15-17 the second chapter of SDRAM 17-29 2.1 SDRAM structure 17-22 <br / > Fundamentals 2.1.1 SDRAM is 17-20 2.1.2 SDR SDRAM and DDR SDRAM difference 20-22 2.2 SDRAM main command the main timing parameters 22-24 2.3 SDRAM is major operation timing 24 2.4 SDRAM is nbsp 24-28 2.4.1 SDRAM power-on operation ; 24-25 nbsp 2.4.2 SDRAM initialization ; nbsp 25-26 2.4.3 SDRAM read operation ; 26-27 2.4.4 SDRAM writes 27-28 2.4.5 SDRAM refresh operation 28 2.5 Summary 28-29 Chapter III SDRAM controller design 29 -45 3.1 design specifications 29-31 3.2 features common system bus and compare 31-35 3.2.1 AHB bus 31 - 32 3.2.2 AXI bus 32-33 3.2.3 OCP bus 33-34 3.2.4 comparison of various bus protocols and select 34-35 3.3 common features of arbitration and comparative 35-36 3.3.1 fixed priority 35 3.3.2 priority Round Robin compare and select 35-36 3.3.3 various arbitration agreement 36 3.4 bus interface module design 36-37 3.5 SDRAM Interface module design 37-43 3.5.1 SDRAM control state machine design 40-41 3.5.2 SDRAM read and write state machine design 41-42 3.5.3 DQS delay module design 42-43 design nbsp 3.5.4 refresh control module ; 43 3.6 Summary 43 - Chapter 45 optimizing bus interface module select 45-55 4.1 test platform and test procedures 45-47 4.1.1 simulation and test Platform 45-46 4.1.2 STREAM benchmark program 46 4.1.3 DMA access 46-47 4.2 arbitration optimization 47-54 4.2.1 with weighted round robin priority 48-50 4.2.2 QoS bandwidth allocation 50-53 4.2.3 memory access scheduling and optimization 53-54 4.3 Summary 54-55 optimized Chapter SDRAM interface module 55-63 5.1 refresh control optimization 55-58 5.2 Page management optimization 58-60 5.3 address mapping optimization 60-61 5.4 performance comparison 61 5.5 Summary 61-63 Chapter VI SDRAM controller FPGA verification 63-71 build 6.1 FPGA verification platform 63-65 6.2 FPGA integrated and verify the results 65-68 6.3 performance Evaluation 68-69 6.4 Summary 69-71 Chapter VII summary and Outlook 71-73 7.1 summarizes 71-72 7.2 Prospects 72-73 Thanks 73-74 References 74-76

Related dissertations

  1. The Optimized Design and Research of Embedded SDRAM Controller
  2. Design and Realization of Digital Platform for Image Sonar
    ShiShaoWei ·Harbin Engineering University ·2012 ·Master's thesis
  3. LCD System Design Optimization of Mobile Multimedia SoC Chip
    LiuXiang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  4. Design of an AMBA2.0Based SoC Bus Platform
  5. Research and Design of Intelligent Traffic Monitoring Front-end System Based on FPGA
  6. Study and Design of Infrared Image Pre-processing System Based on FPGA
    NiuDaiZuo ·Wuhan University of Technology ·2008 ·Master's thesis
  7. FPGA continuous storage system based
    LiYanPing ·Capital Normal University ·2007 ·Master's thesis
  8. Design and Research of Memory Controller of Video Format Conversion Chip
    GaoChenMing ·Tianjin University ·2006 ·Master's thesis
  9. Performance Analysis of Off-Chip Memory Architecture
    JieYongMei ·Institute of Computing Technology ·2004 ·Master's thesis
  10. USB2.0 high-speed data acquisition system based on radio monitoring system
  11. FPGA-based LCD controller design and implementation
    WangYanRong ·Zhejiang University ·2006 ·Master's thesis
  12. The Design and Implementation of Buffer Manager in DVD Servo Chip
    ChouDaWei ·Dalian University of Technology ·2006 ·Master's thesis
  13. IPC Memory System Design
    ZhangJun ·Northwestern Polytechnical University ·2005 ·Master's thesis
  14. FPGA-based PCI bus interface controller design
  15. Research on SDRAM Memory Interface of Network Processor
  16. Circuit Design and Arbitration Optimization of SDRAM Controller in Network Processor System
  17. Design and Realization of High-Speed Real-time Massive Data Acquisition System
    SunHong ·Tianjin University of Technology ·2009 ·Master's thesis
  18. Research on Rapid Implementation of Image Scene Matching Algorithm Based on DSP/FPGA
  19. Research and Design on Video Post-Processing System in AVS/H.264 Digital Video Decoding SOC Chip
    GongDiJun ·West China University ·2009 ·Master's thesis
  20. Research on the Design of Embedded SDRAM Controller