SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2693
Implementation of FPGA based Memory Controller for DDR2 SDRAM
Sonali R Majukar1, Arun S Tigadi2, Hansraj Guhilot3
1 PG Student, Electronics and Communication, K.L.E DR. M.S.Sheshgiri Collage of Engineering and Technology,
Belagavi, Karnataka, India
2 Assistant Professor, Electronics and Communication, K.L.E DR. M.S.Sheshgiri Collage of Engineering and
Technology, Belagavi, Karnataka, India
3 Principal, K. C. College of engineering and management studies and research, Thane, Maharashtra, India
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - Multimedia applications plays very important
role in the field of VLSI design and embedded systems. They
need large amount of memory storage with higher bandwidth
and higher speed. To overcome this hazard a memory
controller is required. A memory controller is a device that
stores the data and gives it back whenever required. Realtime
recording of an audio data and finally storingitwithoutlosing
the data is difficult task. This paper describes Double Data
Rate SynchronousDynamicRandomAccessmemorycontroller
for storing the audio data. The design usesfinitestatemachine
(FSM) architecture that is developed for testing of this
algorithm. The tool used to simulate this design is Xilinx ISE
design suit. The hardware used to synthesize this design is
FPGA Spartan-3 kit.
Key Words: FSM, DDR2, SDRAM, FPGA, Xilinx
1. INTRODUCTION
Memory controller is very important component in the
field of VLSI design. DDR2 SDRAM is the higher version of
DDR SDRAM. This project can be used in many of the
applications such as mobile phone communication,
audio/video conferencing, audio based web search,weather
forecasting and many more applications. The major
difference between these is the prefetchlength.The prefetch
length of DDR SDRAM is 2n whereas that of DDR2 SDRAM is
4n meaning the internal bus width of DDR2 SDRAM is 4
times wider than the external bus width.
Now let us compare DDR SDRAM with DDR2 SDRAM. At
certain clock frequency DDR2 SDRAM transfers twice the
data per clock cycle than DDR SDRAM. The power
consumption of DDR SDRAM is 2.5V and that of DDR2
SDRAM is 1.5V. The chip density of DDR SDRAM is 1 GB and
that of DDR2 SDRAM is 4 GB. Thus DDR2 SDRAM has higher
speed, density and low power consumption then DDR
SDRAM.
2.IMPLEMENTATION
Figure 1 represents the basic block diagram of DDR2
SDRAM. It has differential clock CK and CK#. All the input
signals and address signals are samples at the crossing of
positive edge of CK and negative edge of CK#. CKE is the
clock enable which should be kepthighforall theoperations.
CS# is the chip select which should alwaysbelowtokeep the
chip active. RAS#, CAS# and WE# are the three command
inputs which performs all the operations suchasread,write,
refresh, bank active, precharge etc of DDR2 SDRAM. A0 to
A13 is the 14-bit of row address and it has a 16-bit of
bidirectional data bus. DM is the data mask which is the
input for write operation to occur.
Fig -1: Block diagram of DDR2 SDRAM
Fig -2: Truth table of DDR2 SDRAM
When DM is low the input is masked and when DM is
sampled high the write operation occurs. DQS is a
bidirectional data strobe and ODT is on die termination
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2694
which improves the signal quality. Figure 2 represents the
truth table for DDR2 SDRAM which shows all the operation
required for this project.
3.DDR2 SDRAM OPERATIONS
There are five operations refresh, precharge, bank active,
write and read.
3.1 Refresh
Refresh means reading the data from a particular address
and rewriting the same data on that particular address
without modifying it.
Fig -3: Waveform for refresh operation
Figure 3 shows the wave form for refresh operation. When
the clock is enabled (CKE=1) and when CS, RAS, CAS these
signals are low and WE is finally sampled high the refresh
operation occurs. And when CS, CAS, RASaresampledhighit
enters into idle state. The data must be refreshed afterevery
64ms so that the data is not lost. This is the refresh
operation.
3.2 Precharge
Precharge is used to open a row in a selected bank or open a
row in all the banks. Figure 4 shows the wave form for
precharge operation.
Fig -4: Waveform for precharge operation
When the clock is enabled (CKE=1) and when CS, RAS, WE
these signals are low and CAS is high the precharge
operation occurs. The A [10] bit of row address should be
low while precharge operation. And when CS, CAS, RAS are
sampled high it enters into idle state.
3.3 Bank Active
Figure 5 represents the wave form forbank activeoperation.
When the clock is enabled (CKE=1) and when CS, and RAS
these signals are low where as CAS andWEarehighthebank
active operation occurs. And when CS, CAS, RAS aresampled
high it enters into idle state.
Fig -5: Waveform for bank active operation
3.4 Write
Figure 6 represents the wave form for write operation.
When the clock is enabled (CKE=1) and when CS, CAS and
WE these signals are low where as RAS is high the data is
written onto the particular bank and the write operation
occurs. And when CS, CAS, RAS are sampled high it enters
into idle state. While the write operation occurs the A [10]
bit of row address should be low and the correct column
address should be present for the data to be written.
Fig -6: Waveform for write operation
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2695
3.5 Read
Figure 7 represents the wave form for read operation.When
the clock is enabled (CKE=1) and when CS and CAS these
signals are low where as RAS and WE are high the data is
read from the particular bank and the readoperationoccurs.
And when CS, CAS, RAS are sampled high it enters into idle
state.
While the read operation occurs the A [10] bit of row
address should be low and the correct column address
should be present for the data to be read.
Fig -7: Waveform for read operation
4.STATE MACHINE
Fig -8: State machine
Figure 8 represents the combined state machine when any
one of the signal is given high theoperationoccursaccording
to the truth table.
5.Results
Fig -9: Tec schematic of reconfigurable device
Fig -9: Tec schematic with IP
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2696
Fig -10: Simulation result of write signal
The above figure represents the write waveform for DDR2
SDRAM according to the command given the operations are
performed. When CS, CAS and WE these signals are low
where as RAS is high the write operation occurs. When CS
and CAS these signals are low where as RAS and WEare high
the read operation occurs.
6.CONCLUSIONS
SDRAM has become the major component in VLSI design
industry. DDR2 SDRAM memory controller can be used in
many other applications such as image processing, video
processing etc. We can optimize the memory controller in
area, power, latency etc. Therearemanyresearchesgoingon
DDR2 SDRAM controller in the VLSI industry by the
scientists now days.
ACKNOWLEDGEMENT
I thank the management, Principal,HODandstaffofVLSI and
EC Department, K.L.E. Dr.M.S. Sheshgiri College of
engineering and technology, Belagavi, Karnataka, India and
my special thanks to my guide Prof Arun S Tigadi, Asst
professor, Dept of VLSI and for encouraging me for this
work.
REFERENCES
[1] Optimized FPGA-based DDR2 SDRAM controller Jian
Qituo; Liu Liansheng; Peng Yu; Liu Datong 2013 IEEE
11th International Conference on Electronic
Measurement & Instruments.
[2] An innovative design of the DDR/DDR2 SDRAM
compatible controller Darshan Makam; H. V Jayashree
International Conference on Nanoscience, Engineering
and Technology (ICONSET 2011) Year: 2011.
[3] Benny Akesson, Kees Goossens and Markus Ringhofer
published a paper with title ‘A Predictable SDRAM
Memory Controller’.
[4] Prof. Arun.S.Tigadi1, Padmashree. G International
Journal of Advanced Research in Electrical, Electronics
and Instrumentation Engineering (An ISO 3297: 2007
Certified Organization)Vol. 5, Issue 8, August 2016
Design and Implementation of Memory Controller for
Real Time Video Acquisition using DDR3 SDRAM.

