IMPLEMENTATION OF DDR I SDRAM MEMORY CONTROLLER USING ACTEL FPGA

Similar documents
Design and VLSI Implementation of DDR SDRAM Controller for High Speed Applications

ISSN: [Bilani* et al.,7(2): February, 2018] Impact Factor: 5.164

DESIGN AND IMPLEMENTATION OF SDR SDRAM CONTROLLER IN VHDL. Shruti Hathwalia* 1, Meenakshi Yadav 2

Computer Systems Laboratory Sungkyunkwan University

Structure of Computer Systems. advantage of low latency, read and write operations with auto-precharge are recommended.

ECE 485/585 Microprocessor System Design

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Lecture 18: DRAM Technologies

Design and Implementation of High Performance DDR3 SDRAM controller

ISSN Vol.05, Issue.12, December-2017, Pages:

Chapter 5 Internal Memory

The Memory Hierarchy 1

COMPUTER ARCHITECTURES

Caches. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

Design with Microprocessors

Architecture of An AHB Compliant SDRAM Memory Controller

Architectural Differences nc. DRAM devices are accessed with a multiplexed address scheme. Each unit of data is accessed by first selecting its row ad

Mainstream Computer System Components

A Universal Test Pattern Generator for DDR SDRAM *

Internal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II

CS650 Computer Architecture. Lecture 9 Memory Hierarchy - Main Memory

ECE 485/585 Microprocessor System Design

Mainstream Computer System Components CPU Core 2 GHz GHz 4-way Superscaler (RISC or RISC-core (x86): Dynamic scheduling, Hardware speculation

of Soft Core Processor Clock Synchronization DDR Controller and SDRAM by Using RISC Architecture

Chapter 2: Memory Hierarchy Design (Part 3) Introduction Caches Main Memory (Section 2.2) Virtual Memory (Section 2.4, Appendix B.4, B.

EE414 Embedded Systems Ch 5. Memory Part 2/2

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

Datasheet. Zetta 4Gbit DDR3L SDRAM. Features VDD=VDDQ=1.35V / V. Fully differential clock inputs (CK, CK ) operation

TECHNOLOGY BRIEF. Double Data Rate SDRAM: Fast Performance at an Economical Price EXECUTIVE SUMMARY C ONTENTS

Design and Implementation of an AHB SRAM Memory Controller

The Memory Component

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

Copyright 2012, Elsevier Inc. All rights reserved.

Basics DRAM ORGANIZATION. Storage element (capacitor) Data In/Out Buffers. Word Line. Bit Line. Switching element HIGH-SPEED MEMORY SYSTEMS

Computer Architecture. A Quantitative Approach, Fifth Edition. Chapter 2. Memory Hierarchy Design. Copyright 2012, Elsevier Inc. All rights reserved.

CS 320 February 2, 2018 Ch 5 Memory

a) Memory management unit b) CPU c) PCI d) None of the mentioned

DDR SDRAM UDIMM. Draft 9/ 9/ MT18VDDT6472A 512MB 1 MT18VDDT12872A 1GB For component data sheets, refer to Micron s Web site:

High Performance AXI Protocol Based Improved DDR3 Memory Controller With Improved Memory Bandwidth

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

Introduction read-only memory random access memory

DDR SDRAM UDIMM MT16VDDT6464A 512MB MT16VDDT12864A 1GB MT16VDDT25664A 2GB

Copyright 2012, Elsevier Inc. All rights reserved.

Chapter Seven. Memories: Review. Exploiting Memory Hierarchy CACHE MEMORY AND VIRTUAL MEMORY

Topic 21: Memory Technology

Topic 21: Memory Technology

International Journal Of Advanced Research In Engineering Technology & Sciences

Memory Challenges. Issues & challenges in memory design: Cost Performance Power Scalability

Options. Data Rate (MT/s) CL = 3 CL = 2.5 CL = 2-40B PC PC PC

LECTURE 5: MEMORY HIERARCHY DESIGN

CS 261 Fall Mike Lam, Professor. Memory

Computer Architecture A Quantitative Approach, Fifth Edition. Chapter 2. Memory Hierarchy Design. Copyright 2012, Elsevier Inc. All rights reserved.

Chapter 02. Authors: John Hennessy & David Patterson. Copyright 2011, Elsevier Inc. All rights Reserved. 1

Multilevel Memories. Joel Emer Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology

Adapted from David Patterson s slides on graduate computer architecture

Designing of DDR SDRAM Controller with User Interface

DDR SDRAM UDIMM MT8VDDT3264A 256MB MT8VDDT6464A 512MB For component data sheets, refer to Micron s Web site:

Improved DDR3 SDRAM with Added Proficiencies

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

NVIDIA nforce IGP TwinBank Memory Architecture

DRAM Main Memory. Dual Inline Memory Module (DIMM)

EEM 486: Computer Architecture. Lecture 9. Memory

COSC 6385 Computer Architecture - Memory Hierarchies (III)

DDR2 SDRAM UDIMM MT8HTF12864AZ 1GB

