User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 304
UG585 (v1.11) September 27, 2016
Chapter 10: DDR Memory Controller
This can be changed by setting the reg_arb_set_hpr_rd_port<n> bit to 1'b1 for AXI ports (this is in
the axi_priority_<rd/wr>_port<n> register). The DDRC is configured by default to serve only LPR.
The read CAM can service only LPR by default. The total CAM depth is 32 for Read. (However, one slot
is always allocated for ECC purposes.) The reg_ddrc_lpr_num_entries register field in the DDRC
ctrl_reg1 register specifies the number of entries reserved for LPR. Taking 31 and subtracting the
reg_ddrc_lpr_num_entries gives the number of entries reserved for HPR.
It is necessary to change the REG_DDRC_LPR_NUM_ENTRIES field if a port is configured as an HPR
port to avoid deadlock in the credit mechanism
10.4.7 Stage 3 – Transaction State
The transaction state is the last stage of arbitration before the transaction goes to the DDR PHY and
the DDR device. The transaction state can be read or write. To change the transaction state there
must be no more transactions of that type or there can be a critical transaction of the other type.
Figure 10-9 shows the simple state machine for this.
X-Ref Target - Figure 10-8
Figure 10-8: Read Queue
UG585_c10_08_032012
DDR Interface
DDR Core
DDR PHY
Pending DDR
Transactions
Read
Request
Port
Priority
Select
Stage 1
Read
Arbiter
AXI Port Arbiter
Self-Coherent
and with DDR
Write
Request
Reads
LPR
HPR
Transaction
Scheduler
Optimization
Algorithms
Stage 2
Stage 3
DRAM R/W State
Open Bank State
Sequencer
DDR
DRAM
Device(s)
Writes
Write
Arbiter