More Related Content

What's hot (17)

PDF
Paper id 25201467
IJRAT
 
PPTX
Efficient register renaming and recovery for high-performance processors.
Jinto George
 
PDF
LOGIC OPTIMIZATION USING TECHNOLOGY INDEPENDENT MUX BASED ADDERS IN FPGA
VLSICS Design
 
PDF
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
PDF
EFFICIENT ABSOLUTE DIFFERENCE CIRCUIT FOR SAD COMPUTATION ON FPGA
VLSICS Design
 
PDF
M.Tech: Advanced Computer Architecture Assignment II
Vijayananda Mohire
 
PDF
Taming Latency: Case Studies in MapReduce Data Analytics
EMC
 
PPT
Benchmark Analysis of Multi-core Processor Memory Contention April 2009
James McGalliard
 
DOCX
Abstract The Prospect of 3D-IC
vishnu murthy
 
PDF
Low power sram cell with improved response
eSAT Publishing House
 
PDF
Designing a Fault-Tolerant Channel Extension Network for Internal Recovery
icu812
 
PPT
0507036
meraz rizel
 
PDF
Design & Implementation of Subthreshold Memory Cell design based on the prima...
IOSRJVSP
 
PDF
A MULTI-OBJECTIVE PERSPECTIVE FOR OPERATOR SCHEDULING USING FINEGRAINED DVS A...
VLSICS Design
 
