![Altera Stratix III Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/altera/stratix-iii/stratix-iii_using-manual_2910857036.webp)
Page 36
Example Project Walkthrough
AN 436: Using DDR3 SDRAM in Stratix III and Stratix IV Devices
© November 2008
Altera Corporation
f
For more information on slew rate derating and how to perform slew rate
derating calculations, refer to the memory vendor datasheet.
Simulation and measurement show the following slew rate for the clock, address
and command, and
DQ
and
DQS
pins on the Stratix III Memory Demonstration
Board when using the default I/O standard and drive options:
■
Address and command = 1.5 V/ns
■
CLK
and
CLK#
= 3 V/ns (differential)
■
DQ
= 2 V/ns
■
DQS
= 3 V/ns (differential)
Hence, the correct t
IS
and t
IH
values for this design are:
■
t
IS
= 300 + 59 = 359 ps
■
t
IH
= 300 + 34 = 334 ps
■
t
DS
= 200 + 88 = 288 ps
■
t
DH
= 200 + 50 = 250 ps
1
You should always simulate or measure your own design and topology to
ensure accurate timing information and analysis.
The DDR3 SDRAM has a write requirement (t
DQSS
) that states the positive edge of
the DQS signal must be within ± 25% (± 90°) of the positive edge of the DDR3
SDRAM clock input. To achieve this skew requirement, ALTMEMPHY-based
designs always use DDR IOE registers to generate the
CK
and
CK#
signals.
6. To set the ODT settings for the DDR3 SDRAM interface on your board, in the
Preset Editor
, select
Memory Initialization Options
. This example does not use
the dynamic ODT (Rtt_WR) feature, which is useful for multiple-rank designs:
a. For
Output driver impedance
select
RZQ/7
(which is 34).
b. For
Dynamic ODT (Rtt_WR) value
select
Dynamic ODT off
.
c. For
ODT Rtt nominal value
select
RZQ/4
(which is 60).
7. In the
PHY Settings
panel, add the board skew parameter for the board in the
Board Timing Parameters
section. This timing parameter is the board trace
variation between
CK
,
CK#
,
CAC
,
DQ
,
DQS
and
DQS#
. The default value is 20 ps. If
your board can perform better or worse than this number, update it accordingly.
The wizard uses this number to calculate the overall system timing margin. For
this example design, enter the value of 20 ps as the board skew tolerance target is
20 ps.