User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 296
UG585 (v1.11) September 27, 2016
Chapter 10: DDR Memory Controller
10.2 AXI Memory Port Interface (DDRI)
10.2.1 Introduction
Each AXI master port has an associated slave port in the arbiter. The command FIFO located inside
the port stores the address, length and ID contained in the command. The RAM in the write port
stores the write data and byte enable. The RAM in the read port stores the read data coming back
from the core.
Because the read data coming back from the core can come out of order, the RAM is used for data
re-ordering. Each AXI command can make a request (write or read) for up to 16 data transfers (up to
the AXI limit). A single command coming from the AXI can be split into multiple requests going to
the arbiter logic and the controller.
The incoming command is first stored in the command FIFO. After a valid command is detected in
the write or read port, the value of the length field is checked and the number of requests associated
with this command is calculated. The logic then sends arbiter requests to the arbitration logic. The
arbitration logic looks at the requests from all the ports and gives the grant to one port at a time.
When a write port receives the grant from the arbiter, it generates write address, and write data
pointer and asserts the command valid. A read port on receiving grant generates read address, read
command length and the read token and asserts the command valid. Requests from various ports are
multiplexed using the grant signal.
When a write command is accepted by the DDR controller, it sends the write data pointer back to the
arbiter. The write data from all ports is multiplexed using the port ID contained in the write data
pointer.
When the read data comes back from the core, an associated ID is used to direct the data to the
appropriate read port. According to AXI specifications, the read data with the same ID is required to
be given back to the AXI read master in the same order in which read commands were received by
the port.