PDF
06340356
Narava Vivek
 
PDF
DESIGN AND ANALYSIS OF A 32-BIT PIPELINED MIPS RISC PROCESSOR
VLSICS Design
 
PDF
Hv2514131415
IJERA Editor
 
Paper id 25201467
IJRAT
 
Efficient register renaming and recovery for high-performance processors.
Jinto George
 
LOGIC OPTIMIZATION USING TECHNOLOGY INDEPENDENT MUX BASED ADDERS IN FPGA
VLSICS Design
 
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
EFFICIENT ABSOLUTE DIFFERENCE CIRCUIT FOR SAD COMPUTATION ON FPGA
VLSICS Design
 
M.Tech: Advanced Computer Architecture Assignment II
Vijayananda Mohire
 
Taming Latency: Case Studies in MapReduce Data Analytics
EMC
 
Benchmark Analysis of Multi-core Processor Memory Contention April 2009
James McGalliard
 
Abstract The Prospect of 3D-IC
vishnu murthy
 
Low power sram cell with improved response
eSAT Publishing House
 
Designing a Fault-Tolerant Channel Extension Network for Internal Recovery
icu812
 
0507036
meraz rizel
 
Design & Implementation of Subthreshold Memory Cell design based on the prima...
IOSRJVSP
 
A MULTI-OBJECTIVE PERSPECTIVE FOR OPERATOR SCHEDULING USING FINEGRAINED DVS A...
VLSICS Design
 
06340356
Narava Vivek
 
DESIGN AND ANALYSIS OF A 32-BIT PIPELINED MIPS RISC PROCESSOR
VLSICS Design
 
Hv2514131415
IJERA Editor
 

Similar to Implementation of FPGA based Memory Controller for DDR2 SDRAM (20)

PDF
Cx4301574577
IJERA Editor
 
PDF
Modeling of DDR4 Memory and Advanced Verifications of DDR4 Memory Subsystem
IRJET Journal
 
PDF
Area Versus Speed Trade-off Analysis of a WiMAX Deinterleaver Circuit Design
ijsrd.com
 
PDF
Design And Verification of AMBA APB Protocol
IJERA Editor
 
PDF
Kj2417641769
IJERA Editor
 
PDF
Project Report Of SRAM Design
Aalay Kapadia
 
PDF
A Simplied Bit-Line Technique for Memory Optimization
ijsrd.com
 
PDF
Bg36347351
IJERA Editor
 
PDF
Design and Simulation of a 16kb Memory using Memory Banking technique
IRJET Journal
 
PDF
Exploiting Multi Core Architectures for Process Speed Up
IJERD Editor
 
PDF
IRJET- An Efficient and Low Power Sram Testing using Clock Gating
IRJET Journal
 
PDF
Low Power 16×16 Bit Multiplier Design using Dadda Algorithm
ijtsrd
 
PDF
Implementation of Carry Skip Adder using PTL
IRJET Journal
 
PDF
IRJET- Signal Integrity Analysis of High Speed Interconnects in SATA Conn...
IRJET Journal
 
PDF
IRJET- Design and Verification of APB Protocol by using System Verilog and Un...
IRJET Journal
 
PDF
I44094245
IJERA Editor
 
PDF
Klessydra-T: Designing Configurable Vector Co-Processors for Multi-Threaded E...
RISC-V International
 
PDF
Designing of telecommand system using system on chip soc for spacecraft contr...
IAEME Publication
 
PDF
Designing of telecommand system using system on chip soc for spacecraft contr...
IAEME Publication
 
PDF
EFFICIENT ABSOLUTE DIFFERENCE CIRCUIT FOR SAD COMPUTATION ON FPGA
VLSICS Design
 
Cx4301574577
IJERA Editor
 
Modeling of DDR4 Memory and Advanced Verifications of DDR4 Memory Subsystem
IRJET Journal
 
Area Versus Speed Trade-off Analysis of a WiMAX Deinterleaver Circuit Design
ijsrd.com
 
Design And Verification of AMBA APB Protocol
IJERA Editor
 
Kj2417641769
IJERA Editor
 
Project Report Of SRAM Design
Aalay Kapadia
 
A Simplied Bit-Line Technique for Memory Optimization
ijsrd.com
 
Bg36347351
IJERA Editor
 
Design and Simulation of a 16kb Memory using Memory Banking technique
IRJET Journal
 
Exploiting Multi Core Architectures for Process Speed Up
IJERD Editor
 
IRJET- An Efficient and Low Power Sram Testing using Clock Gating
IRJET Journal
 
Low Power 16×16 Bit Multiplier Design using Dadda Algorithm
ijtsrd
 
Implementation of Carry Skip Adder using PTL
IRJET Journal
 
IRJET- Signal Integrity Analysis of High Speed Interconnects in SATA Conn...
IRJET Journal
 
IRJET- Design and Verification of APB Protocol by using System Verilog and Un...
IRJET Journal
 
I44094245
IJERA Editor
 
Klessydra-T: Designing Configurable Vector Co-Processors for Multi-Threaded E...
RISC-V International
 
Designing of telecommand system using system on chip soc for spacecraft contr...
IAEME Publication
 
Designing of telecommand system using system on chip soc for spacecraft contr...
IAEME Publication
 
EFFICIENT ABSOLUTE DIFFERENCE CIRCUIT FOR SAD COMPUTATION ON FPGA
VLSICS Design
 
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
IRJET Journal
 
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
PDF
Kiona – A Smart Society Automation Project
IRJET Journal
 
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
IRJET Journal
 
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
IRJET Journal
 
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
IRJET Journal
 
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
IRJET Journal
 
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
IRJET Journal
 
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
IRJET Journal
 
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
IRJET Journal
 
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
IRJET Journal
 
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
IRJET Journal
 
PDF
Breast Cancer Detection using Computer Vision
IRJET Journal
 
PDF
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
PDF
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
IRJET Journal
 
PDF
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
PDF
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
IRJET Journal
 
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
Kiona – A Smart Society Automation Project
IRJET Journal
 
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
IRJET Journal
 
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
IRJET Journal
 
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
IRJET Journal
 
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
IRJET Journal
 
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
IRJET Journal
 
BRAIN TUMOUR DETECTION AND CLASSIFICATION
IRJET Journal
 
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
IRJET Journal
 
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
IRJET Journal
 
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
IRJET Journal
 
Breast Cancer Detection using Computer Vision
IRJET Journal
 
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
IRJET Journal
 
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Ad

