This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We have designed our custom SBC based on Advantech EVM XTCIEVMK2X and using 6638K2H12 SOC. We are in the process of constraining our layout for the second time.
According to DDR3 guidlines DDR3 Design Requirements for KeyStone Devices May 2014, the min skew between "Coomand delay" and "data delay" on any SDRAM must meet a MIN delay of 325 ps. Looking at the advantech EVM we see the routing violates this requirement As we see approximately a delay of 144 ps. Yet the eval board seems to work fine. We need assistance for our layout constraints, as this is our second attempt.
Hi Senthil,
We have used the K2H_K2EVM-HK Rev 3.0 as reference. The layout file we have is 19C2830502-01-JOB.brd for the Advantech. A report on the routing lengths of the DDR3B traces is attached.
U39 is the first DDR3 memory that DDR3B signals from the Keystone reach. Let us look at the clock signal on line 54: the trace length is 2947.95 mils. The data line from Keyston pin AK39 to U39 pin E3 (line 251 in the report) is 1579.24 The skew between these two lines is: 2947.95 – 1579.24 = 1368.71 mils
With 180 ps/in, this skew translates to (1368.71/1000)*180 ps = 246.37 ps. The TI document SPRABI1B Table 18 states that minimum write leveling skew for DDR3-1600 is 325 ps.
Obviously the skew violates the minimum requirement.
Could there be another interpretation of the document?
Regards,
Shervin
Hi Shevin,
The skew requirement you are referring to appears in section 4.3.1.10 titled 'Write Leveling Limit Impact on Routing – KeyStone I'. Since you are routing a DDR interface for a KeyStone II part, this requirement doesn't apply as shown by the routing of the EVM.
Regards,
Bill
Bill,
We have already layed out our PCB with keystone I constraints:
min skew between data line and command lines of 2.1".
Would this work for Keystone II or we need to make modifications.
thanks
Hi Shervin,
To be specific, the guideline states the following.
• All nets in the address and command fly-by groups must be length-matched from the controller to each SDRAM separately within +/- 20 mils of the clock along the same route.
This is an important distinction. The length must be matched from the SOC to the memory for all address/command signals within +/-20mils and this measurement must be checked for each of the memories on the flyby chain. As these signals are routed down the flyby chain there will be a stub between the flyby trace and the ball of the memory for each device. Do not include the stub in the measurement for devices farther down the chain.
In the image below the length from the SOC to memory 1 is L1+S1, the length from SOC to memory 2 is L1+L2+S2, the length from SOC to memory 3 is L1+L2+L3+S3, and the length from SOC to memory 4 is L1+L2+L3+L4+S4. You need to match these lengths for all the flyby signals.
Regards,Bill