Altera DDR SDRAM High-Performance Controllers and ALTMEMPHY IP User Manual

Page 137

Advertising
background image

Chapter 8: Timing Diagrams

8–9

DDR and DDR2 High-Performance Controllers II

June 2011

Altera Corporation

External Memory Interface Handbook Volume 3

Section I. DDR and DDR2 SDRAM Controllers with ALTMEMPHY IP User Guide

The following sequence corresponds with the numbered items in

Figure 8–4

:

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 a 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.

Advertising
This manual is related to the following products: