Page 28
DDR3 SDRAM in Stratix III Devices Design Flow
AN 436: Using DDR3 SDRAM in Stratix III and Stratix IV Devices
© November 2008
Altera Corporation
shows a system-level diagram of the example design that the SDRAM
high-performance controller creates for the design.
f
For more information about the different files generated by the DDR3 SDRAM
high-performance controller, refer to the
DDR3 SDRAM High-Performance Controller
During the parameterization of the DDR3 SDRAM high-performance controller, there
is an option to generate a simulation model of the ALTMEMPHY megafunction, an
example design, and a testbench, so that functional simulation may be performed on
the design.
Compile Design and Verify Timing
After constraining the design, compile the design in the Quartus II software. During
the generation of the ALTMEMPHY megafunction or the SDRAM high-performance
controller, the MegaWizard Plug-In Manager generates a verify timing script
<
variation_name
>
_phy_report_timing.tcl
. After compiling the design in the Quartus II
software, run the timing script to produce the timing report for different paths, such
as write data, read data, address and command, and core (entire interface) timing
paths in the design.
The verify timing script reports about margins on the following paths:
■
Address and command setup and hold margin
■
Half-rate address and command setup and hold margin
■
Core setup and hold margin
■
Core reset and removal setup and hold margin
■
Write setup and hold margin
■
Read capture setup and hold margin
■
Read resynchronization setup and hold margin
Figure 6.
DDR3 SDRAM Controller System-Level Diagram
Note to
:
(1) The ALTMEMPHY megafunction automatically generates the PLL and the PLL is part of the ALTMEMPHY megafunction.
Control
Logic
(Encrypted)
Example
Driver
ALTMEMPHY
Megafunction
(1)
Example Design
Pass or Fail
DDR3 SDRAM
High-Performance
Controller
DDR3 SDRAM
DDR3 SDRAM
Interface