SlideShare a Scribd company logo
1 of 6
Download to read offline
International Journal of Engineering Research and Development
e-ISSN: 2278-067X, p-ISSN: 2278-800X, www.ijerd.com
Volume 8, Issue 2 (August 2013), PP.76-81
76
Design of Dual Port SDRAM Controller with Time Slot
Register
Surender Reddy Theleru1
, Y B T Sundari2,
Dr. G.Laxmi Narayana3
,
1
Associate Professor, Dept of ECE, Aurora’s Scientific & Technological Institute, Hyderabad, India.
2
Assistant Professor, Dept of ECE,Aurora’s Scientific & Technological Institute, Hyderabad, India.
3
Director, Aurora’s Scientific,Technological and Research Academy, Hyderabad, India.
Abstract:- The main purpose of this paper is to verify the SDRAM controller data transfer function when
accessing data from multiple ports. This verification is done with memory testers using slot mechanism.
Random data sent to SDRAM from two ports, one port at a time. The SDRAM controller reads data
from two random generators through different memory testers.
SDRAM controller writes data in to SDRAM, and then read data and send to concerned memory tester.
Compare the read and write data in Memory testers.
A Dual port module is added with SDRAM controller, to switch data accessing from port alternately.
Index terms:- Dualport, Slot timing, Switching operation and Comparing Read/write data.
I. INTRODUCTION
Functional simulation of dual port SDRAM controller mainly consists of 4 modules Random data
generator, Memory tester, Dual port and SDRAM controller.
A. Random data generator
It is a 16-bit serial data generator in which data that is produced changes for every clock; this is
achieved by XOR’ing the Outputs of last four flip flops and is feedback as the input to the first flip-flop.
B. Memory tester
Memory testers are used to compared the written data and read data to/from SDRAM. Its working
depends upon the pipelined operation or non-pipelined operation. In pipelined operation all the data from the
given range of address which is read and written are compared whereas for non-pipelined operation data in
given address is compares individually, if there is any mismatch between the read and written data it indicates
an error.
C. Dual port Module
This design is used to select any one of the two ports at a time. The data read follows the same bus as
written and activated port is shown as the status.
D. SDRAM Controller
SDRAM controller accepts simple read and write requests on the host-side and generates the timed
waveforms required to perform these operations on the SDRAM. With pipelining enabled, read and write
operations within a row of the SDRAM can be dispatched for every clock cycle. The controller also manages the
refresh operations needed to keep the SDRAM data valid, and will place the SDRAM in a self-refresh mode so
data is retained even if the controller ceases operation.
Controller works on the master clock of 133 MHz. The cycles related to initialization cycles, RAS
(Row address strobe) cycles, RCD (activation to read/write) cycles, refresh cycles, mode cycles, CAS (column
address strobe) cycles are specific for given RAM. The Micron soft module SDRAM (MT48LC16M16A2 – 4
Meg x 16 x 4 banks) is used here.
Design of Dual Port SDRAM Controller with Time Slot Register
77
BLOCK DIAGRAM
Fig1. Functional simulation of dualport SDRAMcontroller.
II. RANDOMDATA GENERATOR
The random data generator generates a random 16 bit data using a shift registers.
To go through the sequence of states for the register, it is assumed that the shift register is in the seed
state and the random output starts from that seed state and changes for every clock.
The maximum number of states it can have with four stages shift register. So this sequence is called the
maximum length sequence (MLS) and is given by 2n
-1. Where n is the number of stages in the shift register.
Enter a given clock frequency, the periodicity of the randomness increases rapidly with the number of stages of
the register increases.
The circuit shown in fig2 for generate a 16-bit random data, in this, the output from 12,13,14,15 stages
of left shift register is XORed and feed as input to 16th
stage of shift register.
Table1. Random generator output values
Clock Output Data
Clk-1 Seed– FFFF
2 FFFE
3 FFFC
4 FFF8
5 FFF0
6 FFE0
7 FFC0
8 FF80
9 FF00
10 FE00
11 FC00
12 F800
… …….
…. …….
….. …….
….. …….
Design of Dual Port SDRAM Controller with Time Slot Register
78
III. DUAL PORT MODULE
The dual port module is used to select any one of the two ports, either port0 or port1. Data will be
accessed from any of two ports, divide the total memory in to two memory slots.
The address and data is directed to port activated at that slot, so that read and write operation will be initiated or
started from that port.
16-bit Time-slot allocation register is used to switch between port0, port1. If address register content is
1111111111110000( for 16 bit address),the Port0 will be activated for four clock cyclles, then port1 activates
for remaining 12 clock cycles.
Different signals of the ports are indicated in the following diagram.
Fig3. Dualport signals
The possible operations of dual port module
Case1: Switching operation
Switching is occurs if a read or write operation is requested on this port that is not currently active:
 No R/W operation is being performed on the active port or
 A R/W operation is in progress on the active port, but the time-slot allocation register is giving precedence
to the inactive port.
 It indicates when an operation on the active port is in-progress and can't be interrupted by a switch to the
other port.
Case2: Slot timing
Update the time-slot allocation shift-register. The port with priority is indicated by the least-significant bit of
the register. The register is rotated right if:
 The current R/W operation has started.
 Both ports are requesting R/W operations (indicating contention), and
 The currently active port matches the port that currently has priority.
 Under these conditions, the current time slot port allocation has been used so the shift register is rotated
right to bring the next port time-slot allocation bit into play.
Case3: Port activation in next cycle
The active port is switched on
 There are no pending operations in progress, and
 The currently active port has finished its current R/W operation
 The port switch indicator is active.
Case4: Port management with gate
Gate is open for the active port to initiate new R/W operations to the SDRAM controller.
If any port request for R/W operation, when any operations are in progress with other port, gate is
closed to prevent R/W operations from requested port.
The gate is re-opened once all operations in progress are completed, at that time the switch to other port
is indicated, it can issue its R/W commands.
IV. MEMORY TESTER
This module is required along with Random data generator to test the data that has been read and
written. The data that is generated is first given to memory tester through dualport module, it is written into
SDRAM using SDRAM controller and dual port module.
In order to write/read the data it is required to check whether it is a pipelined or non-pipelined
operation. In case of pipelined operation, it writes the data into all the addresses specified at a time and for non-
pipelined the data will be written location by location.
Design of Dual Port SDRAM Controller with Time Slot Register
79
The entire operation is divided into 5-states as
 Initialization
 Load
 Compare
 Empty pipe
 stop