1. The values of t RCD and t RP for -335 modules show 18ns to align with industry specifications; actual DDR SDRAM device specifications are 15ns.

,e-pg PATHSHALA- Computer Science Computer Architecture Module 25 Memory Hierarchy Design - Basics

DDR SDRAM SODIMM MT8VDDT1664H 128MB 1. MT8VDDT3264H 256MB 2 MT8VDDT6464H 512MB For component data sheets, refer to Micron s Web site:

Bandwidth, Area Efficient and Target Device Independent DDR SDRAM Controller

Performance Evolution of DDR3 SDRAM Controller for Communication Networks

Memories: Memory Technology

EI338: Computer Systems and Engineering (Computer Architecture & Operating Systems)

Memory systems. Memory technology. Memory technology Memory hierarchy Virtual memory

COSC 6385 Computer Architecture - Memory Hierarchies (II)

Computer Memory Basic Concepts. Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University

Mark Redekopp, All rights reserved. EE 352 Unit 10. Memory System Overview SRAM vs. DRAM DMA & Endian-ness

Chapter 5 Large and Fast: Exploiting Memory Hierarchy (Part 1)

CS311 Lecture 21: SRAM/DRAM/FLASH

The Memory Hierarchy. Cache, Main Memory, and Virtual Memory (Part 2)

Chapter 8 Memory Basics

The University of Adelaide, School of Computer Science 13 September 2018

Chapter 5. Large and Fast: Exploiting Memory Hierarchy

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. 5 th. Edition. Chapter 5. Large and Fast: Exploiting Memory Hierarchy

Interfacing FPGAs with High Speed Memory Devices

DDR2: The New DRAM Standard

Recap: Machine Organization

CSE502: Computer Architecture CSE 502: Computer Architecture

Digital Blocks Semiconductor IP

Accessing DDR Memory in your FPGA Design

An introduction to SDRAM and memory controllers. 5kk73

ECE 485/585 Microprocessor System Design

PDF created with pdffactory Pro trial version How Computer Memory Works by Jeff Tyson. Introduction to How Computer Memory Works

DDR SDRAM SODIMM MT16VDDF6464H 512MB MT16VDDF12864H 1GB

Memory Device Evolution

Copyright 2012, Elsevier Inc. All rights reserved.

Lecture 15: DRAM Main Memory Systems. Today: DRAM basics and innovations (Section 2.3)

Computer Structure. The Uncore. Computer Structure 2013 Uncore

Memory System Overview. DMA & Endian-ness. Technology. Architectural. Problem: The Memory Wall

Transcription:

IMPLEMENTATION OF DDR I SDRAM MEMORY CONTROLLER USING ACTEL FPGA Vivek V S 1, Preethi R 2, Nischal M N 3, Monisha Priya G 4, Pratima A 5 1,2,3,4,5 School of Electronics and Communication, REVA university,(india) ABSTRACT The efficient memory controller plays a very important role in developing high end application, where it doesn t contain microprocessors. Command signals for memory refresh, read and write operation and SDRAM initialisation has been provided by memory controller. The work will mainly focus on FPGA implementation of Double Data Rate(DDR) SDRAM controller.the DDR SDRAM controller is placed in between the DDR SDRAM and bus master. The operation of DDR SDRAM controller is to simplify the SDRAM command interface to standard system read/write cycle. The proposed design will offer dedicated power utilisation, reduce the gate count, reduce the area of chip and improves the speed of the system by reducing the gates. The proposed design is implemented on Actel FPGA platform. Keywords: Burst access, DDR SDRAM, FPGA (Field Programmable Gate Arrays), SDR, VHDL. I. INTRODUCTION Single data rate (SDR) SDRAM (Synchronous Dynamic Random Access Memory) drives/latches the data and command information on the rising edge of the synchronous clock. DDR SDRAM is a type of SDRAM that inherits technologies from SDR SDRAM and realizes faster operation and lower power consumption. DDR SDRAM most commonly used in various embedded application like signal processing, networking, image/video processing etc which require cheap and fast memory. DDR SDRAM was the initial development of SDRAM memory technology, to improve its performance. DDR SDRAM utilises various techniques including very tight timing controls, to increase the data transfer rates by almost a fact of two[1][2]. The very tight timing requirements often require the use of phase locked loops and self-calibration techniques to ensure the timing is sufficiently accurate. DDR SDRAM achieves a data transfer rate that is twice the clock frequency by employing 2-n bit prefetch architecture [3]. In this architecture, 2n bits of data are transferred from the memory cell array to the I/O buffer every clock. Data transferred to the I/O buffer is output of n bits at a time, for every half clock (both rising and falling edges of the clock (CK). The proposed memory controller and CoreDDR is used to interface memory to rest of the embedded system design. CoreDDR provides a high-performance interface to double data rate (DDR). CoreDDR accepts read and write commands using the simple local bus interface and translates this request to the command sequences required by SDRAM devices. It also performs all initialization and refresh 640 P a g e

functions using memory controller. This Memory controller design has been implemented in VHDL. The focus of this work is to design and implement DDR SDRAM controller which provides memory interface between the DDR SDRAM memory module and main embedded system. II. LITERATURE REVIEW Advanced operating systems, like Windows, started the RAM era. The PCs that were used, required high capacity of RAM,for implementing various kinds of operations. The first Windows operated PCs could address 2 MB RAM, but 4 MB soon became standardized.the development has continued through the 90s, as RAM prices have dropped dramatically. Today no PC is less than 32 MB RAM. From the original SDRAM, further generations of DDR (or DDR1) and DDR2 and then DDR3 emerged, with DDR4 currently being designed and anticipated to be available in 2012. Although the concept of synchronous DRAM was primitive,it was used in early Intel processors, it was only in 1993 that SDRAM began its path to universal acceptance in the electronics industry. In 1993, Samsung introduced its KM48SL2000 synchronous DRAM, and by 2000, SDRAM had replaced virtually all other types of DRAM in modern computers, because of its greater performance. SDRAM latency is not inherently lower (faster) than asynchronous DRAM[4]. Indeed, early SDRAM was somewhat slower than contemporaneous burst EDO DRAM due to the additional logic. The benefits of SDRAM's internal buffering come from its ability to interleave operations to multiple banks of memory, thereby increasing effective bandwidth[5]. III. FUNCTIONAL DESCRIPTION 3.1 Description of DDR FIG 1. BLOCK DIAGRAM OF CORE DDR SYSTEM Double data rate(ddr) is advanced version of dynamic random access memory (SDRAM). SDRAM waits for a clock signal before responding to control input. DDR uses both raising and falling edge of the clock signal. The main difference between DDR SDRAM is how many times data is transmitted within each cycle. DDR 641 P a g e

transfers data twice per clock cycle whereas SDRAM sends signals once per clock cycle, but same frequencies are used by both DDR and SDRAM. FIG 2. DDR SDRAM CONTROLLER BLOCK DIAGRAM 3.1 Description of DDR SDRAM The DDR SDRAM uses double data rate architecture to achieve high speed data transfer. DDR SD RAM transfers data on both falling and raising edge of the clock cycle. This DDR controller is implemented in a system between DDR and bus master[5]. DDR center keeps up a data base of all banks actuated and also lines enacted in every bank. This data, which the DDR SDRAM controller selects dynamic or pre-charge command if it is required. This inactivity of read /write commands are then issued to the DDR SDRAM. DDR SDRAM controller deals with initiating / pre-charging the banks, as user needs to provide read/write command. 3.1.1 Read operation in DDR SDRAM The Flowchart explains read operations in DDR SDRAM.When data is initialized in read operation data is read from memory at 2x clock cycle, ensures that the data is read at both the half cycles, This intimates data is extracted at high speed in memory. 642 P a g e

INITIALIZATION READ TRANSFER TO MEMORY AT 2X CLOCK FUNCTION STORED IN REGISTER OUTPUT DATA IN 2 HALF OUTPUT 3.1.2 Write operation in DDR SDRAM When the write command is initialized, the data is first read and stored in temporary register.when a clock cycle occurs, the data from input side is sent to the memory in second half clock cycle which then gets stored in the memory[6]. The data is not written to the memory directly but it is stored in the register and then transferred to the memory. INITIALIZATION WRITE READ STORE DATA IN REG INPUT DATA IN 2 HALF CLOCK CYCLE AND STORE TRANSFER TO MEMORY AT 2X CLOCK FUNCTION STORE IN REGISTER MEMORY IV. CONCLUSION In this paper an effective functional DDR SDRAM is implemented. The controller generates different types of control and timing signals, which synchronous the timing and control the flow of the operation. The memory system operates at double data rate frequency of processor without affecting the performance The proposed DDR controller is implemented with 1Gb DDR SDRAM. It is a high speed CMOS dynamic random access 643 P a g e

memory containing 1,073,741,821 bits. It is internally configured as a 4 bank DRAM. The proposed design is modelled in VHDL and then simulated in FPGA. REFERENCES [1]. General DDR SDRAM Functionality Micron Technology Micron Technology, Inc., reserves the right to change products or specifications without notice 2003 Micron Technology, Inc. All rights reserved. [2]. 1Gb: x4, x8, x16 DDR SDRAM Micron. Micron Technology, Inc., reserves the right to change products or specifications without notice 2003 Micron Technology, Inc. All rights reserved. [3]. Burchardt, A., Hekstra-Nowacka, E., and Chauhan, A., A Real-time Streaming Memory Controller, Design, Automation and Test in Europe 2005 Proceedings, 2005, vol.3, pp. 20-25. [4]. Heithecker, S. and Ernst, R., Traffic Shaping for An FPGA Based SDRAM Controller with Complex QoS Requirements, Design Automation Conference 2005,June 2005, pp. 575-578. [5]. ALTERA, DDR SDRAM Controller White Paper, Ver1.1, 2002. [6]. Guo Li, Zhang Ying, Li Ning, and Guo Yang, TheFeature of DDR SDRAM and the Implementation of DDR SDRAM Controllers via VHDL, The Journal of China Universities of Posts and Telecommunications, 2002, vol.9,no. 1, pp. 61-65. 644 P a g e