Zynq-7000 AP SoC and 7 Series FPGAs MIS v4.1
94
UG586 November 30, 2016
Chapter 1:
DDR3 and DDR2 SDRAM Memory Interface Solution
app_en
This input strobes in a request. You must apply the desired values to
app_addr
[],
app_cmd
[2:0], and
app_hi_pri
, and then assert
app_en
to submit the request to the UI.
This initiates a handshake that the UI acknowledges by asserting
app_rdy
.
app_hi_pri
This input indicates that the current request is a high priority.
app_wdf_data[APP_DATA_WIDTH – 1:0]
This bus provides the data currently being written to the external memory.
app_wdf_end
This input indicates that the data on the
app_wdf_data[]
bus in the current cycle is the
last data for the current request.
app_wdf_mask[APP_MASK_WIDTH – 1:0]
This bus indicates which bytes of
app_wdf_data
[] are written to the external memory and
which bytes remain in their current state. The bytes are masked by setting a value of 1 to the
corresponding bits in
app_wdf_mask
. For example, if the application data width is 256, the
mask width takes a value of 32. The least significant byte [7:0] of
app_wdf_data
is masked
using Bit[0] of
app_wdf_mask
and the most significant byte [255:248] of
app_wdf_data
is masked using Bit[31] of
app_wdf_mask
. Hence if you have to mask the last DWORD, that
is, bytes 0, 1, 2, and 3 of
app_wdf_data
, the
app_wdf_mask
should be set to
32'h0000_000F.
app_wdf_wren
This input indicates that the data on the
app_wdf_data
[] bus is valid.
app_rdy
This output indicates to you whether the request currently being submitted to the UI is
accepted. If the UI does not assert this signal after
app_en
is asserted, the current request
must be retried. The
app_rdy
output is not asserted if:
°
PHY/Memory initialization is not yet completed
°
All the bank machines are occupied (can be viewed as the command buffer being
full)
- A read is requested and the read buffer is full