Initialization: In this state the read and write are disabled before going to further states and the starting address
is loaded into the address variable. Then it goes to next state i.e. load.
Load: First it looks for non-pipelined or pipelined operation. For pipelined operation the write operation is
enabled and if operation has begun then addr-variable is incremented till the end address is reached and then
data is written into SDRAM.
Whereas for non-pipelined data is written, address by address which is incremented in steps to reach
the end address by checking whether previous write operation is done.
Compare: Written data in SDRAM is compare with read data from SDRAM. In case of pipeline operation the
comparison takes place at once. In case of non-pipeline operation the comparison will be done location by
location. If the data is not as written data, then it is indicated as an error.
Empty Pipe: In pipelined operation, if there are no read/write operations, it clears the pipeline. If any operation
is pending it waits till it is completed.
Stop: At the end of memory testing operation it stops. If the comparison has to repeat starting from initialization
then repeat the process. The entire memory testing operation can be represented in a form of a state diagram as
Pipeline Operation
Fig4. Pipeline operation.
Fig5. Non-pipeline operation.
Design of Dual Port SDRAM Controller with Time Slot Register
80
V. SIMULATION RESULTS
In simulation of dual port SDRAM controller, port 0 and port 1 are reading and writing data separately
from different memory testers using slot mechanism. In simulation see the output k is 1 and 0 gives respective
ports 1 and 0.
Design of Dual Port SDRAM Controller with Time Slot Register
81
VI. CONCLUSION
In this design switching of two ports can done manually depend on bits provided in generic 16-bit
Timeslot register.
Upgrade this paper to multiport, by dividing address locations into multiple slots and accessing these
multiple ports using provided value in 16-bit Timeslot register.
Here two different modules instead of memory testers to continuously send data and loaded in to SDRAM from
two ports.
REFERENCES
[1] XSA board SDRAM controller, application note by D. Vandan Bout.
[2] Datasheet on Synchronous SDRAM on site: www.micron.com/dramds.
[3] Data sheet on Samsung CMOS 256 MB SDRAM specification.
[4] Using Block RAM in Spartan-3 FPGAs in Xilinx.
[5] Fundamentals of Digital Logic With Verilog Design-Stephen brown, Zvonko Vranesic-2002-Tata
McGram-Hill Edition.
[6] Design through Verilog HDL-T.R. Padmanabhan, B.Bala Tripura Sundari-2004-John Wiley & Sons,
Inc.
AUTHORS
Mr. Surender Reddy Theleru, obtained his B.Tech(Electronics & Communication
Engineering) in 2002 from JNTU Hyderabad and M.Tech(Digital Systems & Computer
Electronics) from JNTU Anantapur in in 2005. He is working as Assoc .professor in Aurora’s
scientific and Technological Institute, Ghatkesar, Hyderabad. His main interests in VLSI
design and Embedded processors. His current research area is Low power VLSI design and
ARM9 cortex in FPGA design. He is a life member of IETE.
Laxminarayana.G He holds B.E. from OU Hyderabad, M.Tech from Indian institute of
Science and Ph.D from JNTU Hyderabad. Presently he is Director in Aurora’s
Scientific,Technological and Research Academy, Hyderabad. His research area includes
GPS/INS integration and its applications, VLSI design. He received the best teacher award At
SNIST. He is a member of IEEE, ISTE and life member of IETE.
Y.B.T.Sundari, obtained her B.Tech (ECE) in 2008 from JNTU Hyderabad and M.Tech
(VLSI System Design) from JNTU Hyderabad in 2012. She is working as Assistant professor
in Electronics and Communication Engineering Department at Aurora’s Scientific and
Technological Institute, Ghatkesar, Hyderabad. Her current research and interests in VLSI,
Embedded systems and Digital image processing. She is a life member of IEEE.

More Related Content

What's hot

Intel 8257 programmable dma controller
Intel 8257 programmable dma controllerIntel 8257 programmable dma controller
Intel 8257 programmable dma controller
abdulugc
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
Aisu
 
8251
82518251
8251
Aisu
 

What's hot (19)

Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9 Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9
 
ARM- Programmer's Model
ARM- Programmer's ModelARM- Programmer's Model
ARM- Programmer's Model
 
Intel 8257 programmable dma controller
Intel 8257 programmable dma controllerIntel 8257 programmable dma controller
Intel 8257 programmable dma controller
 
rfio
rfiorfio
rfio
 
Microprocessors-based systems (under graduate course) Lecture 3 of 9
Microprocessors-based systems (under graduate course) Lecture 3 of 9 Microprocessors-based systems (under graduate course) Lecture 3 of 9
Microprocessors-based systems (under graduate course) Lecture 3 of 9
 
Microprocessors-based systems (under graduate course) Lecture 8 of 9
Microprocessors-based systems (under graduate course) Lecture 8 of 9 Microprocessors-based systems (under graduate course) Lecture 8 of 9
Microprocessors-based systems (under graduate course) Lecture 8 of 9
 
Cao
CaoCao
Cao
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
 
DMA
DMADMA
DMA
 
