The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 16, 2024, 12:35:29 12:35


Login with username, password and session length


Pages: [1]
Print
Author Topic: Learning to design DDR  (Read 4183 times)
0 Members and 1 Guest are viewing this topic.
promach
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 14
-Receive: 0


« on: May 07, 2016, 01:27:50 01:27 »

Hi, I am student in my semester break period.

I want to take this time to learn about DDR internal design.

I search online but I could not get relevant design materials or courses.

Any ideas?

Logged
Unhappy
Senior Member
****
Offline Offline

Posts: 285

Thank You
-Given: 988
-Receive: 100


« Reply #1 on: May 08, 2016, 09:35:44 09:35 »

Hi, I am student in my semester break period.

I want to take this time to learn about DDR internal design.

I search online but I could not get relevant design materials or courses.

Any ideas?




what's DDR???
Logged
UncleBog
Active Member
***
Offline Offline

Posts: 131

Thank You
-Given: 165
-Receive: 170


« Reply #2 on: May 08, 2016, 02:57:56 14:57 »

On the Assumption that you're referring to Double Data Rate; this is when data is driven / sampled on both edges (rising and falling) of the clock rather than just one edge per cycle. DDR has become synonymous with first generation DDR SDRAM which uses this method. Search for Altera C51010-1.2 for a more complete description.
Logged
promach
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 14
-Receive: 0


« Reply #3 on: May 09, 2016, 06:47:23 06:47 »

So, it would mean it is diffficult to find DDR internal design materials in the public domain in the net ?
Logged
UncleBog
Active Member
***
Offline Offline

Posts: 131

Thank You
-Given: 165
-Receive: 170


« Reply #4 on: May 09, 2016, 10:16:41 10:16 »

DDR is a simple concept that I described in one sentence in my last email. By search I meant just google search for Altera C51010-1.2.

I've put a link to the Altera document describing DDR transmission in the attached file.

For a description of DDR SDRAM see Wikipedia.
Logged
roscoe
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 3
-Receive: 2


« Reply #5 on: October 01, 2016, 01:30:33 01:30 »

If you want to see how the memory works internally, you can grab a behavioral model from one of the memory vendors (Micron, Samsung, Hynix, etc.)
Sometimes they are sent encrypted, but with a little effort, this can be overcome.

If you're concerned about layout type of things -- DDR layout is not all that it's made out to be.  You have quite a bit of trace length, even at higher clock rates, before length matching will generally matter.  It's a bigger deal with DIMMs than with discrete components.
Logged
bigtoy
Active Member
***
Offline Offline

Posts: 238

Thank You
-Given: 322
-Receive: 297


« Reply #6 on: October 01, 2016, 06:44:33 18:44 »

Pick up the app notes for any processor or other device which support DDR RAM and they'll tell you what's required. A few years ago I did a design using a TI Sitara processor (ARM Cortex A8) and they show you what to do - the midpoint terminations and so forth. We did trace length matching on that board just because we could, but I agree with roscoe it's not always necessary. But, putting some margin into a design is usually a good idea.
Logged
roscoe
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 3
-Receive: 2


« Reply #7 on: October 05, 2016, 04:48:05 04:48 »

Just to put some color around this -- take DDR3 1333 as an example:

Using this calculator -->  http://referencedesigner.com/tutorials/si/si_06.php

Assume a 6 mil prepreg (H) under top layer, 1 oz copper (T) @ 1.4 mils, and a 5 mil trace width (W) with a dielectric constant of 4.2 (er).
You'll get about 138 ps/inch.

At 667MHz -- but DDR so we're capturing on both edges, so let's figure 1333 -- you get 0.75ns or 750ps per clock edge.  This means that if your traces are <= 750/138 or ~5.4 inches, all of your signals should arrive within a given clock edge, so length matching becomes essentially irrelevant.  On most embedded DDR3 designs, if you're careful with your routing, you should be under 3 inches from CPU to DDR3, so you have plenty of headroom.

Even termination resistors are somewhat optional at this since any reflections tend to get soaked up pretty easily. 


Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 151
-Receive: 214


« Reply #8 on: October 06, 2016, 12:35:47 00:35 »


what's DDR???

Hey guys, pretty sure he's talking about Dance Dance Revolution.  
Logged
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 848

Thank You
-Given: 1092
-Receive: 2000


« Reply #9 on: October 06, 2016, 12:38:43 00:38 »

The design begins with a willing participant and appropriate attire. So yeah, not so easy.


OK promach & unhappy,this might be useful...

http://cache.nxp.com/files/32bit/doc/app_note/AN2582.pdf

Try the game for awhile if you find that your signal integrity is causing read/write errors.

Nothing beats trying and failing for a good education.
« Last Edit: October 06, 2016, 12:45:19 00:45 by optikon » Logged

I can explain this to you. I can't comprehend it for you.
promach
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 14
-Receive: 0


« Reply #10 on: October 07, 2016, 09:31:25 09:31 »

If you want to see how the memory works internally, you can grab a behavioral model from one of the memory vendors (Micron, Samsung, Hynix, etc.)
Sometimes they are sent encrypted, but with a little effort, this can be overcome.

If you're concerned about layout type of things -- DDR layout is not all that it's made out to be.  You have quite a bit of trace length, even at higher clock rates, before length matching will generally matter.  It's a bigger deal with DIMMs than with discrete components.

It is sent encrpyted. What do you mean with little effort ? Are there any open design model that is available ? I mean both verilog model and schematics plus layout
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC