User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 310
UG585 (v1.11) September 27, 2016
Chapter 10: DDR Memory Controller
10.6.3 DDR IOB Configuration
The DDR IOBs must be configured to function as I/O. Each type of DDR IOB is controlled by two
different SLCR configuration registers. The configuration registers configure the IOB's input mode,
output mode, DCI mode, and other functions.
Configuration
The DDR system supports DDR3L/DDR3/DDR2/LPDDR2 in 16 and 32 bit modes and power down
modes. The registers identified in Table 10-8 control groups of I/Os and must be configured
depending on the particular mode.
Set the IOB configuration as follows:
1. Set DCI_TYPE to DCI Drive for all LPDDR2 I/Os.
2. Set DCI_TYPE to DCI Termination for DDR2/DDR3/DDR3L bidirectional I/Os.
3. Set OUTPUT_EN = obuf to enable outputs.
Table 10-8: DDR IOB Configuration Registers
Register Affected I/O Blocks Description
DDRIOB_DDR_CTRL VREF, VRN, VRP, DRST Controls special I/O modes for internal and external
VREF and DCI reference pins VRN and VRP
DDRIOB_DCI_CTRL DCI controller Enables the DCI controller
DDRIOB_DCI_STATUS DCI controller Status for the DCI controller
DDRIOB_ADDR0
DDRIOB_ADDR1
DDR_A[14:0], DDR_CKE, DDR_BA[2:0],
DDR_ODT, DDR_WE_B, DDR_CAS_B,
DDR_RAS_B DDR_CS_B
Configuration settings for address and control
outputs used by LPDDR2, DDR2 and DDR3/DDR3L
DDRIOB_CLOCK DDR_CK_P, DDR_CK_P Configuration settings for the differential clock
outputs. Controls DDR_CK_P, DDR_CK_P
DDRIOB_DATA0 DDR_DQ[15:0], DDR_DM[1:0],
DDR_FIFO_IN[0], DDR_FIFO_OUT[0]
Configuration settings for data and mask bits for
lower 16-bits
DDRIOB_DATA1 DDR_DQ[31:16], DDR_DM[3:2],
DDR_FIFO_IN[1], DDR_FIFO_OUT[1]
Configuration settings for data and mask bits for
upper16-bits
DDRIOB_DIFF0 DDR_DQS_P[1:0], DDR_DQS_N[1:0] Configuration settings for dqs bits for lower 16-bits
DDRIOB_DIFF1 DDR_DQS_P[3:2], DDR_DQS_N[3:2] Configuration settings for dqs bits for upper 16-bits
DDRIOB_DRIVE_SLEW
_ADDR
DDR_A[14:0], DDR_CKE, DDR_BA[2:0],
DDR_ODT, DDR_WE_B, DDR_CAS_B,
DDR_RAS_B, DDR_CS_B
Drive strength and slew rate settings for address
and control output
DDRIOB_DRIVE_SLEW
_CLOCK
DDR_CK_P, DDR_CK_P Drive strength and slew rate settings for the clock
outputs
DDRIOB_DRIVE_SLEW
_DATA
DDR_DQ[31:0], DDR_DM[3:0],
DDR_FIFO_IN[1:0], DDR_FIFO_OUT[1:0]
Drive strength and slew rate settings for data I/Os
DDRIOB_DRIVE_SLEW
_DIFF
DDR_DQS_P[3:0], DDR_DQS_N[3:2] Drive strength and slew rate settings for data strobe
I/Os