SRAM_System_Design_Report
SRAM_System_Design_ReportSRAM_System_Design_Report
SRAM_System_Design_Report
 
Project
ProjectProject
Project
 
Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9 Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
8251
82518251
8251
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 
Microprocessors-based systems (under graduate course) Lecture 4 of 9
Microprocessors-based systems (under graduate course) Lecture 4 of 9 Microprocessors-based systems (under graduate course) Lecture 4 of 9
Microprocessors-based systems (under graduate course) Lecture 4 of 9
 
Important questions
Important questionsImportant questions
Important questions
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 

Viewers also liked

Daily mcx newsletter 20 aug 2013
Daily mcx newsletter 20 aug 2013Daily mcx newsletter 20 aug 2013
Daily mcx newsletter 20 aug 2013
Richa Sharma
 
Ijarcet vol-2-issue-7-2281-2286
Ijarcet vol-2-issue-7-2281-2286Ijarcet vol-2-issue-7-2281-2286
Ijarcet vol-2-issue-7-2281-2286
Editor IJARCET
 
технология
технологиятехнология
технология
englishfrau
 
Operational Research
Operational ResearchOperational Research
Operational Research
David Loekito
 
Dian yuni lestari power point xii ips 2
Dian yuni lestari power point xii ips 2Dian yuni lestari power point xii ips 2
Dian yuni lestari power point xii ips 2
Paarief Udin
 
Volume 2-issue-6-2046-2051
Volume 2-issue-6-2046-2051Volume 2-issue-6-2046-2051
Volume 2-issue-6-2046-2051
Editor IJARCET
 
منتقى الألفاظ بتقريب علوم الحديث للحفاظ
منتقى الألفاظ بتقريب علوم الحديث للحفاظمنتقى الألفاظ بتقريب علوم الحديث للحفاظ
منتقى الألفاظ بتقريب علوم الحديث للحفاظ
محمد ابو الهيجاء
 
Volume 2-issue-6-2009-2015
Volume 2-issue-6-2009-2015Volume 2-issue-6-2009-2015
Volume 2-issue-6-2009-2015
Editor IJARCET
 
Helwi & faridah xii-ipa-1
Helwi & faridah  xii-ipa-1Helwi & faridah  xii-ipa-1
Helwi & faridah xii-ipa-1
Paarief Udin
 
ใบงานสำรวจตนเอง M6 46
ใบงานสำรวจตนเอง M6 46ใบงานสำรวจตนเอง M6 46
ใบงานสำรวจตนเอง M6 46
Chayagon Mongkonsawat
 
Ijarcet vol-2-issue-3-904-915
Ijarcet vol-2-issue-3-904-915Ijarcet vol-2-issue-3-904-915
Ijarcet vol-2-issue-3-904-915
Editor IJARCET
 
Lusan daft punk
Lusan daft punkLusan daft punk
Lusan daft punk
xmarloesvo
 

Viewers also liked (20)

Hyperlink dipa
Hyperlink dipaHyperlink dipa
Hyperlink dipa
 
Daily mcx newsletter 20 aug 2013
Daily mcx newsletter 20 aug 2013Daily mcx newsletter 20 aug 2013
Daily mcx newsletter 20 aug 2013
 
Ijarcet vol-2-issue-7-2281-2286
Ijarcet vol-2-issue-7-2281-2286Ijarcet vol-2-issue-7-2281-2286
Ijarcet vol-2-issue-7-2281-2286
 
технология
технологиятехнология
технология
 
Operational Research
Operational ResearchOperational Research
Operational Research
 
Dian yuni lestari power point xii ips 2
Dian yuni lestari power point xii ips 2Dian yuni lestari power point xii ips 2
Dian yuni lestari power point xii ips 2
 
Volume 2-issue-6-2046-2051
Volume 2-issue-6-2046-2051Volume 2-issue-6-2046-2051
Volume 2-issue-6-2046-2051
 