Recently uploaded (20)

DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PDF
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
Innowell Capability B0425 - Commercial Buildings.pptx
regobertroza
 
PDF
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
PDF
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Day2 B2 Best.pptx
helenjenefa1
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Design Thinking basics for Engineers.pdf
CMR University
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Innowell Capability B0425 - Commercial Buildings.pptx
regobertroza
 
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 

Implementation of FPGA based Memory Controller for DDR2 SDRAM

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2693 Implementation of FPGA based Memory Controller for DDR2 SDRAM Sonali R Majukar1, Arun S Tigadi2, Hansraj Guhilot3 1 PG Student, Electronics and Communication, K.L.E DR. M.S.Sheshgiri Collage of Engineering and Technology, Belagavi, Karnataka, India 2 Assistant Professor, Electronics and Communication, K.L.E DR. M.S.Sheshgiri Collage of Engineering and Technology, Belagavi, Karnataka, India 3 Principal, K. C. College of engineering and management studies and research, Thane, Maharashtra, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - Multimedia applications plays very important role in the field of VLSI design and embedded systems. They need large amount of memory storage with higher bandwidth and higher speed. To overcome this hazard a memory controller is required. A memory controller is a device that stores the data and gives it back whenever required. Realtime recording of an audio data and finally storingitwithoutlosing the data is difficult task. This paper describes Double Data Rate SynchronousDynamicRandomAccessmemorycontroller for storing the audio data. The design usesfinitestatemachine (FSM) architecture that is developed for testing of this algorithm. The tool used to simulate this design is Xilinx ISE design suit. The hardware used to synthesize this design is FPGA Spartan-3 kit. Key Words: FSM, DDR2, SDRAM, FPGA, Xilinx 1. INTRODUCTION Memory controller is very important component in the field of VLSI design. DDR2 SDRAM is the higher version of DDR SDRAM. This project can be used in many of the applications such as mobile phone communication, audio/video conferencing, audio based web search,weather forecasting and many more applications. The major difference between these is the prefetchlength.The prefetch length of DDR SDRAM is 2n whereas that of DDR2 SDRAM is 4n meaning the internal bus width of DDR2 SDRAM is 4 times wider than the external bus width. Now let us compare DDR SDRAM with DDR2 SDRAM. At certain clock frequency DDR2 SDRAM transfers twice the data per clock cycle than DDR SDRAM. The power consumption of DDR SDRAM is 2.5V and that of DDR2 SDRAM is 1.5V. The chip density of DDR SDRAM is 1 GB and that of DDR2 SDRAM is 4 GB. Thus DDR2 SDRAM has higher speed, density and low power consumption then DDR SDRAM. 2.IMPLEMENTATION Figure 1 represents the basic block diagram of DDR2 SDRAM. It has differential clock CK and CK#. All the input signals and address signals are samples at the crossing of positive edge of CK and negative edge of CK#. CKE is the clock enable which should be kepthighforall theoperations. CS# is the chip select which should alwaysbelowtokeep the chip active. RAS#, CAS# and WE# are the three command inputs which performs all the operations suchasread,write, refresh, bank active, precharge etc of DDR2 SDRAM. A0 to A13 is the 14-bit of row address and it has a 16-bit of bidirectional data bus. DM is the data mask which is the input for write operation to occur. Fig -1: Block diagram of DDR2 SDRAM Fig -2: Truth table of DDR2 SDRAM When DM is low the input is masked and when DM is sampled high the write operation occurs. DQS is a bidirectional data strobe and ODT is on die termination
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2694 which improves the signal quality. Figure 2 represents the truth table for DDR2 SDRAM which shows all the operation required for this project. 3.DDR2 SDRAM OPERATIONS There are five operations refresh, precharge, bank active, write and read. 3.1 Refresh Refresh means reading the data from a particular address and rewriting the same data on that particular address without modifying it. Fig -3: Waveform for refresh operation Figure 3 shows the wave form for refresh operation. When the clock is enabled (CKE=1) and when CS, RAS, CAS these signals are low and WE is finally sampled high the refresh operation occurs. And when CS, CAS, RASaresampledhighit enters into idle state. The data must be refreshed afterevery 64ms so that the data is not lost. This is the refresh operation. 3.2 Precharge Precharge is used to open a row in a selected bank or open a row in all the banks. Figure 4 shows the wave form for precharge operation. Fig -4: Waveform for precharge operation When the clock is enabled (CKE=1) and when CS, RAS, WE these signals are low and CAS is high the precharge operation occurs. The A [10] bit of row address should be low while precharge operation. And when CS, CAS, RAS are sampled high it enters into idle state. 3.3 Bank Active Figure 5 represents the wave form forbank activeoperation. When the clock is enabled (CKE=1) and when CS, and RAS these signals are low where as CAS andWEarehighthebank active operation occurs. And when CS, CAS, RAS aresampled high it enters into idle state. Fig -5: Waveform for bank active operation 3.4 Write Figure 6 represents the wave form for write operation. When the clock is enabled (CKE=1) and when CS, CAS and WE these signals are low where as RAS is high the data is written onto the particular bank and the write operation occurs. And when CS, CAS, RAS are sampled high it enters into idle state. While the write operation occurs the A [10] bit of row address should be low and the correct column address should be present for the data to be written. Fig -6: Waveform for write operation
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2695 3.5 Read Figure 7 represents the wave form for read operation.When the clock is enabled (CKE=1) and when CS and CAS these signals are low where as RAS and WE are high the data is read from the particular bank and the readoperationoccurs. And when CS, CAS, RAS are sampled high it enters into idle state. While the read operation occurs the A [10] bit of row address should be low and the correct column address should be present for the data to be read. Fig -7: Waveform for read operation 4.STATE MACHINE Fig -8: State machine Figure 8 represents the combined state machine when any one of the signal is given high theoperationoccursaccording to the truth table. 5.Results Fig -9: Tec schematic of reconfigurable device Fig -9: Tec schematic with IP
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2696 Fig -10: Simulation result of write signal The above figure represents the write waveform for DDR2 SDRAM according to the command given the operations are performed. When CS, CAS and WE these signals are low where as RAS is high the write operation occurs. When CS and CAS these signals are low where as RAS and WEare high the read operation occurs. 6.CONCLUSIONS SDRAM has become the major component in VLSI design industry. DDR2 SDRAM memory controller can be used in many other applications such as image processing, video processing etc. We can optimize the memory controller in area, power, latency etc. Therearemanyresearchesgoingon DDR2 SDRAM controller in the VLSI industry by the scientists now days. ACKNOWLEDGEMENT I thank the management, Principal,HODandstaffofVLSI and EC Department, K.L.E. Dr.M.S. Sheshgiri College of engineering and technology, Belagavi, Karnataka, India and my special thanks to my guide Prof Arun S Tigadi, Asst professor, Dept of VLSI and for encouraging me for this work. REFERENCES [1] Optimized FPGA-based DDR2 SDRAM controller Jian Qituo; Liu Liansheng; Peng Yu; Liu Datong 2013 IEEE 11th International Conference on Electronic Measurement & Instruments. [2] An innovative design of the DDR/DDR2 SDRAM compatible controller Darshan Makam; H. V Jayashree International Conference on Nanoscience, Engineering and Technology (ICONSET 2011) Year: 2011. [3] Benny Akesson, Kees Goossens and Markus Ringhofer published a paper with title ‘A Predictable SDRAM Memory Controller’. [4] Prof. Arun.S.Tigadi1, Padmashree. G International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering (An ISO 3297: 2007 Certified Organization)Vol. 5, Issue 8, August 2016 Design and Implementation of Memory Controller for Real Time Video Acquisition using DDR3 SDRAM.