The Research and Implementation of DDR2 SDRAM Controller

Author
LiSheng
Advisor
CaiJuePing
School
Xi'an University of Electronic Science and Technology
Major
Microelectronics and Solid State Electronics
Classification
TP333 Memory
Degree
Master's thesis
Year
2011
Downloads
233
Citations
0

Request the full text

Abstract

Memory, as an indispensable session in a computer, greatly affects the integrated performance of a computer. As the frequency of memory is increasing, the technique demands for the controller have been gradually increased. The operation on DDR2 SDRAM, which related to a number of time parameters and state transformations, is quite complicated. Therefore, the issue, that how to read and write effectively, stably and quickly from the DDR2 SDRAM, becomes a hot and meaningful research direction.This thesis aims to research and develop a DDR2 SDRAM controller, which could be transplantable and able to be read and write correctly. Through studying DDR2 SDRAM controller systemically, this thesis proposed a top-down designing method, using Verilog Language to describe, and Modelsim was used to verify the function. Afterword, the Quartus II software was used to verify the designed controller on Altera StratixII EP2S180F1020 platform, which is a multi-cores verification platform that designed by our laboratory.During design process, the controller was designed as a combination of three different functional major modules, containing a controller module, a data path module and an I/O module. Correspondingly, the major modules were fractionized into sub modules according to diverse specific function. Inclusively, the controller module contains an initialization module and a read/write path module; the data path module contains a read path module and a write path module and the I/O module contains a write interface and a read interface module. Thereby, the architecture of the controller was explicated after multiple functional division and modularization, which was also conductive to the implementation and debugging. When it refers to some key techniques, such as the asynchronous FIFO solves the match problem between the internal and external clock in the architecture of data path module, and also plays a role as data buffer and data integration. The design of I/O module interface uses a single-fold clock to transmit data through rising and falling edges, in contrast to the traditional utilization of multiplier clock. The explanation of the methods of accomplishment of each module was given in the process of the design. The readers may find it is easy to understand through the expounding of architecture diagram and pseudo-code.After completing the design of controller, Verilog Language was used to verify the function. During the function verification process, a DDR2 SDRAM model provided by Micron Company was used for the function verification. The simulation result indicates that a series of functions, such as reading, writing and auto refreshing, were achieved correctly. The post-simulation also presented an excellent performance on timing verification with 200MHz clock frequency on Quartus II.

Table of contents

Abstract 5-6 Abstract 6-10 first chapter 10-14 1.1 Background and Significance 10 1.2 DDR2 SDRAM features and differences 10-12 1.3 This work content and meaning of 12-14 1.3.1 research 12 -13 1.3.2 The significance of this work 13 1.3.3 paper structure 13-14 Chapter DDR2 SDRAM structure and basic operation 14-28 2.1 DDR2 SDRAM of the basic structure and the external pin structure 14-17 2.1.1 DDR2 SDRAM basic structure 14-15 2.1 .2 DDR2 SDRAM external pin description 15-16 2.1.3 DDR2 SDRAM read and write operating principle 16-17 2.2 initialization process 17-21 2.2.1 initialization process 17-18 2.2.2 DDR2 SDRAM controller state transition 18-20 2.2.3 Mode Register 20 2.2.4 Extended Mode Register 20-21 2.3 various basic instruction 21-23 2.3.1 precharge command 21 2.3.2 auto-refresh command 21-22 2.3.3 activation command 22 2.3.4 Read command 22 2.3.5 write command 22-23 2.3.6 Nop command 23 2.4 read and write timing 23-28 2.4.1 DDR2 SDRAM read operation 23-24 2.4.2 DDR2 SDRAM writes 24 2.4.3 Continuous burst read and write 24-28 third Chapter DDR2 SDRAM controller based on Verilog language implementation 28-44 3.1 Hardware Description Language Introduction 28 3.2 DDR2 SDRAM controller system design 28-30 3.2.1 Controller module division 28-29 3.2.2 The relationship between the three main modules 29-30 3.3 control module implementation 30-37 3.3.1 initialization module 31-35 3.3.2 literacy execution module 35-36 3.3.3 Output Commands realization 36-37 3.4 data channel module 37-40 3.4.1 write channel 37-38 3.4.2 read channel 38-40 3.5 I / O modules 40-44 3.5.1 write interface design 41-42 3.5.2 read interface design 42-44 Chapter DDR2 SDRAM controller testing and verification 44-60 4.1 Functions Front imitation verify 44-55 4.1. a verification platform to build 44-47 4.1.2 Modelsim based functional verification software 47-55 4.2 QuartusII software based FPGA verification 55-60 4.2.1 design file input 56-57 4.2.2 design constraints input 57 4.2.3 Comprehensive 57-60 < br /> Chapter Summary and Outlook 60-62 5.1 Summary 60 5.2 insufficient and outlook 60-62 Thanks 62-64 References 64-66 readers during the reading of the results 66-67

Related dissertations

  1. Design and Verification of DDR3SDRAM Controller
  2. Design and Verification of DDR2 SDRAM Controller
  3. Development of Automatic Towel Hemming Machine Control System
    ZhaoXu ·Dalian Polytechnic University ·2012 ·Master's thesis
  4. Research of the Intelligent ATSE Controller Based on FPGA
    ShenYingFeng ·Tianjin University of Technology ·2013 ·Master's thesis
  5. Micro Turbine Power Generation Control System Developed
  6. Research and Development of Multi-funcitional Care Bed Controller Based on CAN Bus
    LiLu ·Hebei University of Technology ·2013 ·Master's thesis
  7. Research and Development of Intelligent Saccharification Controller
    DaiJie ·Chang'an University ·2013 ·Master's thesis
  8. Robust Finite-Time Controller and Filter Design for Lipschitz Nonlinear Systems
    WeiZhiLiang ·Anhui University ·2014 ·Master's thesis
  9. Design and Analysis of Breast Intervention Robot Controller Based on AVR Microcontroller
  10. The Controller Research Based on the Behavior-robot
    ZuoMing ·Henan University of Technology ·2013 ·Master's thesis
  11. Desisn of Switch Based on Shared Structure
    ZuoFeiHu ·WRI ·2012 ·Master's thesis
  12. Research on the Technology of Digital Image Enhancement Based on FPGA
  13. The Design and Application of the MIC Bus Controller
  14. Research and Implementation of Model Machine Based on Combinational Logic Controller
    WangXiaoDong ·Hebei University of Technology ·2012 ·Master's thesis
  15. Research and Design of NAND Flash Controller Based on BCH Codec
  16. Design and Verification of FPGA-based DDR3SDRAM Controller
  17. Design and Implementation of Multi-channel Video Splicing Hardware System
    LiZongDe ·Harbin Engineering University ·2013 ·Master's thesis
  18. Digital Image Displaying System Design and Implementation Based on FPGA
  19. Signal Integrity Simulation and Analysis of High-speed Interconnect
  20. Based on the FPGA electron multiplying CCD imaging system design