منتقى الألفاظ بتقريب علوم الحديث للحفاظ
منتقى الألفاظ بتقريب علوم الحديث للحفاظمنتقى الألفاظ بتقريب علوم الحديث للحفاظ
منتقى الألفاظ بتقريب علوم الحديث للحفاظ
 
Volume 2-issue-6-2009-2015
Volume 2-issue-6-2009-2015Volume 2-issue-6-2009-2015
Volume 2-issue-6-2009-2015
 
1904 1908
1904 19081904 1908
1904 1908
 
Brayan martinez gbi
Brayan martinez gbiBrayan martinez gbi
Brayan martinez gbi
 
Toàn cảnh văn hóa, thể thao và du lịch – Số 1037 –vanhien.vn
Toàn cảnh văn hóa, thể thao và du lịch – Số 1037 –vanhien.vnToàn cảnh văn hóa, thể thao và du lịch – Số 1037 –vanhien.vn
Toàn cảnh văn hóa, thể thao và du lịch – Số 1037 –vanhien.vn
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Helwi & faridah xii-ipa-1
Helwi & faridah  xii-ipa-1Helwi & faridah  xii-ipa-1
Helwi & faridah xii-ipa-1
 
ใบงานสำรวจตนเอง M6 46
ใบงานสำรวจตนเอง M6 46ใบงานสำรวจตนเอง M6 46
ใบงานสำรวจตนเอง M6 46
 
El matrimonio
El matrimonioEl matrimonio
El matrimonio
 
Ijarcet vol-2-issue-3-904-915
Ijarcet vol-2-issue-3-904-915Ijarcet vol-2-issue-3-904-915
Ijarcet vol-2-issue-3-904-915
 
Lusan daft punk
Lusan daft punkLusan daft punk
Lusan daft punk
 
UK RepositoryNet+ Round Table Presentation on Lessons Learnt - Andrew Doward ...
UK RepositoryNet+ Round Table Presentation on Lessons Learnt - Andrew Doward ...UK RepositoryNet+ Round Table Presentation on Lessons Learnt - Andrew Doward ...
UK RepositoryNet+ Round Table Presentation on Lessons Learnt - Andrew Doward ...
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 

Similar to International Journal of Engineering Research and Development (IJERD)

T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085
yedles
 
An alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdfAn alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdf
leventhalbrad49439
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
82338476
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontroller
Ravinder Singla
 
CS150_Project Report
CS150_Project ReportCS150_Project Report
CS150_Project Report
Jingwei You
 

Similar to International Journal of Engineering Research and Development (IJERD) (20)

Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
 
Adaptive bank management[1]
Adaptive bank management[1]Adaptive bank management[1]
Adaptive bank management[1]
 
T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085
 
An alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdfAn alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdf
 
mod 3-1.pptx
mod 3-1.pptxmod 3-1.pptx
mod 3-1.pptx
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
 
UNIT-V (PIC16F877-Microcontrollers).pdf
UNIT-V (PIC16F877-Microcontrollers).pdfUNIT-V (PIC16F877-Microcontrollers).pdf
UNIT-V (PIC16F877-Microcontrollers).pdf
 
FPGA based QDR-II+ SRAM Controller
FPGA based QDR-II+ SRAM ControllerFPGA based QDR-II+ SRAM Controller
FPGA based QDR-II+ SRAM Controller
 
Q & A for 3G Optimization
Q & A for 3G Optimization Q & A for 3G Optimization
Q & A for 3G Optimization
 
Peripheral 8245,16550&8237 dma controller
Peripheral 8245,16550&8237 dma controllerPeripheral 8245,16550&8237 dma controller
Peripheral 8245,16550&8237 dma controller
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontroller
 
MPI UNIT 4 - (Introduction to DMA and ADC)
MPI UNIT 4 - (Introduction to DMA and ADC)MPI UNIT 4 - (Introduction to DMA and ADC)
MPI UNIT 4 - (Introduction to DMA and ADC)
 
