Design and Application of Memory Controller Based on FPGA
- Author
- ZhaoGuanZuo
- Advisor
- LiangFengMei
- School
- Taiyuan University of Technology
- Major
- Communication and Information System
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 353
- Citations
- 5
Abstract
Currently, SDR SDRAM, DDR SDRAM and DDR2 SDRAM still occupy the main market of high-speed storage devices, and they have been widely used in consumer electronic products,communication products and embedded systems due to great advantages,such as inexpensive price, big capacity and high speed.Therefore if a memory controller suitable to SDR SDRAM, DDR SDRAM and DDR2 SDRAM is made to greatly facilitate design application development and application in different systems, it will have great utility.Based on the study of technical document about SDR SDRAM、DDR SDRA and DDR2 SDRAM formulated by JEDEC, this paper concluded a set of infrastructure for the three memory controllers above by analyzing their internal modules, operation commands and workflow. Through the TOP-DOWN design method, it also realized logical descriptions for each function module in VHDL, and verified each function by synthetic simulation. Then by using Xilinx’s Spartan3 FPGA, hardware verification for SDR SDRAM,DDR SDRAM and DDR2 SDRAM as well as application research in an CMOS image capture system is achieved. The key points in this paper contain several aspects as follows:1. The crucial technologies of the memory controllers such as Structure,Interface andTiming are explored,and research on the Key technical features inside SDR, DDR and DDR2 controller。2. The structure of the general-purpose memory controller divided in terms of clock generation module, control module, command module, instruction decoding module and data path module, as well as the analysis and design for the structure and implementation of each module.3. Using a TOP-DOWN design method and the RTL design accomplishment for each module in VHDL.4. The function simulation by Modelsim as well as the synthesized and logical optimization under Synplify Pro.5. The structure of a hardware simulation platform for each memory controller based on Spartan-3 FPGA of Xilinx corporation and the accomplishment of simulation verification for memory controllers.6. The accomplishment of application research on memory controller in an CMOS image capture system.This thesis fully discussed the design principle and implementation of memory controllers suitable to SDR SDRAM、DDR SDRAM and DDR2 SDRAM .Memory Controllers in this paper not only easy to operate, but also favor memory control mainly referring to SDR SDRAM,DDR SDRAM and DDR2 SDRAM control with the characteristics of applicability and practicability. In view of the result from an image acquisition system, the structure of this memory controller as well as its design can both fulfill the practical engineering requirement.
Table of contents
Abstract 3-5
ABSTRACT 5-11
first chapter 11-17
the
research 1.1 Background 11-15
1.1.1 DRAM development 11-12
1.1.2 SDR SDRAM and DDR/DDR2 SDRAM 12-13
1.1.3 SDR SDRAM and DDR/DDR2 SDRAM controller 13-15
1.2 research work 15-16
1.3 thesis structure 16-17
Chapter II memory controller design of key technologies 17-43
2.1 memory chip's internal structure and its interface signal description 17-24
2.1.1 Addressing principle and storage unit 17-19
2.1.2 SDR/DDR/DDR2 SDRAM pin definition and internal structure 19-24
The
of 2.2 SDR SDRAM and DDR/DDR2 SDRAM described 24-35
2.2.1 electrical initialization 24-25
2.2.2 configuration mode register and extended mode register 25-32
2.2.3 Other relevant commands 32-34
2.2.4 state transition diagram 34-35
2.3 SDR and DDR/DDR2 memory controller functions into 35-43
2.3.1 clock generation module 36-37
2.3.2 Control command module 37-38
2.3.3 instruction decoder module 38-39
2.3.4 initialization sub-module 39-40
2.3.5 self-refresh control sub-module 40
2.3.6 data channel module 40-43
Chapter memory controller design and implementation of 43-61
3.1 overall architecture 43-51
3.1.1 FPGA module 43-45
3.1.2 SDR/DDR/DDR2 memory chip module 45-47
3.1.3 power circuit 47
the
the 3.1.4 interface signal plan 47-51
of 3.2 each memory controller design level 51-52
3.2.1 SDR SDRAM controller design level 51
3.2.2 DDR SDRAM controller design level 51-52
3.2.3 DDR2 SDRAM controller design hierarchy 52
3.3 module RTL-level design and implementation 52-61
3.3.1 clock module (DCM_RTL) 53
3.3.2 Control command module (control_interface_RTL) 53-55
3.3.3 instruction decoding module (command_RTL) 55-56
3.3.4 initialization state machine design 56-58
3.3.5 self-refresh control state machine design 58-59
3.3.6 data channel module (data_path_RTL) 59-61
Chapter memory controller design of integrated simulation and verification 61-71
the
4.1 MODELSIM simulation results analysis 61-65
4.2 logic synthesis optimization 65-68
4.2.1 the Synplify Pro program logic integrated 66-67
4.2.2 logic synthesis results 67-68
4.3 PCB board-level placement and routing key technology 68-70
4.3.1 Signal Integrity Analysis 68-69
The key problem of the
4.3.2 PCB board wiring 69-70
4.4 board-level debugging 70-71
the fifth chapter of the memory controller in the CMOS image acquisition system 71-77
5.1 CMOS image acquisition system 71-72
5.2 memory controller in the acquisition system application 72-77
5.2.1 image acquisition system control module 72-73
5.2.2 memory controller in the acquisition system application 73-74
5.2.3 Design and Implementation 74-77
Chapter Summary and Outlook 77-82
6.1 summarizes 77-81
6.2 Looking 81-82
the
References 82-86
Acknowledgements 86-87
the
pursuing degree during the academic catalog 87-88
Appendix 88-89
Related dissertations
- Research of the Intelligent ATSE Controller Based on FPGA
- The Design of DDR SDRAM Controller
- Design of SDRAM Controller Applied to DDR and DDR2 Architecture
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research