User guide

Chapter 9: Timing Diagrams 9–17
DDR3 High-Performance Controllers II
December 2010 Altera Corporation External Memory Interface Handbook Volume 3
Section II. DDR3 SDRAM Controller with ALTMEMPHY IP User Guide
The following sequence corresponds with the numbered items in Figure 9–9:
1. The user logic asserts the first write request to row 0 so that row 0 is open before
the next transaction.
2. The user logic asserts a second
local_write_req
signal with size of 2 and address
of 0 (col = 0, row = 0, bank = 0, chip = 0). The
local_ready
signal is asserted along
with the
local_write_req
signal, which indicates that the controller has accepted
this request, and the user logic can request another read or write in the following
clock cycle. If the
local_ready
signal was not asserted, the user logic must keep
the write request, size, and address signals asserted until the
local_ready
signal is
registered high.
3. The controller issues the necessary memory command and address signals to the
ALTMEMPHY megafunction for it to send to the memory device.
4. The controller asserts the
afi_wdata_valid
signal to indicate to the ALTMEMPHY
megafunction that valid write data and write data masks are present on the inputs
to the ALTMEMPHY megafunction.
5. The controller asserts the
afi_dqs_burst
signals to control the timing of the DQS
signal that the ALTMEMPHY megafunction issues to the memory.
6. The ALTMEMPHY megafunction issues the write command, and sends the write
data and write DQS to the memory.