MICROPROCESSOR INPUT OUTPUT OPERATIONS
MICROPROCESSOR INPUT OUTPUT OPERATIONSMICROPROCESSOR INPUT OUTPUT OPERATIONS
MICROPROCESSOR INPUT OUTPUT OPERATIONS
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
CS150_Project Report
CS150_Project ReportCS150_Project Report
CS150_Project Report
 
Isa bus nptel
Isa bus nptelIsa bus nptel
Isa bus nptel
 
Chapter5
Chapter5Chapter5
Chapter5
 
Assembler4
Assembler4Assembler4
Assembler4
 

More from IJERD Editor

A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksA Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
IJERD Editor
 
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’
IJERD Editor
 
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraGesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
IJERD Editor
 
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
IJERD Editor
 
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
IJERD Editor
 

More from IJERD Editor (20)

A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksA Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
 
MEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEMEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACE
 
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
 
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’
 
Reducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignReducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding Design
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and Verification
 
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
 
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRMitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
 
Study on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingStudy on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive Manufacturing
 
Spyware triggering system by particular string value
Spyware triggering system by particular string valueSpyware triggering system by particular string value
Spyware triggering system by particular string value
 
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
 
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeSecure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
 
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
 
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraGesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
 
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
 
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
 
Moon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingMoon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF Dxing
 
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
 
Importance of Measurements in Smart Grid
Importance of Measurements in Smart GridImportance of Measurements in Smart Grid
Importance of Measurements in Smart Grid
 
Study of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderStudy of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powder
 

Recently uploaded

Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Dipal Arora
 

Recently uploaded (20)

Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 

International Journal of Engineering Research and Development (IJERD)

  • 1. International Journal of Engineering Research and Development e-ISSN: 2278-067X, p-ISSN: 2278-800X, www.ijerd.com Volume 8, Issue 2 (August 2013), PP.76-81 76 Design of Dual Port SDRAM Controller with Time Slot Register Surender Reddy Theleru1 , Y B T Sundari2, Dr. G.Laxmi Narayana3 , 1 Associate Professor, Dept of ECE, Aurora’s Scientific & Technological Institute, Hyderabad, India. 2 Assistant Professor, Dept of ECE,Aurora’s Scientific & Technological Institute, Hyderabad, India. 3 Director, Aurora’s Scientific,Technological and Research Academy, Hyderabad, India. Abstract:- The main purpose of this paper is to verify the SDRAM controller data transfer function when accessing data from multiple ports. This verification is done with memory testers using slot mechanism. Random data sent to SDRAM from two ports, one port at a time. The SDRAM controller reads data from two random generators through different memory testers. SDRAM controller writes data in to SDRAM, and then read data and send to concerned memory tester. Compare the read and write data in Memory testers. A Dual port module is added with SDRAM controller, to switch data accessing from port alternately. Index terms:- Dualport, Slot timing, Switching operation and Comparing Read/write data. I. INTRODUCTION Functional simulation of dual port SDRAM controller mainly consists of 4 modules Random data generator, Memory tester, Dual port and SDRAM controller. A. Random data generator It is a 16-bit serial data generator in which data that is produced changes for every clock; this is achieved by XOR’ing the Outputs of last four flip flops and is feedback as the input to the first flip-flop. B. Memory tester Memory testers are used to compared the written data and read data to/from SDRAM. Its working depends upon the pipelined operation or non-pipelined operation. In pipelined operation all the data from the given range of address which is read and written are compared whereas for non-pipelined operation data in given address is compares individually, if there is any mismatch between the read and written data it indicates an error. C. Dual port Module This design is used to select any one of the two ports at a time. The data read follows the same bus as written and activated port is shown as the status. D. SDRAM Controller SDRAM controller accepts simple read and write requests on the host-side and generates the timed waveforms required to perform these operations on the SDRAM. With pipelining enabled, read and write operations within a row of the SDRAM can be dispatched for every clock cycle. The controller also manages the refresh operations needed to keep the SDRAM data valid, and will place the SDRAM in a self-refresh mode so data is retained even if the controller ceases operation. Controller works on the master clock of 133 MHz. The cycles related to initialization cycles, RAS (Row address strobe) cycles, RCD (activation to read/write) cycles, refresh cycles, mode cycles, CAS (column address strobe) cycles are specific for given RAM. The Micron soft module SDRAM (MT48LC16M16A2 – 4 Meg x 16 x 4 banks) is used here.
  • 2. Design of Dual Port SDRAM Controller with Time Slot Register 77 BLOCK DIAGRAM Fig1. Functional simulation of dualport SDRAMcontroller. II. RANDOMDATA GENERATOR The random data generator generates a random 16 bit data using a shift registers. To go through the sequence of states for the register, it is assumed that the shift register is in the seed state and the random output starts from that seed state and changes for every clock. The maximum number of states it can have with four stages shift register. So this sequence is called the maximum length sequence (MLS) and is given by 2n -1. Where n is the number of stages in the shift register. Enter a given clock frequency, the periodicity of the randomness increases rapidly with the number of stages of the register increases. The circuit shown in fig2 for generate a 16-bit random data, in this, the output from 12,13,14,15 stages of left shift register is XORed and feed as input to 16th stage of shift register. Table1. Random generator output values Clock Output Data Clk-1 Seed– FFFF 2 FFFE 3 FFFC 4 FFF8 5 FFF0 6 FFE0 7 FFC0 8 FF80 9 FF00 10 FE00 11 FC00 12 F800 … ……. …. ……. ….. ……. ….. …….
  • 3. Design of Dual Port SDRAM Controller with Time Slot Register 78 III. DUAL PORT MODULE The dual port module is used to select any one of the two ports, either port0 or port1. Data will be accessed from any of two ports, divide the total memory in to two memory slots. The address and data is directed to port activated at that slot, so that read and write operation will be initiated or started from that port. 16-bit Time-slot allocation register is used to switch between port0, port1. If address register content is 1111111111110000( for 16 bit address),the Port0 will be activated for four clock cyclles, then port1 activates for remaining 12 clock cycles. Different signals of the ports are indicated in the following diagram. Fig3. Dualport signals The possible operations of dual port module Case1: Switching operation Switching is occurs if a read or write operation is requested on this port that is not currently active:  No R/W operation is being performed on the active port or  A R/W operation is in progress on the active port, but the time-slot allocation register is giving precedence to the inactive port.  It indicates when an operation on the active port is in-progress and can't be interrupted by a switch to the other port. Case2: Slot timing Update the time-slot allocation shift-register. The port with priority is indicated by the least-significant bit of the register. The register is rotated right if:  The current R/W operation has started.  Both ports are requesting R/W operations (indicating contention), and  The currently active port matches the port that currently has priority.  Under these conditions, the current time slot port allocation has been used so the shift register is rotated right to bring the next port time-slot allocation bit into play. Case3: Port activation in next cycle The active port is switched on  There are no pending operations in progress, and  The currently active port has finished its current R/W operation  The port switch indicator is active. Case4: Port management with gate Gate is open for the active port to initiate new R/W operations to the SDRAM controller. If any port request for R/W operation, when any operations are in progress with other port, gate is closed to prevent R/W operations from requested port. The gate is re-opened once all operations in progress are completed, at that time the switch to other port is indicated, it can issue its R/W commands. IV. MEMORY TESTER This module is required along with Random data generator to test the data that has been read and written. The data that is generated is first given to memory tester through dualport module, it is written into SDRAM using SDRAM controller and dual port module. In order to write/read the data it is required to check whether it is a pipelined or non-pipelined operation. In case of pipelined operation, it writes the data into all the addresses specified at a time and for non- pipelined the data will be written location by location.
  • 4. Design of Dual Port SDRAM Controller with Time Slot Register 79 The entire operation is divided into 5-states as  Initialization  Load  Compare  Empty pipe  stop Initialization: In this state the read and write are disabled before going to further states and the starting address is loaded into the address variable. Then it goes to next state i.e. load. Load: First it looks for non-pipelined or pipelined operation. For pipelined operation the write operation is enabled and if operation has begun then addr-variable is incremented till the end address is reached and then data is written into SDRAM. Whereas for non-pipelined data is written, address by address which is incremented in steps to reach the end address by checking whether previous write operation is done. Compare: Written data in SDRAM is compare with read data from SDRAM. In case of pipeline operation the comparison takes place at once. In case of non-pipeline operation the comparison will be done location by location. If the data is not as written data, then it is indicated as an error. Empty Pipe: In pipelined operation, if there are no read/write operations, it clears the pipeline. If any operation is pending it waits till it is completed. Stop: At the end of memory testing operation it stops. If the comparison has to repeat starting from initialization then repeat the process. The entire memory testing operation can be represented in a form of a state diagram as Pipeline Operation Fig4. Pipeline operation. Fig5. Non-pipeline operation.
  • 5. Design of Dual Port SDRAM Controller with Time Slot Register 80 V. SIMULATION RESULTS In simulation of dual port SDRAM controller, port 0 and port 1 are reading and writing data separately from different memory testers using slot mechanism. In simulation see the output k is 1 and 0 gives respective ports 1 and 0.
  • 6. Design of Dual Port SDRAM Controller with Time Slot Register 81 VI. CONCLUSION In this design switching of two ports can done manually depend on bits provided in generic 16-bit Timeslot register. Upgrade this paper to multiport, by dividing address locations into multiple slots and accessing these multiple ports using provided value in 16-bit Timeslot register. Here two different modules instead of memory testers to continuously send data and loaded in to SDRAM from two ports. REFERENCES [1] XSA board SDRAM controller, application note by D. Vandan Bout. [2] Datasheet on Synchronous SDRAM on site: www.micron.com/dramds. [3] Data sheet on Samsung CMOS 256 MB SDRAM specification. [4] Using Block RAM in Spartan-3 FPGAs in Xilinx. [5] Fundamentals of Digital Logic With Verilog Design-Stephen brown, Zvonko Vranesic-2002-Tata McGram-Hill Edition. [6] Design through Verilog HDL-T.R. Padmanabhan, B.Bala Tripura Sundari-2004-John Wiley & Sons, Inc. AUTHORS Mr. Surender Reddy Theleru, obtained his B.Tech(Electronics & Communication Engineering) in 2002 from JNTU Hyderabad and M.Tech(Digital Systems & Computer Electronics) from JNTU Anantapur in in 2005. He is working as Assoc .professor in Aurora’s scientific and Technological Institute, Ghatkesar, Hyderabad. His main interests in VLSI design and Embedded processors. His current research area is Low power VLSI design and ARM9 cortex in FPGA design. He is a life member of IETE. Laxminarayana.G He holds B.E. from OU Hyderabad, M.Tech from Indian institute of Science and Ph.D from JNTU Hyderabad. Presently he is Director in Aurora’s Scientific,Technological and Research Academy, Hyderabad. His research area includes GPS/INS integration and its applications, VLSI design. He received the best teacher award At SNIST. He is a member of IEEE, ISTE and life member of IETE. Y.B.T.Sundari, obtained her B.Tech (ECE) in 2008 from JNTU Hyderabad and M.Tech (VLSI System Design) from JNTU Hyderabad in 2012. She is working as Assistant professor in Electronics and Communication Engineering Department at Aurora’s Scientific and Technological Institute, Ghatkesar, Hyderabad. Her current research and interests in VLSI, Embedded systems and Digital image processing. She is a life member of IEEE.