5. DDR3/LPDDR2/LPDDR3 controller (DDRCTRL)
5.1 Introduction
Portions Copyright (c) Synopsys, Inc. All rights reserved. Used with permission.
The DDRCTRL is a DDR-SDRAM controller and specific configuration of Synopsys uMCTL2 DDR controller v3.00a.
The DDRCTRL combined with the DDRPHYC (DDR PHY with Physical Utility Block) provides a complete memory interface solution for the DDR memory subsystem.
5.2 DDRCTRL features
- • Two 64-bit AMBA® 4 AXI4 ports interface (XPI)
- • AXI clock asynchronous to the controller
- • Supported standards:
- – JEDEC DDR3 SDRAM specification, JESD79-3E for DDR3/3L with 32-bit interface
- – JEDEC LPDDR2 SDRAM specification, JESD209-2E for LPDDR2 with 32-bit interface
- – JEDEC LPDDR3 SDRAM specification, JESD209-3B for LPDDR3 with 32-bit interface
Warning: The STM32MP157x does not support the ODT for LPDDR3
- • 64-bit with DFI 2.1 compliant interface to DDRPHYC
- • Advanced scheduler and SDRAM command generator
- • 1:1 frequency ratio between the DDRC clock and the DDR PHY / external memory clock (aka SDR mode)
- • Asynchronous clock between the AXI ports and the DDRC (the clock crossing is local to XPI's)
- • Programmable full data width (32-bit) or half data width (16-bit)
- • Advanced QoS support with 3 traffic class on read and 2 traffic classes on write
- • Options to avoid starvation of lower priority traffic
- • Guaranteed coherency for write-after-read (WAR) and read-after-write (RAW) on the AXI ports
- • Programmable support for burst length options (4, 8, 16)
- • Write combine to allow multiple writes to the same address to be combined into a single write
- • Single rank configuration
- • Supports automatic SDRAM power-down entry and exit caused by a lack of transaction arrival for programmable time
- • Supports automatic clock stop (LPDDR2/3) entry and exit caused by lack of transaction arrival
- • Supports automatic low-power mode operation caused by a lack of transaction arrival for programmable time via hardware low-power interface
- • Programmable paging policy selectable as any of the following:
- – Leave page open after accesses (Open page policy)
- – Close page when there are no further accesses available in the controller for that page
- – Auto-precharge with each access, with an optimization for page-close mode which leaves the page open after a flush for read-write and write-read collision cases
- • Supports the self-refresh entry and exit as follows:
- – Automatic self-refresh entry and exit caused by lack of transaction arrival for programmable time
- – Self-refresh entry and exit under software control
- • Support for deep power-down entry and exit under software control (LPDDR2)
- • Support for explicit SDRAM mode register updates under software control
- • Flexible address mapper logic to allow application specific mapping of row, column, bank bits
- • Programmable support for 1T or 2T timing
- • User-selectable refresh control options:
- – Controller-generated auto-refreshes at programmable average intervals
- – Ability to group up to 8 controller-generated refreshes together to be issued consecutively (this reduces the frequency of page closings, increasing the overall efficiency)
- – When the controller-generated refreshes are grouped, some refreshes can be issued speculatively when the controller is idle for a programmable period of time
- – Ability to disable controller-generated auto-refreshes
- – Ability to issue a refresh through direct software request
- – User-selectable ability to perform per-bank refreshes rather than all-banks refreshes for LPDDR2/3
5.3 DDRCTRL block diagram
A simplified DDRCTRL block diagram is shown in Figure 7.
Figure 7. DDRCTRL block diagram

graph LR
subgraph DDRCTRL
AXI0[AXI Port 0] --> AXI0IF[AXI Port interface]
AXI1[AXI Port 1] --> AXI1IF[AXI Port interface]
APB --> Registers
AXI0IF --> CM[Command mux]
AXI1IF --> CM
AXI0IF --> DM[Data Mux / Response Demux]
AXI1IF --> DM
PA[PA] --> CM
CM -- command --> Scheduler
DM -- data --> Scheduler
ResponseEngine[Response engine] -- response --> DM
Registers --> CM
Registers --> DM
Registers --> Registers
subgraph DDRC
Scheduler
ResponseEngine
end
Scheduler --> DFI[DFI interface]
end
5.4 DDRCTRL architecture overview
See the DDRCTRL block diagram in Figure 7.
- • The AXI Port Interface (XPI) block provides the interface to the AXI port with the AXI bus protocol handling, data buffering and reordering for read data, data bus size / clock domain conversion and memory burst address alignment.
- • The Port Arbiter (PA) block provides latency sensitive, priority based arbitration between the addresses issued by the XPI's.
- • The DDR Controller (DDRC) block contains a logical CAM (Content Addressable Memory). This holds information on the commands, which is used by the scheduling algorithms to optimally schedule commands to be sent to the PHY, based on priority, bank/rank status and DDR timing constraints.
- • The APB register block contains the software accessible registers
- • The write data are stored until its associated command is issued to the PHY. The Write data buffer is local to DDRC.
- • The read data are handled by the response engine in the DDRC and returned in the order of scheduled read commands on the HIF. the read data are stored in the read re-order buffer (local to XPI) and returned in order, to the AXI ports.
5.4.1 AXI Port Interface (XPI)
The XPI processes the AXI information: address, burst size, burst length and burst type and converts the AXI burst into read and write requests which are forwarded to the PA.
In the opposite direction, the XPI converts the responses from the DDRC into appropriate AXI responses.
Read address channel features:
- – Supports any burst length for incremental bursts (≤ 256 byte) and burst with length ≤ 16 for WRAP bursts.
- – The start address can be unaligned to the AXI width.
- – The burst size can be less than the AXI width.
- – The Read Address Queue (RAQ) is configured with dual queues (named “red” and “blue” queues)
- – The clock crossing is performed in RAQ
- – The depth of RAQ is set to 4.
- – The generation of read request is based on AXI address and burst information and divided into packets equal to memory burst length (BL2, BL4, BL8, BL16)
- – In case of an unaligned burst, the first read request is unaligned and the remaining read requests are aligned.
In general, the re-alignment to a memory burst boundary potentially causes some data beats to be discarded (affecting bandwidth) and potentially introduces additional latency on the read data and response channel.
Write address channel features:
- – The Write Address Queue (WAQ) is used to store all the addresses for write requests from a given port.
- – There is a single queue for all AXI IDs from a given port.
- – The write address channel behavior is similar to the read address channel.
- – The clock crossing is performed in WAQ
- – The depth of WAQ is set to 4.
Read data and response channels:
- – The read data and response channel has a single data storage queue (RDQ)
- – The clock crossing is performed in RDQ
- – The depth of RDQ is set to 10
- – The data from different IDs are stored in the same queue and are returned in the order of read address acceptance.
- – A read reorder buffer is implemented in each port to reorder the read data for that port to the same order as the order of the AXI read commands
- – The virtual channels and dynamic mapping (allow optimum reordering of read data)
5.4.2 Port arbiter (PA)
The PA arbitrates command requests from the 2 AXI ports to the HIF of the DDR Controller.
The PA is comprised of multiple tiers of arbitration stages which include:
- a) Read/write arbitration (single HIF option)
- b) 2 priority level arbitration based on port aging and expired-VPR/expired-VPW commands (timeout - priority0)
- c) 2 priority level arbitration for read requests based on DDRC read priorities (HPR/LPR-VPR)
- d) 32-priority level arbitration based on internal port aging or 16-priority level arbitration based AXI QoS inputs (programmed in AXI interconnect)
- e) Round-robin arbitration to resolve ports having the same priority after passing all stages of arbitration.
Note: The port aging refers to counting down the time when a port has a request, but is not granted access to the DDRC.
The port timeout refers to when the port age becomes 0, which is also referred as the highest priority -priority0'.
The expired-VPR refers to Variable Priority Read commands whose counter has expired. The read/write credits refer to the DDRC 'Credit Mechanism' employed at the HIF interface.
5.4.3 Host Interface (HIF)
The HIF is an internal interface to the DDRCTRL (the AXI Port Interface and Port Arbiter handle all signals on this interface). It is only described for the sake of understanding QoS and multi-tier arbitration.
The read, write requests and write data are transferred from PA to DDRC using HIF interface.
The requests are throttled by:
- a) A credit mechanism that ensures that the buffer space is available for any request made to the DDRC, prior to the request being made.
- b) An independent stall mechanism that throttles requests when address collisions take place or when entering a self-refresh via the software self-refresh.
The read data are sent back via a common response interface
Credit mechanism:
The DDRC employs a credit mechanism to ensure that buffers do not overflow. The interface making the request to the DDRC, can only request commands for which it has been granted credits to issue.
The credits are tracked separately for the following three command types:
- - High priority read (HPR)
- - Low priority read (LPR)
- - Write (WR)
The interface logic includes counters to track the number of credits. The credit count increments every time that the DDRC issues a credit.
The VPR commands are counted in the LPR credit bucket, the VPW commands are counted in the WR credit bucket.
Read requests:
When the LPR or HPR credit count is greater than zero, the interface can issue read requests to the DDRC
Write requests:
When the WR credit count is greater than zero, the interface can issue write requests to the DDRC.
5.4.4 DDR scheduler (DDRC)
The DDRC queues commands for scheduling and the SDRAM command generation unit. The DDRC includes 3 stores:
- • HPR and LPR stores in common read CAM
- • WR store in write CAM
Both CAMs are 16 entries, the HPR/LPR split is software programmable.
The DDRC allows the user to manage the Transaction Service Control (TSC) according to QoS and timeouts.
5.4.5 APB Interface (APB)
There are three classes of registers in DDRCTRL:
- • Dynamic Registers
- • Quasi Dynamic Registers
- • Static Registers
The dynamic registers can be written at any time during operation.
The static registers can be written only when the controller is in reset.
The quasi dynamic registers can be written when the DDRCTRL is in reset or under specific conditions after the reset is done. To write the quasi dynamic registers, the DDRCTRL_SWCTL.SW_DONE bit must be set to 0 at the beginning of the programming sequence and set back to 1 at the end. After the DDRCTRL_SWSTAT.SW_DONE_ACK must be polled to acknowledge that the write action has been completed.
For more information about dynamic and quasi dynamic registers, refer to uMCTL2 Data Book [1]
5.4.6 DFI Interface (DFI)
The DDRCTRL contains a DFI MC (Memory Controller) interface, which is used to connect to a DFI compliant DDRPHYC to transfer address, control and data to the PHY.
The DFI interface is sub-divided into the following interface groups:
- • Control interface
- • Write data interface
- • Read data interface
- • Update interface
- • Status interface
- • Training interface (PHY-independent mode as supported by uMCTL2)
- • Low-power control interface
The DDRCTRL, including its DFI interface, runs at the single data rate (SDR) clock (referred to as 1:1 frequency ratio mode in the DFI Specification), so all DFI command and address signals are equal in width to the equivalent DDR SDRAM signals. The DFI data signals are twice the width of the equivalent DDR SDRAM signals.
The DDRCTRL runs with a SDR clock and the DDRPHYC operates the SDR to DDR rate conversion on the data buses. In 1:1 frequency ratio mode, core_ddrc_core_clk and CK/CK# run at the same SDR clock frequency.
5.5 DDRCTRL functional description
5.5.1 Transaction service control (TSC) and quality of service (QoS)
The transaction service control allows the user to carefully manage the following:
- • Costly read/write bus turn-around
- • Priorities of read requests to generally favor high priority traffic while also preventing starvation of low priority traffic
This functionality is implemented in a simple 2-state machine for each traffic type with completely configurable controls. The states of the 2-state machine determine when reads/writes are serviced and the relative priority (high priority versus low priority reads) at any given moment.
The transactions are separated into five traffic classes: with 3 read classes and 2 write classes:
- • Low priority reads (LPR)
- • Variable priority reads (VPR)
- • High priority reads (HPR)
- • Normal priority writes (NPW)
- • Variable priority writes (VPW)
The traffic classes are determined according to AXI QoS values (AxQOS[3:0]) set by the SOC AXI Interconnect (AXIM) and QoS regions settings.
The HPR and VPR/LPR are stored in a common read CAM which is split according to DDRCTRL_SCHED.lpr_num.
The VPR commands move to the expired-VPR after a timeout set by DDRCTRL_PERFVPR1.vpr_timeout. The expired -VPR goes to highest priority (Priority0).
VPW and NPW are stored in a common write CAM; the VPW commands go to the expired-VPR after timeout set by DDRC_PERFVPW1.vpw_timeout. The expired-VPW commands go to highest priority (Priority0).
Following is the list of registers related to transaction service and QoS control:
- – DDRCTRL_SCHED: main scheduler control
- – DDRCTRL_SCHED1: page Cclose timer
- – DDRCTRL_PERFHPR1: controls HPR starvation and run_length
- – DDRCTRL_PERFHPR1: controls HPR starvation and run_length
- – DDRCTRL_PERFLPR1: controls LPR starvation and run_length
- – DDRCTRL_PCFGR_0/1: AXI port read control for port 0/1
- – DDRCTRL_PCFGW_0/1: AXI port write control for port 0/1
- – DDRCTRL_PCFRQOS0_0/1 and DDRCTRL_PCFRQOS1_0/1: AXI port read QoS region mapping for port 0/1 and port timeouts.
- – DDRCTRL_PCFWQOS0_0/1 and DDRCTRL_PCFWQOS1_0/1: AXI port write QoS region mapping for port 0/1 and port timeouts.
5.5.2 Paging policy options
Open page policy is set by DDRC_SCHED.pageclose = 0.
Any bank remains open until there is a need to close it because of a page miss or refresh timeout.
Intelligent precharge is a mid way between open and closed page policies, set by DDRC_SCHED.pageclose = 1 and DDRC_SCHED.pageclose_timer value to give the user control over the time waited when there are no page hits to a bank in the CAM before the auto-precharge or the explicit precharge is scheduled.
This timer allows the page to be kept open for a configurable number of clock cycles after there are no commands pending in the CAM to a bank. If there are pending commands higher up in the stream (for example XPI/PA ) to the same bank/page, it gives a chance to be scheduled by the DDRCTRL as an open page command.
5.5.3 Power saving features
The DDRCTRL supports various methods to save power within the system using power saving opportunities in the SDRAM, DDRPHYC and the SOC.
Precharge Power Down: (PDN)
The DDRCTRL automatically puts SDRAM in the Precharge Power Down mode under the control of the following parameters:
- – DDRCTRL_PWRCTRL.powerdown_en: to enter PDN (PDE) after a number of idle cycles
- – DDRCTRL_PWRTMG.powerdown_to_x32: number of idle clocks in multiple of 32 to enter PDN
- – DDRCTRL_DRAMTMG1.txp: minimum time to wait after PDN exit (PDX) to any command (DLL stays locked during PDN)
Note: During PDN refresh commands are performed and clocks must be maintained; the DDRCTRL pre-charges all banks before Precharge Power Down Exit (PDE). The DDR3 slow power down (by setting MR0[12] =1) is not supported.
Self-Refresh: (SR)

The SR is a significant power saving opportunity for SDRAM. Furthermore during SR, the DLL's in DDRPHY C can be bypassed and the DDRCTRL clocks can be stopped.
The DDRCTRL puts SDRAM in Self Refresh (SR) in the following cases:
- • Automatic SR when there are no read/write for a predefined time. This mode is controlled by:
- – DDRCTRL_PWRCTRL.selfref_en: to enter SR (SRE) after a number of idle cycle
- – DDRCTRL_PWRTMG.selfref_to_x32: number of idle clocks in multiple of 32 to enter SR.
- • Software controlled SR: this mode is controlled by:
- – DDRCTRL_PWRCTRL.selfref_sw: setting this bit is referred as software self_refresh entry.
- • Hardware controlled SR: this mode is supported by:
- – The FSM external to the DDRCTRL and under the control of RCC (refer to Section 10: Reset and clock control (RCC) for mode details). When the SoC goes into Stop mode, the DDRCTRL can put the SDRAM into self-refresh.
Deep power down: (DPD)
Note: DPD is applicable only to LPDDR2/3.
This power saving opportunity may be supported but does not present any significant interest because the SDRAM content is lost during DPD, practically DPD is not different from shutting down DDR
DDR3 DLL off mode:
The DDR3 DLL off mode may be supported at low frequencies, it requires MRS (MR1[0] =1) to disable DLL (by default DLL are on). It should use the software clock removal sequence:
Write 0 to DDRC_PCTRLn.port_en //to block AXI port n Poll DDRC_PSTAT.rd_port_busy = 0 Poll DDRC_PSTAT.wr_port_busy = 0 Write 1 to DDRC_PWRCTL.selref_en // move to self-refresh Poll DDRC_PSTAT.selfref_type = 2b10 ... change AXI and DDRC clocks to lower value used w/ DLL OFF ... MRS to disable DLL Write 0 to DDRC_PWRCTL.selref_en // exit self-refresh Poll DDRC_PSTAT.selfref_type = 2b00 Write 1 to DDRC_PCTRLn.port_en // to unlock AXI ports
DDRPHY DLL bypass mode:
It is possible to disable DDRPHYC DLL's to save significant power at low frequencies; this mode must be controlled by software. The software sequence transitions SDRAM to Self-refresh during which clock frequency change is possible.
5.5.4 Address mapper
The DDRCTRL address mapper is converting the AXI port read and write request into row, bank, column SDRAM address at XPI level.
The address mapping is very flexible and defined according to DDR_ADDRMAP1 to DDR_ADDRMAP11 register settings.

The usual non interleaved Row/Bank/Column (RBC) and Bank/Row/Column (BRC) can be simply programmed according to SDRAM architecture (row/bank/column) and full or half width interface mode.
5.5.5 DRAM timing parameters
The DDRCTRL schedule commands to SDRAM according to multiple timings constrains as programmed in registers DDRCTRL_DRAMTMGn according to SDRAM JEDEC timing parameters versus frequency.
The following registers are related to timings constrains
- – DDRCTRL_DRAMTMG0 to DDRCTRL_DRAMTMG14
- – DDRCTRL_ODTTMG
- – DDRCTRL_DFITMG0 and DDRCTRL_DFITMG1
5.5.6 SDRAM initialization sequence
The initialization is controlled by the DDRPHYC supporting a PUBL built-in initialization sequence for each DDR type and triggered by PIR registers. For more information see Section 7: DDR physical interface control (DDRPHYC).
5.5.7 Refresh controls
The refresh can be issued using the auto-refresh feature in DDRCTRL or using the direct software request of the refresh command. DDRCTRL_RFSHCTL3.dis_auto_refresh selects the refresh method. When this bit is set to 1, uMCTL2 uses direct software request of refresh command. When it is set to 0, the internal auto-refresh feature is used.
Refresh using the direct software request of refresh command
Follow the steps to put the DDRCTRL in direct software request of refresh command mode:
- 1. Set DDRCTRL_RFSHCTL3.dis_auto_refresh bit to 1. When the register bit set, DDRCTRL checks for any pending refreshes. Any pending refreshes are issued right away using the 'critical refresh' feature inside DDRCTRL. After these refreshes are issued, all the refresh timers inside DDRCTRL are reset to 0. They are re-activated only when the auto-refresh feature is enabled.
- 2. The SoC core must keep track of the refresh requirements of the SDRAM.
- 3. The refresh command can be issued by setting the register bits DDRCTRL_DBGCMD.rank0_refresh to 1. When the refresh request is stored, the corresponding register bit is automatically cleared. The SoC core can initiate a refresh operation only if DDRCTRL_DBGSTAT.rank0_refresh_busy is low. DDRCTRL issues refresh to the SDRAM at the earliest.
- 4. Software-driven refresh commands are loaded into a 9-entry buffer, and are issued by DDRCTRL on the DFI as soon as it is legal to do so. If the buffer saturates, the DBGSTAT.rank0_refresh_busy remains asserted to prevent software from initiating further refreshes.
Refresh using the auto refresh feature inside DDRCTRL
The DDRCTRL provides advanced refresh controls. Besides fully-configurable refresh constraints (tRFC(min) and tREFI), it can also be programmed to gather refreshes to each rank of SDRAM to reduce the bandwidth consumed by refreshes and to increase the likelihood that refreshes can be serviced during an idle period.
The following registers are related to refresh controls:
- – DDRCTRL_RFSHCTL0
- – DDRCTRL_RFSHCTL3
- – DDRCTRL_RFSHTMG
The purposes of refresh control are to:
- • reduce the bandwidth impact of refresh cycles
- • increase the likelihood of refreshes being serviced during idle periods
- • provide fine-gain control of the trading-off the above benefits (to gather refreshes) versus the increased worst case latencies associated with gathering refreshes
For more information, refer to the register description; besides issuing refresh at regular intervals according to tRFC(min) and tREFI, several optimization options are possible: Burst refresh, Speculative refresh, and Per-bank refresh (applicable to LPDDR2/3).
5.5.8 ZQ calibration
This feature is applicable to all DDR types. The DDRCTRL can use the ZQ calibration command to calibrate the SDRAM RON (resistor ON) and ODT (on-die termination) values over PVT (process, voltage, temperature).
The DDRPHYC supports the RON and ODT calibration at initialization; for more information see Section 7: DDR physical interface control (DDRPHYC).
The DDRCTRL may issue periodic calibrations which take less time at regular interval. (ZQCS).
The DDRCTRL may also issue a long calibration (ZQCL) after self-refresh exit
The following registers are related to ZQ calibration controls:
- – DDRCTRL_ZQCTL0
- – DDRCTRL_ZQCTL1
- – DDRCTRL_ZQCTL2
- – DDRCTRL_ZQSTAT
For more information on ZQ Calibration, refer to JEDEC specifications of the corresponding SDRAM.
5.6 DDRCTRL configuration
The DDRCTRL is a configuration of uMTCL2 with these major hardware configuration options:
- – DDR mode support: DDR3/LPDDR2/LPDDR3
- – Frequency ratio: 1:1
- – Arbiter: include port arbiter (PA) with 2 AXI ports
- – Partial write support
- – CAM depth:16
- – No dual HIF
- – Variable priority read and variable priority write
- – Dual read address queue per port
5.7 DDRCTRL registers
The DDRCTRL is configured to support DDR3/LPDDR2/LPDDR3. In the following register description section, ignore all references to other standards (mDDR, DDR2, DDR4, LPDDR4) as not being applicable.
Several register values depend on DDRCTRL configuration according to:
- • Include arbiter (UMCTL2_INCL_ARB = 1)
- • Partial write support (UMCTL2_PARTIAL_WR = 1)
- • Variable priority read (UMCTL2_VPR_EN = 1)
- • Variable priority write (UMCTL2_VPW_EN = 1)
The DDRCTRL registers are accessed only by words (32-bit).
R/W access to unmapped registers causes an APB SLVERR.
Write access to read-only registers is ignored without causing an APB SLVERR.
The Programming mode tag in the bit field describes how the field can be programmed according to:
- • Static: the bit field is written only before DDRCTRL reset is released.
- • Dynamic: the bit field may be written during run time.
- • Quasi-dynamic: the bit field may be written during run time under special conditions and procedure (described in Section 5.4.5: APB Interface (APB)).
Quarter bus width (MSTR.data_bus_width = 10) is not supported.
For register summary see: Table 19 on page 302.
5.7.1 DDRCTRL master register 0 (DDRCTRL_MSTR)
Address offset: 0x000
Reset value: 0x0004 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BURST_RDWR[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DLL_OFF_MODE | Res. | DATA_BUS_WIDTH[1:0] | Res. | EN_2T_TIMING_MODE | BURSTCHOP | Res. | Res. | Res. | Res. | Res. | LPDDR3 | LPDDR2 | Res. | DDR3 | |
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:20 Reserved, must be kept at reset value.
- Bits 19:16 BURST_RDWR[3:0]: SDRAM burst length used:
- - 0001 - Burst length of 2 (only supported for mDDR)
- - 0010 - Burst length of 4
- - 0100 - Burst length of 8
- - 1000 - Burst length of 16 (only supported for mDDR, LPDDR2, and LPDDR4)
- All other values are reserved.
- This controls the burst size used to access the SDRAM. This must match the burst length mode register setting in the SDRAM. (For BC4/8 on-the-fly mode of DDR3 and DDR4, set this field to 0x0100) The burst length of 2 is not supported with the AXI ports when MEMC_BURST_LENGTH is 8.
- The burst length of 2 is only supported when the controller is operating in 1:1 frequency mode. For DDR3, DDR4 and LPDDR3, this must be set to 0x0100 (BL8).
- For LPDDR4, this must be set to 0x1000 (BL16).
- Programming mode: Static
- Bit 15 DLL_OFF_MODE: Set to 1 when the DDCRTL and DRAM has to be put in DLL-off mode for low frequency operation.
- Set to 0 to put DDCRTL and DRAM in DLL-on mode for normal frequency operation.
- If DDR4 CRC/parity retry is enabled (CRCPARCTL1.crc_parity_retry_enable = 1), dll_off_mode is not supported, and this bit must be set to '0'.
- Programming mode: Quasi-dynamic Group 2
- Bit 14 Reserved, must be kept at reset value.
- Bits 13:12 DATA_BUS_WIDTH[1:0]: Selects proportion of DQ bus width that is used by the SDRAM
- - 00 - Full DQ bus width to SDRAM
- - 01 - Half DQ bus width to SDRAM
- - 10 - Reserved
- - 11 - Reserved
- Programming mode: Static
- Bit 11 Reserved, must be kept at reset value.
- Bit 10 EN_2T_TIMING_MODE: If 1, then the DDCRTL uses 2T timing. Otherwise, uses 1T timing. In 2T timing, all command signals (except chip select) are held for 2 clocks on the SDRAM bus. The chip select is asserted on the second cycle of the command
- Note: 2T timing is not supported in LPDDR2/LPDDR3/LPDDR4 mode
- Note: 2T timing is not supported if the configuration parameter MEMC_CMD_RTN2IDLE is set
- Note: 2T timing is not supported in DDR4 geardown mode.
- Note: 2T timing is not supported in Shared-AC dual channel mode and the register value is don't care.
- Programming mode: Static
- Bit 9 BURSTCHOP: When set, enable burst-chop (BC4 or 8 on-the-fly) in DDR3/DDR4. The burst-chop for Reads is exercised only in HIF configurations (UMCTL2_INCL_ARB not set) and if in full bus width mode (MSTR.data_bus_width = 00) and if MEMC_BURST_LENGTH=8 or 16. The burst-chop for writes is exercised only if partial writes enabled (UMCTL2_PARTIAL_WR=1) and if CRC is disabled (CRCPARCTL1.crc_enable = 0).
- The BC4 (fixed) mode is not supported.
- Programming mode: Static
- Bits 8:4 Reserved, must be kept at reset value.
- Bit 3 LPDDR3: Selects LPDDR3 SDRAM
- 1 - LPDDR3 SDRAM device in use.
- 0 - non-LPDDR3 device in use
Present only in designs configured to support LPDDR3.
Programming mode: Static - Bit 2 LPDDR2: Selects LPDDR2 SDRAM
- 1 - LPDDR2 SDRAM device in use.
- 0 - non-LPDDR2 device in use
Present only in designs configured to support LPDDR2.
Programming mode: Static - Bit 1 Reserved, must be kept at reset value.
- Bit 0 DDR3: Selects DDR3 SDRAM
- 1 - DDR3 SDRAM device in use
- 0 - non-DDR3 SDRAM device in use
Only present in designs that support DDR3.
Programming mode: Static
5.7.2 DDRCTRL operating mode status register (DDRCTRL_STAT)
Address offset: 0x004
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | SELFREF_CAM_NOT_EMPTY | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_TYPE[1:0] | Res. | OPERATING_MODE[2:0] | |||
| r | r | r | r | r | r | ||||||||||
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 SELFREF_CAM_NOT_EMPTY: Self refresh with CAMs not empty. Set to 1 when Self Refresh is entered but CAMs are not drained. Cleared after exiting Self Refresh.
Programming mode: Dynamic
Bits 11:6 Reserved, must be kept at reset value.
Bits 5:4 SELFREF_TYPE[1:0]: Flags if Self Refresh (except LPDDR4) or SR-Powerdown (LPDDR4) is entered and if it was under Automatic Self Refresh control only or not.
- 00 - SDRAM is not in Self Refresh (except LPDDR4) or SR-Powerdown (LPDDR4). If retry is enabled by CRCPARCTRL1.crc_parity_retry_enable, this also indicates SRE command is still in parity error window or retry is in-progress.
- 11 - SDRAM is in Self Refresh (except LPDDR4) or SR-Powerdown (LPDDR4), which was caused by Automatic Self Refresh only. If retry is enabled, this guarantees SRE command is executed correctly without parity error.
- 10 - SDRAM is in Self Refresh (except LPDDR4) or SR-Powerdown (LPDDR4), which was not caused solely under Automatic Self Refresh control. It could have been caused by Hardware Low-power Interface and/or Software (PWRCTL.selfref_sw). If retry is enabled, this guarantees SRE command is executed correctly without parity error.
- 01 - SDRAM is in Self Refresh, which was caused by PHY Master Request.
Programming mode: Dynamic
Bit 3 Reserved, must be kept at reset value.
Bits 2:0 OPERATING_MODE[2:0]: Operating mode. This is 3-bits wide in configurations with mDDR/LPDDR2/LPDDR3/LPDDR4/DDR4 support and 2-bits in all other configurations.
Condition non-mDDR/LPDDR2/LPDDR3/LPDDR4 and non-DDR4 designs:
- 000 - Init
- 001 - Normal
- 010 - Power-down
- 011 - Self refresh
Condition mDDR/LPDDR2/LPDDR3 or DDR4 designs:
- 000 - Init
- 001 - Normal
- 010 - Power-down
- 011 - Self refresh
- 1XX - Deep power-down / Maximum Power Saving Mode
Condition LPDDR4 designs:
- 000 - Init
- 001 - Normal
- 010 - Power-down
- 011 - Self refresh / Self refresh power-down
Programming mode: Dynamic
5.7.3 DDRCTRL mode register read/write control register 0 (DDRCTRL_MRCTRL0)
Address offset: 0x010
Reset value: 0x0000 0010
Mode Register Read/Write Control Register 0.
Note: Do not enable more than one of the following fields simultaneously:
- • sw_init_int
- • pda_en
- • mpr_en
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MR_WR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rs | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR_ADDR[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_TYPE | |||
| rw | rw | rw | rw | rw | |||||||||||
Bit 31 MR_WR: Setting this register bit to 1 triggers a mode register read or write operation. When the MR operation is complete, the DDDRCTRL automatically clears this bit. The other register fields of this register must be written in a separate APB transaction, before setting this mr_wr bit. It is recommended NOT to set this signal if in Init, Deep power-down or MPSM operating modes.
Programming mode: Dynamic
Bits 30:16 Reserved, must be kept at reset value.
Bits 15:12 MR_ADDR[3:0]: Address of the mode register that is to be written to.
- - 0000 - MR0
- - 0001 - MR1
- - 0010 - MR2
- - 0011 - MR3
- - 0100 - MR4
- - 0101 - MR5
- - 0110 - MR6
- - 0111 - MR7
Don't Care for LPDDR2/LPDDR3/LPDDR4 (see MRCTRL1.mr_data for mode register addressing in LPDDR2/LPDDR3/LPDDR4)
This signal is also used for writing to control words of the register chip on RDIMMs/LRDIMMs. In that case, it corresponds to the bank address bits sent to the RDIMM/LRDIMM
In case of DDR4, the bit[3:2] corresponds to the bank group bits. Therefore, the bit[3] as well as the bit[2:0] must be set to an appropriate value which is considered both the Address Mirroring of UDIMMs/RDIMMs/LRDIMMs and the Output Inversion of RDIMMs/LRDIMMs.
Programming mode: Dynamic
Bits 11:5 Reserved, must be kept at reset value.
Bits 4:1 Reserved, must be kept at reset value.

Bit 0 MR_TYPE: Indicates whether the mode register operation is read or write. Only used for LPDDR2/LPDDR3/LPDDR4/DDR4.
- 0 - Write, MRCTRL register does not support MR read for LPDDR2/3
- 1 - Reserved
Programming mode: Dynamic
5.7.4 DDRCTRL mode register read/write control register 1 (DDRCTRL_MRCTRL1)
Address offset: 0x014
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR_DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 MR_DATA[15:0]: Mode register write data for all non-LPDDR2/non-LPDDR3/non-LPDDR4 modes.
For LPDDR2/LPDDR3/LPDDR4, MRCTRL1[15:0] are interpreted as
[15:8] MR Address
[7:0] MR data for writes, don't care for reads. This is 18-bits wide in configurations with DDR4 support and 16-bits in all other configurations.
Programming mode: Dynamic

5.7.5 DDRCTRL mode register read/write status register (DDRCTRL_MRSTAT)
Address offset: 0x018
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_WR_BUSY |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 MR_WR_BUSY: The SoC core may initiate a MR write operation only if this signal is low. This signal goes high in the clock after the DDCCTRL accepts the MRW/MRR request. It goes low when the MRW/MRR command is issued to the SDRAM. It is recommended not to perform MRW/MRR commands when 'MRSTAT.mr_wr_busy' is high.
- - 0 - Indicates that the SoC core can initiate a mode register write operation
- - 1 - Indicates that mode register write operation is in progress
Programming mode: Dynamic
5.7.6 DDRCTRL temperature derate enable register (DDRCTRL_DERATEEN)
Address offset: 0x020
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DERATE_BYTE[3:0] | Res. | DERATE_VALUE[1:0] | DERATE_ENABLE | ||||
| rw | rw | rw | rw | rw | rw | ||||||||||
| rw | rw | ||||||||||||||
Bits 31:8 Reserved, must be kept at reset value.
- Bits 7:4 DERATE_BYTE[3:0]: Derate byte
Present only in designs configured to support LPDDR2/LPDDR3/LPDDR4
Indicates which byte of the MRR data is used for derating. The maximum valid value depends on MEMC_DRAM_TOTAL_DATA_WIDTH.
Programming mode: Static - Bit 3 Reserved, must be kept at reset value.
- Bits 2:1 DERATE_VALUE[1:0]: Derate value
- - 0 - Derating uses +1.
- - 1 - Derating uses +2.
Set to 0 for all LPDDR2 speed grades as derating value of +1.875 ns is less than a core_ddrc_core_clk period.
For LPDDR3/4, if the period of core_ddrc_core_clk is less than 1.875ns, this register field should be set to 1; otherwise it should be set to 0.
Programming mode: Quasi-dynamic Group 2 and Group 4 - Bit 0 DERATE_ENABLE: Enables derating
- - 0 - Timing parameter derating is disabled
- - 1 - Timing parameter derating is enabled using MR4 read value.
This field must be set to '0' for non-LPDDR2/LPDDR3/LPDDR4 mode.
Programming mode: Dynamic
5.7.7 DDRCTRL temperature derate interval register (DDRCTRL_DERATEINT)
Address offset: 0x024
Reset value: 0x0080 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MR4_READ_INTERVAL[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR4_READ_INTERVAL[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
- Bits 31:0 MR4_READ_INTERVAL[31:0]: Interval between two MR4 reads, used to derate the timing parameters.
Present only in designs configured to support LPDDR2/LPDDR3/LPDDR4. This register must not be set to zero.
Unit: DFI clock cycle.
Programming mode: Static

5.7.8 DDRCTRL low power control register (DDRCTRL_PWRCTL)
Address offset: 0x030
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_CAM_DRAIN_SELFREF | Res. | SELFREF_SW | Res. | EN_DFI_DRAM_CLK_DISABLE | DEEPPowerDOWN_EN | PowerDOWN_EN | SELFREF_EN |
| rw | rw | rw | rw | rw | rw |
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 DIS_CAM_DRAIN_SELFREF: Indicates whether skipping CAM draining is allowed when entering Self-Refresh.
This register field cannot be modified while PWRCTL.selfref_sw==1.
- 0 - CAMs must be empty before entering SR
- 1 - CAMs are not emptied before entering SR (unsupported)
Note, PWRCTL.dis_cam_drain_selfref=1 is unsupported in this release.
PWRCTL.dis_cam_drain_selfref=0 is required.
Programming mode: Dynamic
Bit 6 Reserved, must be kept at reset value.
Bit 5 SELFREF_SW: A value of 1 to this register causes system to move to Self Refresh state immediately, as long as it is not in INIT or DPD/MPSM operating_mode. This is referred to as Software Entry/Exit to Self Refresh.
- 1 - Software Entry to Self Refresh
- 0 - Software Exit from Self Refresh
Programming mode: Dynamic
Bit 4 Reserved, must be kept at reset value.
Bit 3 EN_DFI_DRAM_CLK_DISABLE: Enable the assertion of dfi_dram_clk_disable whenever a clock is not required by the SDRAM.
If set to 0, dfi_dram_clk_disable is never asserted.
Assertion of dfi_dram_clk_disable is as follows:
In DDR2/DDR3, can only be asserted in Self Refresh.
In DDR4, can be asserted in following:
- - in Self Refresh.
- - in Maximum Power Saving Mode
In mDDR/LPDDR2/LPDDR3, can be asserted in following:
- - in Self Refresh
- - in Power Down
- - in Deep Power Down
- - during Normal operation (Clock Stop)
In LPDDR4, can be asserted in following:
- - in Self Refresh Power Down
- - in Power Down
- - during Normal operation (Clock Stop)
Programming mode: Dynamic
Bit 2 DEEPPowerDOWN_EN: When this is 1, DDRCTRL puts the SDRAM into deep power-down mode when the transaction store is empty.
This register must be reset to '0' to bring DDRCTRL out of deep power-down mode. Controller performs automatic SDRAM initialization on deep power-down exit.
Present only in designs configured to support mDDR or LPDDR2 or LPDDR3. For non-mDDR/non-LPDDR2/non-LPDDR3, this register should not be set to 1.
For performance only
Programming mode: Dynamic
Bit 1 PowerDOWN_EN: If true then the DDRCTRL goes into power-down after a programmable number of cycles "maximum idle clocks before power down" (PWRTMG.powerdown_to_x32).
This register bit may be re-programmed during the course of normal operation.
Programming mode: Dynamic
Bit 0 SELFREF_EN: If true then the DDRCTRL puts the SDRAM into Self Refresh after a programmable number of cycles "maximum idle clocks before Self Refresh (PWRTMG.selfref_to_x32)". This register bit may be re-programmed during the course of normal operation.
Programming mode: Dynamic
5.7.9 DDRCTRL low power timing register (DDRCTRL_PWRTMG)
Address offset: 0x034
Reset value: 0x0040 2010
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_TO_X32[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| T_DPD_X4096[7:0] | Res. | Res. | Res. | POWERDOWN_TO_X32[4:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 SELFREF_TO_X32[7:0]: After this many clocks of the DDRC command channel being idle the DDRCTRL automatically puts the SDRAM into Self Refresh. The DDRC command channel is considered idle when there are no HIF commands outstanding. This must be enabled in the PWRCTRL.selfref_en.
Unit: Multiples of 32 DFI clocks.
For performance only.
Programming mode: Quasi-dynamic Group 4
Bits 15:8 T_DPD_X4096[7:0]: Minimum deep power-down time.
For mDDR, value from the JEDEC specification is 0 as mDDR exits from deep power-down mode immediately after PWRCTRL.deeppowerdown_en is de-asserted.
For LPDDR2/LPDDR3, value from the JEDEC specification is 500 us.
Unit: Multiples of 4096 DFI clocks.
Present only in designs configured to support mDDR, LPDDR2 or LPDDR3.
For performance only.
Programming mode: Quasi-dynamic Group 4
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 POWERDOWN_TO_X32[4:0]: After this many clocks of the DDRC command channel being idle the DDRCTRL automatically puts the SDRAM into power-down. The DDRC command channel is considered idle when there are no HIF commands outstanding. This must be enabled in the PWRCTRL.powerdown_en.
Unit: Multiples of 32 DFI clocks
For performance only.
Programming mode: Quasi-dynamic Group 4
5.7.10 DDRCTRL hardware low power control register (DDRCTRL_HWLPCTL)
Address offset: 0x038
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | HW_LP_IDLE_X32[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HW_LP_EXIT_IDLE_EN | HW_LP_EN |
| rw | rw | ||||||||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16 HW_LP_IDLE_X32[11:0]: Hardware idle period. The cactive_ddrc output is driven low if the DDRC command channel is idle for hw_lp_idle * 32 cycles if not in INIT or DPD/MPSM operating_mode. The DDRC command channel is considered idle when there are no HIF commands outstanding. The hardware idle function is disabled when hw_lp_idle_x32=0.
Unit: Multiples of 32 DFI clocks.
For performance only.
Programming mode: Static
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 HW_LP_EXIT_IDLE_EN: When this bit is programmed to 1 the cactive_in_ddrc pin of the DDRC can be used to exit from the automatic clock stop, automatic power down or automatic self-refresh modes. Note, it does not cause exit of Self-Refresh that is caused by Hardware Low power interface and/or software (PWRCTL.selfref_sw).
Programming mode: Static
Bit 0 HW_LP_EN: Enable for hardware low power interface.
Programming mode: Quasi-dynamic Group 3
5.7.11 DDRCTRL refresh control register 0 (DDRCTRL_RFSHCTL0)
Address offset: 0x050
Reset value: 0x0021 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REFRESH_MARGIN[3:0] | Res. | Res. | Res. | REFRESH_TO_X32[4] | |||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| REFRESH_TO_X32[3:0] | Res. | Res. | Res. | REFRESH_BURST[4:0] | Res. | PER_BANK_REFRESH | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:20 REFRESH_MARGIN[3:0]: Threshold value in number of DFI clock cycles before the critical refresh or page timer expires. A critical refresh is to be issued before this threshold is reached. It is recommended that this not be changed from the default value, currently shown as 0x2. It must always be less than internally used t_rfc_nom/32. Note that internally used t_rfc_nom is equal to RFSHTMG.t_rfc_nom_x1_x32 * 32 if RFSHTMG.t_rfc_nom_x1_sel=0. If RFSHTMG.t_rfc_nom_x1_sel=1 (for LPDDR2/LPDDR3/LPDDR4 per-bank refresh only), internally used t_rfc_nom is equal to RFSHTMG.t_rfc_nom_x1_x32. Note that, in LPDDR2/LPDDR3/LPDDR4, internally used t_rfc_nom may be divided by four if derating is enabled (DERATEEN.derate_enable=1).
Unit: Multiples of 32 DFI clocks.
Programming mode: Dynamic - Refresh Related
Bits 19:17 Reserved, must be kept at reset value.
Bits 16:12 REFRESH_TO_X32[4:0]: If the refresh timer (tRFCnom, also known as tREFI) has expired at least once, but it has not expired (RFSHCTL0.refresh_burst+1) times yet, then a speculative refresh may be performed. A speculative refresh is a refresh performed at a time when refresh would be useful, but before it is absolutely required. When the SDRAM bus is idle for a period of time determined by this RFSHCTL0.refresh_to_x32 and the refresh timer has expired at least once since the last refresh, then a speculative refresh is performed. Speculative refreshes continue successively until there are no refreshes pending or until new reads or writes are issued to the DDRCTRL.
For performance only.
Unit: Multiples of 32 DFI clocks.
Programming mode: Dynamic - Refresh Related
Bits 11:9 Reserved, must be kept at reset value.
Bits 8:4 REFRESH_BURST[4:0]: The programmed value + 1 is the number of refresh timeouts that is allowed to accumulate before traffic is blocked and the refreshes are forced to execute. Closing pages to perform a refresh is a one-time penalty that must be paid for each group of refreshes. Therefore, performing refreshes in a burst reduces the per-refresh penalty of these page closings. Higher numbers for RFSHCTL0.refresh_burst slightly increases utilization; lower numbers decreases the worst-case latency associated with refreshes.
- 0 - single refresh
- 1 - burst-of-2 refresh
- 7 - burst-of-8 refresh
For information on burst refresh feature refer to section 3.9 of DDR2 JEDEC specification - JESD79-2F.pdf.
For DDR2/3, the refresh is always per-rank and not per-bank. The rank refresh can be accumulated over 8*tREFI cycles using the burst refresh feature.
In DDR4 mode, according to Fine Granularity feature, 8 refreshes can be postponed in 1X mode, 16 refreshes in 2X mode and 32 refreshes in 4X mode. If using PHY-initiated updates, care must be taken in the setting of RFSHCTL0.refresh_burst, to ensure that tRFCmax is not violated due to a PHY-initiated update occurring shortly before a refresh burst was due. In this situation, the refresh burst is delayed until the PHY-initiated update is complete.
Programming mode: dynamic - refresh related
Bit 3 Reserved, must be kept at reset value.
Bit 2 PER_BANK_REFRESH:
- 1 - Per bank refresh;
- 0 - All bank refresh.
Per bank refresh allows traffic to flow to other banks. Per bank refresh is not supported by all LPDDR2 devices but should be supported by all LPDDR3/LPDDR4 devices. Present only in designs configured to support LPDDR2/LPDDR3/LPDDR4
Programming mode: Static
Bits 1:0 Reserved, must be kept at reset value.
5.7.12 DDRCTRL refresh control register 3 (DDRCTRL_RFSHCTL3)
Address offset: 0x060
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REFRESH_UPDATE_LEVEL | DIS_AUTO_REFRESH |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 REFRESH_UPDATE_LEVEL: Toggles this signal (either from 0 to 1 or from 1 to 0) to indicate that the refresh register(s) have been updated.
refresh_update_level must not be toggled when the DDRC is in reset (core_ddrc_rstn = 0).
The refresh register(s) are automatically updated when exiting reset.
Programming mode: Dynamic
Bit 0 DIS_AUTO_REFRESH: When '1', disable auto-refresh generated by the DDRCTRL. When auto-refresh is disabled, the SoC core must generate refreshes using the registers DBGCMD.rankn_refresh.
When dis_auto_refresh transitions from 0 to 1, any pending refreshes are immediately scheduled by the DDRCTRL.
If DDR4 CRC/parity retry is enabled (CRCPARCTL1.crc_parity_retry_enable = 1), disable auto-refresh is not supported, and this bit must be set to '0'.
(DDR4 only) If FGR mode is enabled (RFSHCTL3.refresh_mode > 0), disable auto-refresh is not supported, and this bit must be set to '0'.
This register field is changeable on the fly.
Programming mode: Dynamic - Refresh Related
5.7.13 DDRCTRL refresh timing register (DDRCTRL_RFSHTMG)
Address offset: 0x064
Reset value: 0x0062 008C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| T_RFC_NOM_X1_SEL | Res. | Res. | Res. | T_RFC_NOM_X1_X32[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LPDDR3_TREFBW_EN | Res. | Res. | Res. | Res. | Res. | T_RFC_MIN[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bit 31 T_RFC_NOM_X1_SEL: Specifies whether the t_rfc_nom_x1_x32 register value is x1 or x32.
Programming mode: Dynamic - Refresh Related
Bits 30:28 Reserved, must be kept at reset value.
Bits 27:16 T_RFC_NOM_X1_X32[11:0]: tREFI: Average time interval between refreshes per rank (Specification: 7.8us for DDR2, DDR3 and DDR4. See JEDEC specification for mDDR, LPDDR2, LPDDR3 and LPDDR4).
For LPDDR2/LPDDR3/LPDDR4:
- - If using all-bank refreshes (RFSHCTL0.per_bank_refresh = 0), this register should be set to tREFIab
- - If using per-bank refreshes (RFSHCTL0.per_bank_refresh = 1), this register should be set to tREFIpb
When the controller is operating in 1:2 frequency ratio mode, program this to (tREFI/2), no rounding up.
In DDR4 mode, tREFI value is different depending on the refresh mode. The user should program the appropriate value from the spec based on the value programmed in the refresh mode register.
Note that if RFSHTMG.t_rfc_nom_x1_sel == 1, RFSHTMG.t_rfc_nom_x1_x32 must be greater than RFSHTMG.t_rfc_min; if RFSHTMG.t_rfc_nom_x1_sel == 0, RFSHTMG.t_rfc_nom_x1_x32 * 32 must be greater than RFSHTMG.t_rfc_min; RFSHTMG.t_rfc_nom_x1_x32 must be greater than 0x1.
- - Non-DDR4 or DDR4 Fixed 1x mode: RFSHTMG.t_rfc_nom_x1_x32 must be less than or equal to 0xFFE.
- - DDR4 Fixed 2x mode: RFSHTMG.t_rfc_nom_x1_x32 must be less than or equal to 0x7FF.
- - DDR4 Fixed 4x mode: RFSHTMG.t_rfc_nom_x1_x32 must be less than or equal to 0x3FF.
Unit: Clocks or multiples of 32 clocks, depending on RFSHTMG.t_rfc_nom_x1_sel.
Programming mode: Dynamic - Refresh Related
Bit 15 LPDDR3_TREFBW_EN: Used only when LPDDR3 memory type is connected. Should only be changed when DDRCTRL is in reset. Specifies whether to use the tREFBW parameter (required by some LPDDR3 devices which comply with earlier versions of the LPDDR3 JEDEC specification) or not:
- - 0 - tREFBW parameter not used
- - 1 - tREFBW parameter used
Programming mode: Static
Bits 14:10 Reserved, must be kept at reset value.
Bits 9:0 T_RFC_MIN[9:0]: tRFC (min): Minimum time from refresh to refresh or activate.
When the controller is operating in 1:1 mode, t_rfc_min should be set to RoundUp(tRFCmin/tCK).
When the controller is operating in 1:2 mode, t_rfc_min should be set to RoundUp(RoundUp(tRFCmin/tCK)/2).
In LPDDR2/LPDDR3/LPDDR4 mode:
- - If using all-bank refreshes, the tRFCmin value in the above equations is equal to tRFCab
- - If using per-bank refreshes, the tRFCmin value in the above equations is equal to tRFCpb
In DDR4 mode, the tRFCmin value in the above equations is different depending on the refresh mode (fixed 1X,2X,4X) and the device density. The user should program the appropriate value from the spec based on the 'refresh_mode' and the device density that is used.
Unit: Clocks.
Programming mode: Dynamic - Refresh Related
5.7.14 DDRCTRL CRC parity control register 0 (DDRCTRL_CRCPARCTL0)
Address offset: 0x0C0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_ALERT_ERR_CNT_CLR | DFI_ALERT_ERR_INT_CLR | DFI_ALERT_ERR_INT_EN |
| rc_w1 | rc_w1 | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DFI_ALERT_ERR_CNT_CLR: DFI alert error count clear. Clear bit for DFI alert error counter. Asserting this bit, clears the DFI alert error counter, CRCPARSTAT.dfi_alert_err_cnt. When the clear operation is complete, the DDRCTRL automatically clears this bit.
Programming mode: Dynamic
Bit 1 DFI_ALERT_ERR_INT_CLR: Interrupt clear bit for DFI alert error. If this bit is set, the alert error interrupt on CRCPARSTAT.dfi_alert_err_int is cleared. When the clear operation is complete, the DDCRTL automatically clears this bit.
Programming mode: Dynamic
Bit 0 DFI_ALERT_ERR_INT_EN: Interrupt enable bit for DFI alert error. If this bit is set, any parity/CRC error detected on the dfi_alert_n input results in an interrupt being set on CRCPARSTAT.dfi_alert_err_int.
Programming mode: Dynamic
5.7.15 DDCRTL CRC parity status register (DDRCTRL_CRCPARSTAT)
Address offset: 0x0CC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_ALERT_ERR_INT |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DFI_ALERT_ERR_CNT[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 DFI_ALERT_ERR_INT: DFI alert error interrupt.
If a parity/CRC error is detected on dfi_alert_n, and the interrupt is enabled by CRCPARCTL0.dfi_alert_err_int_en, this interrupt bit is set. It remains set until cleared by CRCPARCTL0.dfi_alert_err_int_clr
Programming mode: Static
Bits 15:0 DFI_ALERT_ERR_CNT[15:0]: DFI alert error count.
If a parity/CRC error is detected on dfi_alert_n, this counter be incremented. This is independent of the setting of CRCPARCTL0.dfi_alert_err_int_en. It saturates at 0xFFFF, and can be cleared by asserting CRCPARCTL0.dfi_alert_err_cnt_clr.
Programming mode: Static
5.7.16 DDRCTRL SDRAM initialization register 0 (DDRCTRL_INIT0)
Address offset: 0x0D0
Reset value: 0x0002 004E
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SKIP_DRAM_INIT[1:0] | Res. | Res. | Res. | Res. | POST_CKE_X1024[9:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | PRE_CKE_X1024[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:30 SKIP_DRAM_INIT[1:0]: If lower bit is enabled the SDRAM initialization routine is skipped. The upper bit decides what state the controller starts up in when reset is removed
- - 00 - SDRAM Initialization routine is run after power-up
- - 01 - SDRAM Initialization routine is skipped after power-up. Controller starts up in Normal Mode
- - 11 - SDRAM Initialization routine is skipped after power-up. Controller starts up in Self-refresh Mode
- - 10 - Reserved.
Programming mode: Quasi-dynamic Group 2
Bits 29:26 Reserved, must be kept at reset value.
Bits 25:16 POST_CKE_X1024[9:0]: Cycles to wait after driving CKE high to start the SDRAM initialization sequence.
Unit: 1024 DFI clock cycles.
DDR2 typically requires a 400 ns delay, requiring this value to be programmed to 2 at all clock speeds.
LPDDR2/LPDDR3 typically requires this to be programmed for a delay of 200 us.
LPDDR4 typically requires this to be programmed for a delay of 2 us.
When the controller is operating in 1:2 frequency ratio mode, program this to JEDEC spec value divided by 2, and round it up to the next integer value.
Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:0 PRE_CKE_X1024[11:0]: Cycles to wait after reset before driving CKE high to start the SDRAM initialization sequence.
Unit: 1024 DFI clock cycles.
DDR2 specifications typically require this to be programmed for a delay of >= 200 us.
LPDDR2/LPDDR3: tINIT1 of 100 ns (min)
LPDDR4: tINIT3 of 2 ms (min)
When the controller is operating in 1:2 frequency ratio mode, program this to JEDEC spec value divided by 2, and round it up to the next integer value.
For DDR3/DDR4 RDIMMs, this should include the time needed to satisfy tSTAB
Programming mode: Static
5.7.17 DDRCTRL SDRAM initialization register 1 (DDRCCTRL_INIT1)
Address offset: 0x0D4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRAM_RSTN_X1024[8:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRE_OCD_X32[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:25 Reserved, must be kept at reset value.
Bits 24:16 DRAM_RSTN_X1024[8:0]: Number of cycles to assert SDRAM reset signal during init sequence.
This is only present for designs supporting DDR3, DDR4 or LPDDR4 devices. For use with a DDR PHY, this should be set to a minimum of 1.
When the controller is operating in 1:2 frequency ratio mode, program this to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: 1024 DFI clock cycles.
Programming mode: Static
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 PRE_OCD_X32[3:0]: Wait period before driving the OCD complete command to SDRAM.
Unit: Counts of a global timer that pulses every 32 DFI clock cycles.
There is no known specific requirement for this; it may be set to zero.
Programming mode: Static
5.7.18 DDRCTRL SDRAM initialization register 2 (DDRCCTRL_INIT2)
Address offset: 0x0D8
Reset value: 0x0000 0D05
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IDLE_AFTER_RESET_X32[7:0] | Res. | Res. | Res. | Res. | MIN_STABLE_CLOCK_X1[3:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:16 Reserved, must be kept at reset value.

Bits 15:8 IDLE_AFTER_RESET_X32[7:0]: Idle time after the reset command, tINIT4. Present only in designs configured to support LPDDR2.
When the controller is operating in 1:2 frequency ratio mode, program this to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: 32 DFI clock cycles.
Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 MIN_STABLE_CLOCK_X1[3:0]: Time to wait after the first CKE high, tINIT2. Present only in designs configured to support LPDDR2/LPDDR3.
LPDDR2/LPDDR3 typically requires 5 x tCK delay.
When the controller is operating in 1:2 frequency ratio mode, program this to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: DFI clock cycles.
Programming mode: Static
5.7.19 DDRCTRL SDRAM initialization register 3 (DDRCTRL_INIT3)
Address offset: 0x0DC
Reset value: 0x0000 0510
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MR[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EMR[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 MR[15:0]: DDR2: Value to write to MR register. Bit 8 is for DLL and the setting here is ignored. The DDRCTRL sets this bit appropriately.
DDR3/DDR4: Value loaded into MR0 register.
mDDR: Value to write to MR register.
LPDDR2/LPDDR3/LPDDR4 - Value to write to MR1 register
Programming mode: Quasi-dynamic Group 1 and Group 4
Bits 15:0 EMR[15:0]: DDR2: Value to write to EMR register. Bits 9:7 are for OCD and the setting in this register is ignored. The DDRCTRL sets those bits appropriately.
DDR3/DDR4: Value to write to MR1 register Set bit 7 to 0. If PHY-evaluation mode training is enabled, this bit is set appropriately by the DDRCTRL during write leveling.
mDDR: Value to write to EMR register.
LPDDR2/LPDDR3/LPDDR4 - Value to write to MR2 register
Programming mode: Quasi-dynamic Group 4
5.7.20 DDRCTRL SDRAM initialization register 4 (DDRCCTRL_INIT4)
Address offset: 0x0E0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| EMR2[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EMR3[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 EMR2[15:0]: DDR2: Value to write to EMR2 register.
DDR3/DDR4: Value to write to MR2 register
LPDDR2/LPDDR3/LPDDR4: Value to write to MR3 register
mDDR: Unused
Programming mode: Quasi-dynamic Group 4
Bits 15:0 EMR3[15:0]: DDR2: Value to write to EMR3 register.
DDR3/DDR4: Value to write to MR3 register
mDDR/LPDDR2/LPDDR3: Unused
LPDDR4: Value to write to MR13 register
Programming mode: Quasi-dynamic Group 2 and Group 4
5.7.21 DDRCTRL SDRAM initialization register 5 (DDRCCTRL_INIT5)
Address offset: 0x0E4
Reset value: 0x0010 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DEV_ZQINIT_X32[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | MAX_AUTO_INIT_X1024[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 DEV_ZQINIT_X32[7:0]: ZQ initial calibration, tZQINIT. Present only in designs configured to support DDR3 or DDR4 or LPDDR2/LPDDR3.
DDR3 typically requires 512 SDRAM clock cycles.
DDR4 requires 1024 SDRAM clock cycles.
LPDDR2/LPDDR3 requires 1 us.
When the controller is operating in 1:2 frequency ratio mode, program this to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: 32 DFI clock cycles.
Programming mode: Static
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:0 MAX_AUTO_INIT_X1024[9:0]: Maximum duration of the auto initialization, tINIT5. Present only in designs configured to support LPDDR2/LPDDR3.
LPDDR2/LPDDR3 typically requires 10 us.
Unit: 1024 DFI clock cycles.
Programming mode: Static
5.7.22 DDRCTRL DIMM control register (DDRCTRL_DIMMCTL)
Address offset: 0x0F0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIMM_ADDR_MIRR_EN | DIMM_STAGGER_CS_EN |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 DIMM_ADDR_MIRR_EN: Address Mirroring Enable (for multi-rank UDIMM implementations and multi-rank DDR4 RDIMM/LRDIMM implementations).
Some UDIMMs and DDR4 RDIMMs/LRDIMMs implement address mirroring for odd ranks, which means that the following address, bank address and bank group bits are swapped: (A3, A4), (A5, A6), (A7, A8), (BA0, BA1) and also (A11, A13), (BG0, BG1) for the DDR4. Setting this bit ensures that, for mode register accesses during the automatic initialization routine, these bits are swapped within the DDRCTRL to compensate for this UDIMM/RDIMM/LRDIMM swapping. In addition to the automatic initialization routine, in case of DDR4 UDIMM/RDIMM/LRDIMM, they are swapped during the automatic MRS access to enable/disable of a particular DDR4 feature.
Note: This has no effect on the address of any other memory accesses, or of software-driven mode register accesses.
This is not supported for mDDR, LPDDR2, LPDDR3 or LPDDR4 SDRAMs.
Note: In case of x16 DDR4 DIMMs, BG1 output of MRS for the odd ranks is same as BG0 because BG1 is invalid, hence dimm_dis_bg_mirroring register must be set to 1.
- 1 - For odd ranks, implement address mirroring for MRS commands to during initialization and for any automatic DDR4 MRS commands (to be used if UDIMM/RDIMM/LRDIMM implements address mirroring)
- 0 - Do not implement address mirroring
Programming mode: Static
Bit 0 DIMM_STAGGER_CS_EN: Staggering enable for multi-rank accesses (for multi-rank UDIMM, RDIMM and LRDIMM implementations only). This is not supported for mDDR, LPDDR2, LPDDR3 or LPDDR4 SDRAMs.
Note: Even if this bit is set it does not take care of software driven MR commands (via MRCTRL0/MRCTRL1), where software is responsible to send them to separate ranks as appropriate.
- - 1 - (DDR4) Send MRS commands to each ranks separately
- - 1 - (non-DDR4) Send all commands to even and odd ranks separately
- - 0 - Do not stagger accesses
Programming mode: Static.
5.7.23 DDRCTRL SDRAM timing register 0 (DDRCTRL_DRAMTMG0)
Address offset: 0x100
Reset value: 0x0F10 1B0F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | WR2PRE[6:0] | Res. | Res. | T_FAW[5:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | T_RAS_MAX[6:0] | Res. | Res. | T_RAS_MIN[5:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bit 31 Reserved, must be kept at reset value.
Bits 30:24 WR2PRE[6:0]:
Minimum time between write and precharge to same bank.
Unit: Clocks
Specifications: \(WL + BL/2 + tWR = \text{approximately } 8 \text{ cycles} + 15 \text{ ns} = 14 \text{ clocks @400MHz}\) and less for lower frequencies
where:
- - WL = write latency
- - BL = burst length. This must match the value programmed in the BL bit of the mode register to the SDRAM. BST (burst terminate) is not supported at present.
- - tWR = Write recovery time. This comes directly from the SDRAM specification.
Add one extra cycle for LPDDR2/LPDDR3/LPDDR4 for this parameter.
When the controller is operating in 1:2 frequency ratio mode, 1T mode, divide the above value by 2. No rounding up.
When the controller is operating in 1:2 frequency ratio mode, 2T mode or LPDDR4 mode, divide the above value by 2 and round it up to the next integer value.
Note that, depending on the PHY, if using LRDIMM, it may be necessary to adjust the value of this parameter to compensate for the extra cycle of latency through the LRDIMM.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4.
Bits 23:22 Reserved, must be kept at reset value.
- Bits 21:16 T_FAW[5:0]: tFAW Valid only when 8 or more banks(or banks x bank groups) are present.
In 8-bank design, at most 4 banks must be activated in a rolling window of tFAW cycles.
When the controller is operating in 1:2 frequency ratio mode, program this to (tFAW/2) and round up to next integer value.
In a 4-bank design, set this register to 0x1 independent of the 1:1/1:2 frequency mode.
Unit: Clocks
Programming mode: Quasi-dynamic Group 2 and Group 4. - Bit 15 Reserved, must be kept at reset value.
- Bits 14:8 T_RAS_MAX[6:0]: tRAS(max): Maximum time between activate and precharge to same bank.
This is the maximum time that a page can be kept open
Minimum value of this register is 1. Zero is invalid.
When the controller is operating in 1:2 frequency ratio mode, program this to (tRAS(max)-1)/2.
No rounding up.
Unit: Multiples of 1024 clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4 - Bits 7:6 Reserved, must be kept at reset value.
- Bits 5:0 T_RAS_MIN[5:0]: tRAS(min): Minimum time between activate and precharge to the same bank.
When the controller is operating in 1:2 frequency mode, 1T mode, program this to tRAS(min)/2.
No rounding up.
When the controller is operating in 1:2 frequency ratio mode, 2T mode or LPDDR4 mode, program this to (tRAS(min)/2) and round it up to the next integer value.
Unit: Clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4.
5.7.24 DDRCTRL SDRAM timing register 1 (DDRCTRL_DRAMTMG1)
Address offset: 0x104
Reset value: 0x0008 0414
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_XP[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | RD2PRE[5:0] | Res. | T_RC[6:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
- Bits 31:21 Reserved, must be kept at reset value.
- Bits 20:16 T_XP[4:0]: tXP: Minimum time after power-down exit to any operation. For DDR3, this should be programmed to tXPDLL if slow powerdown exit is selected in MR0[12].
If C/A parity for DDR4 is used, set to (tXP+PL) instead.
If LPDDR4 is selected and its spec has tCKELPD parameter, set to the larger of tXP and tCKELPD instead.
When the controller is operating in 1:2 frequency ratio mode, program this to (tXP/2) and round it up to the next integer value.
Units: Clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4.

Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 RD2PRE[5:0]: tRTP: Minimum time from read to precharge of same bank.
- - DDR2: tAL+BL/2+max(tRTP,2)-2
- - DDR3: tAL+max(tRTP,4)
- - DDR4: Max of following two equations:
- tAL+max(tRTP,4) or,
- RL+BL/2-tRP(*).
- - mDDR: BL/2
- - LPDDR2: Depends on if it's LPDDR2-S2 or LPDDR2-S4:
- LPDDR2-S2: BL/2+tRTP-1.
- LPDDR2-S4: BL/2+max(tRTP,2)-2.
- - LPDDR3: BL/2+max(tRTP,4)-4
- - LPDDR4: BL/2+max(tRTP,8)-8
(*) When both DDR4 SDRAM and ST-MRAM are used simultaneously, use SDRAM's tRP value for calculation.
When the controller is operating in 1:2 mode, 1T mode, divide the above value by 2. No rounding up.
When the controller is operating in 1:2 mode, 2T mode or LPDDR4 mode, divide the above value by 2 and round it up to the next integer value.
Unit: Clocks.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4
Bit 7 Reserved, must be kept at reset value.
Bits 6:0 T_RC[6:0]: tRC: Minimum time between activates to same bank.
When the controller is operating in 1:2 frequency ratio mode, program this to (tRC/2) and round up to next integer value.
Unit: Clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4.
5.7.25 DDRCCTRL SDRAM timing register 2 (DDRCCTRL_DRAMTMG2)
Address offset: 0x108
Reset value: 0x0305 060D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | WRITE_LATENCY[5:0] | Res. | Res. | READ_LATENCY[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | RD2WR[5:0] | Res. | Res. | WR2RD[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:24 WRITE_LATENCY[5:0]: Set to WL
The time from write command to write data on SDRAM interface. This must be set to WL.
For mDDR, it should normally be set to 1.
Note that, depending on the PHY, if using RDIMM/LRDIMM, it may be necessary to adjust the value of WL to compensate for the extra cycle of latency through the RDIMM/LRDIMM.
When the controller is operating in 1:2 frequency ratio mode, divide the value calculated using the above equation by 2, and round it up to next integer.
This register field is not required for DDR2 and DDR3 (except if MEMC_TRAINING is set), as the DFI read and write latencies defined in DFITMG0 and DFITMG1 are sufficient for those protocols.
Unit: clocks.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4.
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:16 READ_LATENCY[5:0]: Set to RL
The time from read command to read data on SDRAM interface. This must be set to RL.
Note that, depending on the PHY, if using RDIMM/LRDIMM, it may be necessary to adjust the value of RL to compensate for the extra cycle of latency through the RDIMM/LRDIMM.
When the controller is operating in 1:2 frequency ratio mode, divide the value calculated using the above equation by 2, and round it up to next integer.
This register field is not required for DDR2 and DDR3 (except if MEMC_TRAINING is set), as the DFI read and write latencies defined in DFITMG0 and DFITMG1 are sufficient for those protocols.
Unit: clocks.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4.
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 RD2WR[5:0]:
DDR2/3/mDDR: RL+BL/2+2-WL
DDR4: RL+BL/2+1+WR_PREAMBLE-WL
LPDDR2/LPDDR3: RL+BL/2+RU(tDQSCKmax/tCK)+1-WL
LPDDR4(DQ ODT is Disabled): \(RL + BL/2 + RU(tDQSCKmax/tCK) + WR\_PREAMBLE + RD\_POSTAMBLE - WL\) LPDDR4(DQ ODT is Enabled) : \(RL + BL/2 + RU(tDQSCKmax/tCK) + RD\_POSTAMBLE - ODTLon - RU(tODTon(min)/tCK)\)Minimum time from read command to write command. Include time for bus turnaround and all per-bank, per-rank, and global constraints. Please see the relevant PHY databook for details of what should be included here.
Unit: Clocks.
Where:
- - WL = write latency
- - BL = burst length. This must match the value programmed in the BL bit of the mode register to the SDRAM
- - RL = read latency = CAS latency
- - WR_PREAMBLE = write preamble. This is unique to DDR4 and LPDDR4.
- - RD_POSTAMBLE = read postamble. This is unique to LPDDR4.
For LPDDR2/LPDDR3/LPDDR4, if derating is enabled (DERATEEN.derate_enable=1), derated tDQSCKmax should be used.
When the controller is operating in 1:2 frequency ratio mode, divide the value calculated using the above equation by 2, and round it up to next integer.
Note that, depending on the PHY, if using LRDIMM, it may be necessary to adjust the value of this parameter to compensate for the extra cycle of latency through the LRDIMM.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 WR2RD[5:0]:
DDR4: CWL+PL+BL/2+tWTR_L
LPDDR2/3/4: WL+BL/2+tWTR+1
Others: CWL+BL/2+tWTR
In DDR4, minimum time from write command to read command for same bank group. In others, minimum time from write command to read command. Includes time for bus turnaround, recovery times, and all per-bank, per-rank, and global constraints.
Unit: Clocks.
Where:
- - CWL = CAS write latency
- - WL = Write latency
- - PL = Parity latency
- - BL = burst length. This must match the value programmed in the BL bit of the mode register to the SDRAM
- - tWTR_L = internal write to read command delay for same bank group. This comes directly from the SDRAM specification.
- - tWTR = internal write to read command delay. This comes directly from the SDRAM specification.
Add one extra cycle for LPDDR2/LPDDR3/LPDDR4 operation.
When the controller is operating in 1:2 mode, divide the value calculated using the above equation by 2, and round it up to next integer.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4
5.7.26 DDRCTRL SDRAM timing register 3 (DDRCTRL_DRAMTMG3)
Address offset: 0x10C
Reset value: 0x0050 400C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | T_MRW[9:0] | Res. | Res. | T_MRD[5:4] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| T_MRD[3:0] | Res. | Res. | T_MOD[9:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:20 T_MRW[9:0]: Time to wait after a mode register write or read (MRW or MRR).
Present only in designs configured to support LPDDR2, LPDDR3 or LPDDR4.
LPDDR2 typically requires value of 5.
LPDDR3 typically requires value of 10.
LPDDR4: Set this to the larger of tMRW and tMRWCKEL.
For LPDDR2, this register is used for the time from a MRW/MRR to all other commands.
When the controller is operating in 1:2 frequency ratio mode, program this to the above values divided by 2 and round it up to the next integer value.
For LDPDR3, this register is used for the time from a MRW/MRR to a MRW/MRR.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 19:18 Reserved, must be kept at reset value.
Bits 17:12 T_MRD[5:0]: tMRD: Cycles to wait after a mode register write or read. Depending on the connected SDRAM, tMRD represents:
DDR2/mDDR: Time from MRS to any command
DDR3/4: Time from MRS to MRS command
LPDDR2: not used
LPDDR3/4: Time from MRS to non-MRS command.
When the controller is operating in 1:2 frequency ratio mode, program this to (tMRD/2) and round it up to the next integer value.
If C/A parity for DDR4 is used, set to tMRD_PAR(tMOD+PL) instead.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:0 T_MOD[9:0]: tMOD: Parameter used only in DDR3 and DDR4. Cycles between load mode command and following non-load mode command.
If C/A parity for DDR4 is used, set to tMOD_PAR(tMOD+PL) instead.
If MPR writes for DDR4 are used, set to tMOD + AL (or tMPD_PAR + AL if C/A parity is also used).
Set to tMOD if controller is operating in 1:1 frequency ratio mode, or tMOD/2 (rounded up to next integer) if controller is operating in 1:2 frequency ratio mode. Note that if using RDIMM/LRDIMM, depending on the PHY, it may be necessary to adjust the value of this parameter to compensate for the extra cycle of latency applied to mode register writes by the RDIMM/LRDIMM chip.
Also note that if using LRDIMM, the minimum value of this register is tMRD_L2 if controller is operating in 1:1 frequency ratio mode, or tMRD_L2/2 (rounded up to next integer) if controller is operating in 1:2 frequency ratio mode.
Programming mode: Quasi-dynamic Group 2 and Group 4
5.7.27 DDRCTRL SDRAM timing register 4 (DDRCCTRL_DRAMTMG4)
Address offset: 0x110
Reset value: 0x0504 0405
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | T_RCD[4:0] | Res. | Res. | Res. | Res. | T_CCD[3:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_RRD[3:0] | Res. | Res. | Res. | T_RP[4:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 T_RCD[4:0]: tRCD - tAL: Minimum time from activate to read or write command to same bank.
When the controller is operating in 1:2 frequency ratio mode, program this to ((tRCD - tAL)/2) and round it up to the next integer value.
Minimum value allowed for this register is 1, which implies minimum (tRCD - tAL) value to be 2 when the controller is operating in 1:2 frequency ratio mode.
Unit: Clocks.
Programming mode: Quasi-dynamic Group 1 and Group 2 and Group 4
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 T_CCD[3:0]: DDR4: tCCD_L: This is the minimum time between two reads or two writes for same bank group.
Others: tCCD: This is the minimum time between two reads or two writes.
When the controller is operating in 1:2 frequency ratio mode, program this to (tCCD_L/2 or tCCD/2) and round it up to the next integer value.
Unit: clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4.
Bits 15:12 Reserved, must be kept at reset value.

Bits 11:8 T_RRD[3:0]: DDR4: tRRD_L: Minimum time between activates from bank "a" to bank "b" for same bank group.
Others: tRRD: Minimum time between activates from bank "a" to bank "b"
When the controller is operating in 1:2 frequency ratio mode, program this to (tRRD_L/2 or tRRD/2) and round it up to the next integer value.
Unit: Clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4.
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 T_RP[4:0]: tRP: Minimum time from precharge to activate of same bank.
When the controller is operating in 1:1 frequency ratio mode, t_rp should be set to RoundUp(tRP/tCK).
When the controller is operating in 1:2 frequency ratio mode, t_rp should be set to RoundDown(RoundUp(tRP/tCK)/2) + 1.
When the controller is operating in 1:2 frequency ratio mode in LPDDR4, t_rp should be set to RoundUp(RoundUp(tRP/tCK)/2).
Unit: Clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4.
5.7.28 DDRCTRL SDRAM timing register 5 (DDRCTRL_DRAMTMG5)
Address offset: 0x114
Reset value: 0x0505 0403
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | T_CKSRX[3:0] | Res. | Res. | Res. | Res. | T_CKSRE[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | T_CKESR[5:0] | Res. | Res. | Res. | T_CKE[4:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 T_CKSRX[3:0]: This is the time before Self Refresh Exit that CK is maintained as a valid clock before issuing SRX. Specifies the clock stable time before SRX.
Recommended settings:
- - mDDR: 1
- - LPDDR2: 2
- - LPDDR3: 2
- - LPDDR4: tCKCKEH
- - DDR2: 1
- - DDR3: tCKSRX
- - DDR4: tCKSRX
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 T_CKSRE[3:0]: This is the time after Self Refresh Down Entry that CK is maintained as a valid clock. Specifies the clock disable delay after SRE.
Recommended settings:
- - mDDR: 0
- - LPDDR2: 2
- - LPDDR3: 2
- - LPDDR4: tCKELCK
- - DDR2: 1
- - DDR3: max (10 ns, 5 tCK)
- - DDR4: max (10 ns, 5 tCK) (+ PL(parity latency)(*))
(*)Only if CRCPARCTL1.caparity_disable_before_sr=0, this register should be increased by PL.
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 T_CKESR[5:0]: Minimum CKE low width for Self refresh or Self refresh power down entry to exit timing in memory clock cycles.
Recommended settings:
- - mDDR: tRFC
- - LPDDR2: tCKESR
- - LPDDR3: tCKESR
- - LPDDR4: max(tCKE, tSR)
- - DDR2: tCKE
- - DDR3: tCKE + 1
- - DDR4: tCKE + 1 (+ PL(parity latency)(*))
(*)Only if CRCPARCTL1.caparity_disable_before_sr=0, this register should be increased by PL.
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 T_CKE[4:0]: Minimum number of cycles of CKE HIGH/LOW during power-down and self refresh.
- - LPDDR2/LPDDR3 mode: Set this to the larger of tCKE or tCKESR
- - LPDDR4 mode: Set this to the larger of tCKE or tSR.
- - Non-LPDDR2/non-LPDDR3/non-LPDDR4 designs: Set this to tCKE value.
When the controller is operating in 1:2 frequency ratio mode, program this to (value described above)/2 and round it up to the next integer value.
Unit: Clocks.
Programming mode: Quasi-dynamic Group 2 and Group 4
5.7.29 DDRCTRL SDRAM timing register 6 (DDRCTRL_DRAMTMG6)
Address offset: 0x118
Reset value: 0x0202 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | T_CKDPDE[3:0] | Res. | Res. | Res. | Res. | T_CKDPDX[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_CKCSX[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 T_CKDPDE[3:0]: This is the time after Deep Power Down Entry that CK is maintained as a valid clock. Specifies the clock disable delay after DPDE.
Recommended settings:
- - mDDR: 0
- - LPDDR2: 2
- - LPDDR3: 2
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
This is only present for designs supporting mDDR or LPDDR2/LPDDR3 devices.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 T_CKDPDX[3:0]: This is the time before Deep Power Down Exit that CK is maintained as a valid clock before issuing DPDX. Specifies the clock stable time before DPDX.
Recommended settings:
- - mDDR: 1
- - LPDDR2: 2
- - LPDDR3: 2
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
This is only present for designs supporting mDDR or LPDDR2 devices.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 T_CKCSX[3:0]: This is the time before Clock Stop Exit that CK is maintained as a valid clock before issuing Clock Stop Exit. Specifies the clock stable time before next command after Clock Stop Exit.
Recommended settings:
- - mDDR: 1
- - LPDDR2: tXP + 2
- - LPDDR3: tXP + 2
- - LPDDR4: tXP + 2
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
This is only present for designs supporting mDDR or LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Quasi-dynamic Group 2 and Group 4
5.7.30 DDRCTRL SDRAM timing register 7 (DDRCTRL_DRAMTMG7)
Address offset: 0x11C
Reset value: 0x0000 0202
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_CKPDE[3:0] | Res. | Res. | Res. | Res. | T_CKPDx[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:8 T_CKPDE[3:0]: This is the time after Power Down Entry that CK is maintained as a valid clock. Specifies the clock disable delay after PDE.
Recommended settings:
- - mDDR: 0
- - LPDDR2: 2
- - LPDDR3: 2
- - LPDDR4: tCKELCK
When using DDR2/3/4 SDRAM, this register should be set to the same value as DRAMTMG5.t_cksre.
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
This is only present for designs supporting mDDR or LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 T_CKPDx[3:0]: This is the time before Power Down Exit that CK is maintained as a valid clock before issuing PDX. Specifies the clock stable time before PDX.
Recommended settings:
- - mDDR: 0
- - LPDDR2: 2
- - LPDDR3: 2
- - LPDDR4: 2
When using DDR2/3/4 SDRAM, this register should be set to the same value as DRAMTMG5.t_cksrx.
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
This is only present for designs supporting mDDR or LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Quasi-dynamic Group 2 and Group 4
5.7.31 DDRCTRL SDRAM timing register 8 (DDRCTRL_DRAMTMG8)
Address offset: 0x120
Reset value: 0x0000 4405
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | T_XS_DLL_X32[6:0] | Res. | T_XS_X32[6:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bits 31:15 Reserved, must be kept at reset value.
Bits 14:8 T_XS_DLL_X32[6:0]: tXSDLL: Exit Self Refresh to the commands requiring a locked DLL.
When the controller is operating in 1:2 frequency ratio mode, program this to the above value divided by 2 and round up to next integer value.
Unit: Multiples of 32 clocks.
Note: Used only for DDR2, DDR3 and DDR4 SDRAMs.
Programming mode: Quasi-dynamic Group 2 and Group 4
Bit 7 Reserved, must be kept at reset value.
Bits 6:0 T_XS_X32[6:0]: tXS: Exit Self Refresh to commands not requiring a locked DLL.
When the controller is operating in 1:2 frequency ratio mode, program this to the above value divided by 2 and round up to next integer value.
Unit: Multiples of 32 clocks.
Note: Used only for DDR2, DDR3 and DDR4 SDRAMs.
Programming mode: Quasi-dynamic Group 2 and Group 4
5.7.32 DDRCTRL SDRAM timing register 14 (DDRCTRL_DRAMTMG14)
Address offset: 0x138
Reset value: 0x0000 00A0
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_XSR[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:0 T_XSR[11:0]: tXSR: Exit Self Refresh to any command.
When the controller is operating in 1:2 frequency ratio mode, program this to the above value divided by 2 and round up to next integer value.
Note: Used only for mDDR/LPDDR2/LPDDR3/LPDDR4 mode.
Programming mode: Quasi-dynamic Group 2 and Group 4

5.7.33 DDRCCTRL SDRAM timing register 15 (DDRCCTRL_DRAMTMG15)
Address offset: 0x13C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EN_DFI_LP_T_STAB | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_STAB_X32[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bit 31 EN_DFI_LP_T_STAB:
- - 1 - Enable using tSTAB when exiting DFI LP. Needs to be set when the PHY is stopping the clock during DFI LP to save maximum power.
- - 0 - Disable using tSTAB when exiting DFI LP
Programming mode: Quasi-dynamic Group 2 and Group 4.
Bits 30:8 Reserved, must be kept at reset value.
Bits 7:0 T_STAB_X32[7:0]: tSTAB: Stabilization time.
It is required in the following two cases for DDR3/DDR4 RDIMM:
- - When exiting power saving mode, if the clock was stopped, after re-enabling it the clock must be stable for a time specified by tSTAB
- - In the case of input clock frequency change (DDR4)
- - After issuing control words that refers to clock timing (Specification: 6us for DDR3, 5us for DDR4).
When the controller is operating in 1:2 frequency ratio mode, program this to recommended value divided by two and round it up to next integer.
Unit: Multiples of 32 clock cycles.
Programming mode: Quasi-dynamic Group 2 and Group 4.
5.7.34 DDRCTRL ZQ control register 0 (DDRCTRL_ZQCTL0)
Address offset: 0x180
Reset value: 0x0200 0040
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DIS_AUTO_ZQ | DIS_SRX_ZQCL | ZQ_RESISTOR_SHARED | Res. | Res. | T_ZQ_LONG_NOP[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | T_ZQ_SHORT_NOP[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
- Bit 31 DIS_AUTO_ZQ:
- - 1 - Disable DDRCTRL generation of ZQCS/MPC(ZQ calibration) command. Register DBGCMD.zq_calib_short can be used instead to issue ZQ calibration request from APB module.
- - 0 - Internally generate ZQCS/MPC(ZQ calibration) commands based on ZQCTL1.t_zq_short_interval_x1024.
- This is only present for designs supporting DDR3/DDR4 or LPDDR2/LPDDR3/LPDDR4 devices.
- Programming mode: Dynamic
- Bit 30 DIS_SRX_ZQCL:
- - 1 - Disable issuing of ZQCL/MPC(ZQ calibration) command at Self-Refresh/SR-Powerdown exit. Only applicable when run in DDR3 or DDR4 or LPDDR2 or LPDDR3 or LPDDR4 mode.
- - 0 - Enable issuing of ZQCL/MPC(ZQ calibration) command at Self-Refresh/SR-Powerdown exit. Only applicable when run in DDR3 or DDR4 or LPDDR2 or LPDDR3 or LPDDR4 mode.
- This is only present for designs supporting DDR3/DDR4 or LPDDR2/LPDDR3/LPDDR4 devices.
- Programming mode: Quasi-dynamic Group 2 and Group 4.
- Bit 29 ZQ_RESISTOR_SHARED:
- - 1 - Denotes that ZQ resistor is shared between ranks. Means ZQinit/ZQCL/ZQCS/MPC(ZQ calibration) commands are sent to one rank at a time with tZQinit/tZQCL/tZQCS/tZQCAL/tZQLAT timing met between commands so that commands to different ranks do not overlap.
- - 0 - ZQ resistor is not shared.
- This is only present for designs supporting DDR3/DDR4 or LPDDR2/LPDDR3/LPDDR4 devices.
- Programming mode: Static.
Bits 28:27 Reserved, must be kept at reset value.

Bits 26:16 T_ZQ_LONG_NOP[10:0]: tZQoper for DDR3/DDR4, tZQCL for LPDDR2/LPDDR3, tZQCAL for LPDDR4: Number of DFI clock cycles of NOP required after a ZQCL (ZQ calibration long)/MPC(ZQ Start) command is issued to SDRAM.
When the controller is operating in 1:2 frequency ratio mode:
DDR3/DDR4: program this to tZQoper/2 and round it up to the next integer value.
LPDDR2/LPDDR3: program this to tZQCL/2 and round it up to the next integer value.
LPDDR4: program this to tZQCAL/2 and round it up to the next integer value.
This is only present for designs supporting DDR3/DDR4 or LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Static.
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:0 T_ZQ_SHORT_NOP[9:0]: tZQCS for DDR3/DD4/LPDDR2/LPDDR3, tZQLAT for LPDDR4: Number of DFI clock cycles of NOP required after a ZQCS (ZQ calibration short)/MPC(ZQ Latch) command is issued to SDRAM.
When the controller is operating in 1:2 frequency ratio mode, program this to tZQCS/2 and round it up to the next integer value.
This is only present for designs supporting DDR3/DDR4 or LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Static.
5.7.35 DDRACTRL ZQ control register 1 (DDRACTRL_ZQCTL1)
Address offset: 0x184
Reset value: 0x0200 0100
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | T_ZQ_RESET_NOP[9:0] | T_ZQ_SHORT_INTERVAL_X1024[19:16] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| T_ZQ_SHORT_INTERVAL_X1024[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:20 T_ZQ_RESET_NOP[9:0]: tZQReset: Number of DFI clock cycles of NOP required after a ZQReset (ZQ calibration Reset) command is issued to SDRAM.
When the controller is operating in 1:2 frequency ratio mode, program this to tZQReset/2 and round it up to the next integer value.
This is only present for designs supporting LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Static.
Bits 19:0 T_ZQ_SHORT_INTERVAL_X1024[19:0]: Average interval to wait between automatically issuing ZQCS (ZQ calibration short)/MPC(ZQ calibration) commands to DDR3/DDR4/LPDDR2/LPDDR3/LPDDR4 devices.
Meaningless, if ZQCTL0.dis_auto_zq=1.
Unit: 1024 DFI clock cycles.
This is only present for designs supporting DDR3/DDR4 or LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Static.
5.7.36 DDRCTRL ZQ control register 2 (DDRCTRL_ZQCTL2)
Address offset: 0x188
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ZQ_RESET |
| rs |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 ZQ_RESET:
Setting this register bit to 1 triggers a ZQ Reset operation. When the ZQ Reset operation is complete, the DDRCTRL automatically clears this bit. It is recommended NOT to set this register bit if in Init, in Self-Refresh(except LPDDR4) or SR-Powerdown(LPDDR4) or Deep power-down operating modes.
For Self-Refresh(except LPDDR4) or SR-Powerdown(LPDDR4) it is scheduled after SR(except LPDDR4) or SPRD(LPDDR4) has been exited.
For Deep power down, it is not scheduled, although ZQSTAT.zq_reset_busy is de-asserted.
This is only present for designs supporting LPDDR2/LPDDR3/LPDDR4 devices.
Programming mode: Dynamic
5.7.37 DDRCTRL ZQ status register (DDRCTRL_ZQSTAT)
Address offset: 0x18C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ZQ_RESET_BUSY |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 ZQ_RESET_BUSY: SoC core may initiate a ZQ Reset operation only if this signal is low. This signal goes high in the clock after the DDCCTRL accepts the ZQ Reset request. It goes low when the ZQ Reset command is issued to the SDRAM and the associated NOP period is over. It is recommended not to perform ZQ Reset commands when this signal is high.
- 0 - Indicates that the SoC core can initiate a ZQ Reset operation
- 1 - Indicates that ZQ Reset operation is in progress
Programming mode: Dynamic
5.7.38 DDCCTRL DFI timing register 0 (DDRCTRL_DFITMG0)
Address offset: 0x190
Reset value: 0x0702 0002
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | DFI_T_CTRL_DELAY[4:0] | Res. | DFI_T_RDDATA_EN[6:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | DFI_TPHY_WRDATA[5:0] | Res. | Res. | DFI_TPHY_WRLAT[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 DFI_T_CTRL_DELAY[4:0]: Specifies the number of DFI clock cycles after an assertion or de-assertion of the DFI control signals that the control signals at the PHY-DRAM interface reflect the assertion or de-assertion. If the DFI clock and the memory clock are not phase-aligned, this timing parameter should be rounded up to the next integer value. Note that if using RDIMM/LRDIMM, it is necessary to increment this parameter by RDIMM's/LRDIMM's extra cycle of latency in terms of DFI clock.
Programming mode: Quasi-dynamic Group 4
Bit 23 Reserved, must be kept at reset value.
Bits 22:16 DFI_T_RDDATA_EN[6:0]: Time from the assertion of a read command on the DFI interface to the assertion of the dfi_rddata_en signal.
Refer to PHY specification for correct value.
This corresponds to the DFI parameter trddata_en. Note that, depending on the PHY, if using RDIMM/LRDIMM, it may be necessary to use the adjusted value of CL in the calculation of trddata_en. This is to compensate for the extra cycle(s) of latency through the RDIMM/LRDIMM.
Unit: DFI clock cycles or DFI PHY clock cycles, depending on
DFITMG0.dfi_rddata_use_dfi_phy_clk.
Programming mode: Quasi-dynamic Group 1 and Group 4
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 DFI_TPHY_WRDATA[5:0]: Specifies the number of clock cycles between when dfi_wrdata_en is asserted to when the associated write data is driven on the dfi_wrdata signal. This corresponds to the DFI timing parameter tphy_wrdata. Refer to PHY specification for correct value. Note, max supported value is 8.
Unit: DFI clock cycles or DFI PHY clock cycles, depending on
DFITMG0.dfi_wrdata_use_dfi_phy_clk.
Programming mode: Quasi-dynamic Group 4
Bits 7:6 Reserved, must be kept at reset value.

Bits 5:0 DFI_TPHY_WRLAT[5:0]: Write latency
Number of clocks from the write command to write data enable (dfi_wrdata_en). This corresponds to the DFI timing parameter tphy_wrlat.
Refer to PHY specification for correct value. Note that, depending on the PHY, if using RDIMM/LRDIMM, it may be necessary to use the adjusted value of CL in the calculation of tphy_wrlat. This is to compensate for the extra cycle(s) of latency through the RDIMM/LRDIMM.
For LPDDR4, dfi_tphy_wrlat>60 is not supported.
Unit: DFI clock cycles or DFI PHY clock cycles, depending on DFITMG0.dfi_wrdata_use_dfi_phy_clk.
Programming mode: Quasi-dynamic Group 1 and Group 4
5.7.39 DDRCTRL DFI timing register 1 (DDRCTRL_DFITMG1)
Address offset: 0x194
Reset value: 0x0000 0404
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_WRDATA_DELAY[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | DFI_T_DRAM_CLK_DISABLE[4:0] | Res. | Res. | Res. | DFI_T_DRAM_CLK_ENABLE[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:21 Reserved, must be kept at reset value.
Bits 20:16 DFI_T_WRDATA_DELAY[4:0]: Specifies the number of DFI clock cycles between when the dfi_wrdata_en
signal is asserted and when the corresponding write data transfer is completed on the DRAM bus.
This corresponds to the DFI timing parameter twrdata_delay. Refer to PHY specification for correct value.
For DFI 3.0 PHY, set to twrdata_delay, a new timing parameter introduced in DFI 3.0.
For DFI 2.1 PHY, set to tphy_wrdata + (delay of DFI write data to the DRAM).
Value to be programmed is in terms of DFI clocks, not PHY clocks.
In FREQ_RATIO=2, divide PHY's value by 2 and round up to next integer.
If using DFITMG0.dfi_wrdata_use_dfi_phy_clk=1, add 1 to the value.
Unit: Clocks
Programming mode: Quasi-dynamic Group 4
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 DFI_T_DRAM_CLK_DISABLE[4:0]: Specifies the number of DFI clock cycles from the assertion of the dfi_dram_clk_disable signal on the DFI until the clock to the DRAM memory devices, at the PHY-DRAM boundary, maintains a low value. If the DFI clock and the memory clock are not phase aligned, this timing parameter should be rounded up to the next integer value.
Programming mode: Quasi-dynamic Group 4
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 DFI_T_DRAM_CLK_ENABLE[4:0]: Specifies the number of DFI clock cycles from the de-assertion of the dfi_dram_clk_disable signal on the DFI until the first valid rising edge of the clock to the DRAM memory devices, at the PHY-DRAM boundary. If the DFI clock and the memory clock are not phase aligned, this timing parameter should be rounded up to the next integer value.
Programming mode: Quasi-dynamic Group 4
5.7.40 DDRCTRL low power configuration register 0 (DDRCTRL_DFILPCFG0)
Address offset: 0x198
Reset value: 0x0700 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | DFI_TLP_RESP[4:0] | DFI_LP_WAKEUP_DPD[3:0] | Res. | Res. | Res. | DFI_LP_EN_DPD | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DFI_LP_WAKEUP_SR[3:0] | Res. | Res. | Res. | DFI_LP_EN_SR | DFI_LP_WAKEUP_PD[3:0] | Res. | Res. | Res. | DFI_LP_EN_PD | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 DFI_TLP_RESP[4:0]: Setting in DFI clock cycles for DFI's tlp_resp time.
Same value is used for both Power Down, Self Refresh, Deep Power Down and Maximum Power Saving modes.
DFI 2.1 specification onwards, recommends using a fixed value of 7 always.
Programming mode: Static
Bits 23:20 DFI_LP_WAKEUP_DPD[3:0]: Value in DFI clock cycles to drive on dfi_lp_wakeup signal when Deep Power Down mode is entered.
Determines the DFI's tlp_wakeup time:
- - 0x0 - 16 cycles
- - 0x1 - 32 cycles
- - 0x2 - 64 cycles
- - 0x3 - 128 cycles
- - 0x4 - 256 cycles
- - 0x5 - 512 cycles
- - 0x6 - 1024 cycles
- - 0x7 - 2048 cycles
- - 0x8 - 4096 cycles
- - 0x9 - 8192 cycles
- - 0xA - 16384 cycles
- - 0xB - 32768 cycles
- - 0xC - 65536 cycles
- - 0xD - 131072 cycles
- - 0xE - 262144 cycles
- - 0xF - Unlimited
This is only present for designs supporting mDDR or LPDDR2/LPDDR3 devices.
Programming mode: Static.
Bits 19:17 Reserved, must be kept at reset value.
Bit 16 DFI_LP_EN_DPD: Enables DFI Low-power interface handshaking during Deep Power Down Entry/Exit.
- - 0 - Disabled
- - 1 - Enabled
This is only present for designs supporting mDDR or LPDDR2/LPDDR3 devices.
Programming mode: Static.
Bits 15:12 DFI_LP_WAKEUP_SR[3:0]: Value in DFI clpck cycles to drive on dfi_lp_wakeup signal when Self Refresh mode is entered.
Determines the DFI's tlp_wakeup time:
- - 0x0 - 16 cycles
- - 0x1 - 32 cycles
- - 0x2 - 64 cycles
- - 0x3 - 128 cycles
- - 0x4 - 256 cycles
- - 0x5 - 512 cycles
- - 0x6 - 1024 cycles
- - 0x7 - 2048 cycles
- - 0x8 - 4096 cycles
- - 0x9 - 8192 cycles
- - 0xA - 16384 cycles
- - 0xB - 32768 cycles
- - 0xC - 65536 cycles
- - 0xD - 131072 cycles
- - 0xE - 262144 cycles
- - 0xF - Unlimited
Programming mode: Static
Bits 11:9 Reserved, must be kept at reset value.
Bit 8 DFI_LP_EN_SR: Enables DFI Low Power interface handshaking during Self Refresh Entry/Exit.
- - 0 - Disabled
- - 1 - Enabled
Programming mode: Static
Bits 7:4 DFI_LP_WAKEUP_PD[3:0]: Value in DFI clock cycles to drive on dfi_lp_wakeup signal when Power Down mode is entered.
Determines the DFI's tlp_wakeup time:
- - 0x0 - 16 cycles
- - 0x1 - 32 cycles
- - 0x2 - 64 cycles
- - 0x3 - 128 cycles
- - 0x4 - 256 cycles
- - 0x5 - 512 cycles
- - 0x6 - 1024 cycles
- - 0x7 - 2048 cycles
- - 0x8 - 4096 cycles
- - 0x9 - 8192 cycles
- - 0xA - 16384 cycles
- - 0xB - 32768 cycles
- - 0xC - 65536 cycles
- - 0xD - 131072 cycles
- - 0xE - 262144 cycles
- - 0xF - Unlimited
Programming mode: Static
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 DFI_LP_EN_PD: Enables DFI Low Power interface handshaking during Power Down Entry/Exit.
- 0 - Disabled
- 1 - Enabled
Programming mode: Static
5.7.41 DDRCTRL DFI update register 0 (DDRCTRL_DFIUPD0)
Address offset: 0x1A0
Reset value: 0x0040 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DIS_AUTO_CTRLUPD | DIS_AUTO_CTRLUPD_SRX | CTRLUPD_PRE_SRX | Res. | Res. | Res. | DFI_T_CTRLUP_MAX[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUP_MIN[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 DIS_AUTO_CTRLUPD: When '1', disable the automatic dfi_ctrlupd_req generation by the DDRCTRL. The core must issue the dfi_ctrlupd_req signal using register DBGCMD.ctrlupd. When '0', DDRCTRL issues dfi_ctrlupd_req periodically.
Programming mode: Quasi-dynamic Group 3
Bit 30 DIS_AUTO_CTRLUPD_SRX: When '1', disable the automatic dfi_ctrlupd_req generation by the DDRCTRL at self-refresh exit. When '0', DDRCTRL issues a dfi_ctrlupd_req before or after exiting self-refresh, depending on DFIUPD0.ctrlupd_pre_srx.
Programming mode: Static
Bit 29 CTRLUPD_PRE_SRX: Selects dfi_ctrlupd_req requirements at SRX:
- 0 : send ctrlupd after SRX
- 1 : send ctrlupd before SRX
If DFIUPD0.dis_auto_ctrlupd_srx=1, this register has no impact, because no dfi_ctrlupd_req is issued when SRX.
Programming mode: Static
Bits 28:26 Reserved, must be kept at reset value.
Bits 25:16 DFI_T_CTRLUP_MAX[9:0]: Specifies the maximum number of DFI clock cycles that the dfi_ctrlupd_req signal can assert. Lowest value to assign to this variable is 0x40.
Programming mode: Static
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:0 DFI_T_CTRLUPD_MIN[9:0]: Specifies the minimum number of DFI clock cycles that the dfi_ctrlupd_req signal must be asserted. The DDRCTRL expects the PHY to respond within this time. If the PHY does not respond, the DDRCTRL de-asserts dfi_ctrlupd_req after dfi_t_ctrlup_min + 2 cycles. Lowest value to assign to this variable is 0x3.
Programming mode: Static
5.7.42 DDRCTRL DFI update register 1 (DDRCTRL_DFIUPD1)
Address offset: 0x1A4
Reset value: 0x0001 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MIN_X1024[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MAX_X1024[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 DFI_T_CTRLUPD_INTERVAL_MIN_X1024[7:0]: This is the minimum amount of time between DDRCTRL initiated DFI update requests (which is executed whenever the DDRCTRL is idle). Set this number higher to reduce the frequency of update requests, which can have a small impact on the latency of the first read request when the DDRCTRL is idle. Minimum allowed value for this field is 1.
Unit: 1024 DFI clock cycles.
Programming mode: Static.
Bits 15:8 Reserved, must be kept at reset value.
Bits 7:0 DFI_T_CTRLUPD_INTERVAL_MAX_X1024[7:0]: This is the maximum amount of time between DDRCTRL initiated DFI update requests. This timer resets with each update request; when the timer expires dfi_ctrlupd_req is sent and traffic is blocked until the dfi_ctrlupd_ackx is received. PHY can use this idle time to recalibrate the delay lines to the DLLs. The DFI controller update is also used to reset PHY FIFO pointers in case of data capture errors. Updates are required to maintain calibration over PVT, but frequent updates may impact performance. Minimum allowed value for this field is 1.
Note: Value programmed for DFIUPD1.dfi_t_ctrlupd_interval_max_x1024 must be greater than DFIUPD1.dfi_t_ctrlupd_interval_min_x1024.
Unit: 1024 DFI clock cycles.
Programming mode: Static.
5.7.43 DDRCTRL DFI update register 2 (DDRCTRL_DFIUPD2)
Address offset: 0x1A8
Reset value: 0x8000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DFI_PHYUPD_EN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Bit 31 DFI_PHYUPD_EN: Enables the support for acknowledging PHY-initiated updates:
- - 0 - Disabled
- - 1 - Enabled
Programming mode: Static
Bits 30:0 Reserved, must be kept at reset value.
5.7.44 DDRCTRL DFI miscellaneous control register (DDRCTRL_DFIMISC)
Address offset: 0x1B0
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | DFI_FREQUENCY[4:0] | Res. | Res. | DFI_INIT_START | CTL_IDLE_EN | Res. | Res. | Res. | DFI_INIT_COMPLETE_EN | ||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:8 DFI_FREQUENCY[4:0]: Indicates the operating frequency of the system. The number of supported frequencies and the mapping of signal values to clock frequencies are defined by the PHY.
Programming mode: Quasi-dynamic Group 1
Bits 7:6 Reserved, must be kept at reset value.
- Bit 5 DFI_INIT_START: PHY init start request signal.When asserted it triggers the PHY init start request
Programming mode: Quasi-dynamic Group 3 - Bit 4 CTL_IDLE_EN: Enables support of ctl_idle signal
Programming mode: Static - Bits 3:1 Reserved, must be kept at reset value.
- Bit 0 DFI_INIT_COMPLETE_EN: PHY initialization complete enable signal.
When asserted the dfi_init_complete signal can be used to trigger SDRAM initialisation
Programming mode: Quasi-dynamic Group 3
5.7.45 DDRCTRL DFI status register (DDRCTRL_DFISTAT)
Address offset: 0x1BC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_LP_ACK | DFI_INIT_COMPLETE |
| r | r |
- Bits 31:2 Reserved, must be kept at reset value.
- Bit 1 DFI_LP_ACK: Stores the value of the dfi_lp_ack input to the controller.
Programming mode: Dynamic - Bit 0 DFI_INIT_COMPLETE: The status flag register which announces when the DFI initialization has been completed. The DFI INIT triggered by dfi_init_start signal and then the dfi_init_complete flag is polled to know when the initialization is done.
Programming mode: Dynamic

5.7.46 DDRCTRL DFI PHY master register (DDRCTRL_DFIPHYMSTR)
Address offset: 0x1C4
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_PHYMSTR_EN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 DFI_PHYMSTR_EN: Enables the PHY Master Interface:
- - 0 - Disabled
- - 1 - Enabled
Programming mode: Dynamic
5.7.47 DDRCTRL address map register 1 (DDRCTRL_ADDRMAP1)
Address offset: 0x204
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_BANK_B2[5:0] | |||||
| rw | rw | rw | rw | rw | rw | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | ADDRMAP_BANK_B1[5:0] | Res. | Res. | ADDRMAP_BANK_B0[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:22 Reserved, must be kept at reset value.
Bits 21:16 ADDRMAP_BANK_B2[5:0]: Selects the HIF address bit used as bank address bit 2.
Valid Range: 0 to 31, and 63
Internal Base: 4
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 63 and then bank address bit 2 is set to 0.
Programming mode: Static.
Bits 15:14 Reserved, must be kept at reset value.
- Bits 13:8 ADDRMAP_BANK_B1[5:0]: Selects the HIF address bits used as bank address bit 1.
Valid Range: 0 to 32, and 63
Internal Base: 3
The selected HIF address bit for each of the bank address bits is determined by adding the internal base to the value of this field.
If unused, set to 63 and then bank address bit 1 is set to 0.
Programming mode: Static. - Bits 7:6 Reserved, must be kept at reset value.
- Bits 5:0 ADDRMAP_BANK_B0[5:0]: Selects the HIF address bits used as bank address bit 0.
Valid Range: 0 to 32, and 63
Internal Base: 2
The selected HIF address bit for each of the bank address bits is determined by adding the internal base to the value of this field.
If unused, set to 63 and then bank address bit 0 is set to 0.
Programming mode: Static.
5.7.48 DDRCTRL address map register 2 (DDRCTRL_ADDRMAP2)
Address offset: 0x208
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | ADDRMAP_COL_B5[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_COL_B4[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_COL_B3[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_COL_B2[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_COL_B5[3:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 5.
- - Half bus width mode: Selects the HIF address bit used as column address bit 6.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 7.
Valid Range: 0 to 7, and 15
Internal Base: 5
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then this column address bit is set to 0.
Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_COL_B4[3:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 4.
- - Half bus width mode: Selects the HIF address bit used as column address bit 5.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 6.
Valid Range: 0 to 7, and 15
Internal Base: 4
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then this column address bit is set to 0.
Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_COL_B3[3:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 3.
- - Half bus width mode: Selects the HIF address bit used as column address bit 4.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 5.
Valid Range: 0 to 7
Internal Base: 3
The selected HIF address bit is determined by adding the internal base to the value of this field.
Note, if UMCTL2_INCL_ARB=1, MEMC_BURST_LENGTH=16, Full bus width (MSTR.data_bus_width=00) and BL16 (MSTR.burst_rdwr=1000), it is recommended to program this to 0.
Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_COL_B2[3:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 2.
- - Half bus width mode: Selects the HIF address bit used as column address bit 3.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 4.
Valid Range: 0 to 7
Internal Base: 2
The selected HIF address bit is determined by adding the internal base to the value of this field.
Note, if UMCTL2_INCL_ARB=1 and MEMC_BURST_LENGTH=8, it is required to program this to 0 unless:
- - In Half or Quarter bus width (MSTR.data_bus_width!=00) and
- - PCCFG.bl_exp_mode==1 and either
- - In DDR4 and ADDRMAP8.addrmap_bg_b0==0 or
- - In LPDDR4 and ADDRMAP1.addrmap_bank_b0==0
If UMCTL2_INCL_ARB=1 and MEMC_BURST_LENGTH=16, it is required to program this to 0 unless:
- - in Half or Quarter bus width (MSTR.data_bus_width!=00) and
- - PCCFG.bl_exp_mode==1 and
- - In DDR4 and ADDRMAP8.addrmap_bg_b0==0
Otherwise, if MEMC_BURST_LENGTH=8 and Full Bus Width (MSTR.data_bus_width==00), it is recommended to program this to 0 so that HIF[2] maps to column address bit 2.
If MEMC_BURST_LENGTH=16 and Full Bus Width (MSTR.data_bus_width==00), it is recommended to program this to 0 so that HIF[2] maps to column address bit 2.
If MEMC_BURST_LENGTH=16 and Half Bus Width (MSTR.data_bus_width==01), it is recommended to program this to 0 so that HIF[2] maps to column address bit 3.
Programming mode: Static
5.7.49 DDRCTRL address map register 3 (DDRCTRL_ADDRMAP3)
Address offset: 0x20C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | ADDRMAP_COL_B9[4:0] | Res. | Res. | Res. | ADDRMAP_COL_B8[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ADDRMAP_COL_B7[4:0] | Res. | Res. | Res. | Res. | ADDRMAP_COL_B6[3:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 ADDRMAP_COL_B9[4:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 9.
- - Half bus width mode: Selects the HIF address bit used as column address bit 11 (10 in LPDDR2/LPDDR3 mode).
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 13 (11 in LPDDR2/LPDDR3 mode).
Valid Range: 0 to 7, x, and 31. x indicate a valid value in inline ECC configuration.
Internal Base: 9
The selected HIF address bit is determined by adding the internal base to the value of this field.
Note: Per JEDEC DDR2/3/mDDR specification, column address bit 10 is reserved for indicating auto-precharge, and hence no source address bit can be mapped to column address bit 10.
In LPDDR2/LPDDR3, there is a dedicated bit for auto-precharge in the CA bus and hence column bit 10 is used.
In Inline ECC configuration (MEMC_INLINE_ECC=1) and ECC is enabled (ECCCFG0.ecc_mode>0), the highest 3 column address bits must map to the highest 3 valid HIF address bits.
If column bit 9 is the highest column address bit, it must map to the highest valid HIF address bit. (x = the highest valid HIF address bit - internal base)
If column bit 9 is the second highest column address bit, it must map to the second highest valid HIF address bit. (x = the highest valid HIF address bit - 1 - internal base)
If column bit 9 is the third highest column address bit, it must map to the third highest valid HIF address bit. (x = the highest valid HIF address bit - 2 - internal base)
If unused, set to 31 and then this column address bit is set to 0.
Programming mode: Static.
Bits 23:21 Reserved, must be kept at reset value.
Bits 20:16 ADDRMAP_COL_B8[4:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 8.
- - Half bus width mode: Selects the HIF address bit used as column address bit 9.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 11 (10 in LPDDR2/LPDDR3 mode).
Valid Range: 0 to 7, x, and 31. x indicate a valid value in inline ECC configuration.
Internal Base: 8
The selected HIF address bit is determined by adding the internal base to the value of this field.
Note: Per JEDEC DDR2/3/mDDR specification, column address bit 10 is reserved for indicating auto-precharge, and hence no source address bit can be mapped to column address bit 10.
In LPDDR2/LPDDR3, there is a dedicated bit for auto-precharge in the CA bus and hence column bit 10 is used.
In Inline ECC configuration (MEMC_INLINE_ECC=1) and ECC is enabled (ECCCFG0.ecc_mode>0), the highest 3 column address bits must map to the highest 3 valid HIF address bits.
If column bit 8 is the second highest column address bit, it must map to the second highest valid HIF address bit. (x = the highest valid HIF address bit - 1 - internal base).
If column bit 8 is the third highest column address bit, it must map to the third highest valid HIF address bit. (x = the highest valid HIF address bit - 2 - internal base).
If unused, set to 31 and then this column address bit is set to 0.
Programming mode: Static.
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 ADDRMAP_COL_B7[4:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 7.
- - Half bus width mode: Selects the HIF address bit used as column address bit 8.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 9.
Valid Range: 0 to 7, x, and 31. x indicate a valid value in inline ECC configuration.
Internal Base: 7
The selected HIF address bit is determined by adding the internal base to the value of this field.
In Inline ECC configuration (MEMC_INLINE_ECC=1) and ECC is enabled (ECCCFG0.ecc_mode>0), the highest 3 column address bits must map to the highest 3 valid HIF address bits.
If column bit 7 is the third highest column address bit, it must map to the third highest valid HIF address bit. (x = the highest valid HIF address bit - 2 - internal base).
If unused, set to 31 and then this column address bit is set to 0.
Programming mode: Static.
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_COL_B6[3:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 6.
- - Half bus width mode: Selects the HIF address bit used as column address bit 7.
- - Quarter bus width mode: Selects the HIF address bit used as column address bit 8.
Valid Range: 0 to 7, and 15
Internal Base: 6
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then this column address bit is set to 0.
Programming mode: Static
5.7.50 DDRCTRL address map register 4 (DDRCTRL_ADDRMAP4)
Address offset: 0x210
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ADDRMAP_COL_B11[4:0] | Res. | Res. | Res. | ADDRMAP_COL_B10[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:8 ADDRMAP_COL_B11[4:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 13 (11 in LPDDR2/LPDDR3 mode).
- - Half bus width mode: UNUSED. See later in this description for value you need to set to make it unused.
- - Quarter bus width mode: UNUSED. See later in this description for value you need to set to make it unused.
Valid Range: 0 to 7, x, and 31. x indicate a valid value in inline ECC configuration.
Internal Base: 11
The selected HIF address bit is determined by adding the internal base to the value of this field.
Note: Per JEDEC DDR2/3/mDDR specification, column address bit 10 is reserved for indicating auto-precharge, and hence no source address bit can be mapped to column address bit 10.
In LPDDR2/LPDDR3, there is a dedicated bit for auto-precharge in the CA bus and hence column bit 10 is used.
In Inline ECC configuration (MEMC_INLINE_ECC=1) and ECC is enabled (ECCCFG0.ecc_mode>0), the highest 3 column address bits must map to the highest 3 valid HIF address bits.
If column bit 11 is the highest column address bit, it must map to the highest valid HIF address bit. (x = the highest valid HIF address bit - internal base)
If column bit 11 is the second highest column address bit, it must map to the second highest valid HIF address bit. (x = the highest valid HIF address bit - 1 - internal base)
If column bit 11 is the third highest column address bit, it must map to the third highest valid HIF address bit. (x = the highest valid HIF address bit - 2 - internal base)
If unused, set to 31 and then this column address bit is set to 0.
Programming mode: Static
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 ADDRMAP_COL_B10[4:0]:
- - Full bus width mode: Selects the HIF address bit used as column address bit 11 (10 in LPDDR2/LPDDR3 mode).
- - Half bus width mode: Selects the HIF address bit used as column address bit 13 (11 in LPDDR2/LPDDR3 mode).
- - Quarter bus width mode: UNUSED. See later in this description for value you need to set to make it unused.
Valid Range: 0 to 7, x, and 31. x indicate a valid value in inline ECC configuration.
Internal Base: 10
The selected HIF address bit is determined by adding the internal base to the value of this field.
Note: Per JEDEC DDR2/3/mDDR specification, column address bit 10 is reserved for indicating auto-precharge, and hence no source address bit can be mapped to column address bit 10.
In LPDDR2/LPDDR3, there is a dedicated bit for auto-precharge in the CA bus and hence column bit 10 is used.
In Inline ECC configuration (MEMC_INLINE_ECC=1) and ECC is enabled (ECCCFG0.ecc_mode>0), the highest 3 column address bits must map to the highest 3 valid HIF address bits.
If column bit 10 is the highest column address bit, it must map to the highest valid HIF address bit. (x = the highest valid HIF address bit - internal base)
If column bit 10 is the second highest column address bit, it must map to the second highest valid HIF address bit. (x = the highest valid HIF address bit - 1 - internal base)
If column bit 10 is the third highest column address bit, it must map to the third highest valid HIF address bit. (x = the highest valid HIF address bit - 2 - internal base)
If unused, set to 31 and then this column address bit is set to 0.
Programming mode: Static
5.7.51 DDRCCTRL address map register 5 (DDRCCTRL_ADDRMAP5)
Address offset: 0x214
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B11[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B2_10[3:0] | ||||||
| rw | rw | rw | rw | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B1[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B0[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:28 Reserved, must be kept at reset value.

- Bits 27:24 ADDRMAP_ROW_B11[3:0]: Selects the HIF address bit used as row address bit 11.
Valid Range: 0 to 11, and 15
Internal Base: 17
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then row address bit 11 is set to 0.
Programming mode: Static - Bits 23:20 Reserved, must be kept at reset value.
- Bits 19:16 ADDRMAP_ROW_B2_10[3:0]: Selects the HIF address bits used as row address bits 2 to 10.
Valid Range: 0 to 11, and 15
Internal Base: 8 (for row address bit 2), 9 (for row address bit 3), 10 (for row address bit 4) etc increasing to 16 (for row address bit 10)
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field.
When set to 15, the values of row address bits 2 to 10 are defined by registers ADDRMAP9, ADDRMAP10, ADDRMAP11.
Programming mode: Static - Bits 15:12 Reserved, must be kept at reset value.
- Bits 11:8 ADDRMAP_ROW_B1[3:0]: Selects the HIF address bits used as row address bit 1.
Valid Range: 0 to 11
Internal Base: 7
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field.
Programming mode: Static - Bits 7:4 Reserved, must be kept at reset value.
- Bits 3:0 ADDRMAP_ROW_B0[3:0]: Selects the HIF address bits used as row address bit 0.
Valid Range: 0 to 11
Internal Base: 6
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field.
Programming mode: Static
5.7.52 DDRCTRL address register 6 (DDRCTRL_ADDRMAP6)
Address offset: 0x218
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| LPDDR3_6GB_12GB | Res. | Res. | Res. | ADDRMAP_ROW_B15[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B14[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B13[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B12[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||

- Bit 31 LPDDR3_6GB_12GB:
Set this to 1 if there is an LPDDR3 SDRAM 6Gb or 12Gb device in use.
- 1 - LPDDR3 SDRAM 6Gb/12Gb device in use. Every address having row[14:13]==2'b11 is considered as invalid
- 0 - non-LPDDR3 6Gb/12Gb device in use. All addresses are valid
Present only in designs configured to support LPDDR3.
Programming mode: Static - Bits 30:28 Reserved, must be kept at reset value.
- Bits 27:24 ADDRMAP_ROW_B15[3:0]: Selects the HIF address bit used as row address bit 15.
Valid Range: 0 to 11, and 15
Internal Base: 21
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then row address bit 15 is set to 0.
Programming mode: Static - Bits 23:20 Reserved, must be kept at reset value.
- Bits 19:16 ADDRMAP_ROW_B14[3:0]: Selects the HIF address bit used as row address bit 14.
Valid Range: 0 to 11, and 15
Internal Base: 20
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then row address bit 14 is set to 0.
Programming mode: Static - Bits 15:12 Reserved, must be kept at reset value.
- Bits 11:8 ADDRMAP_ROW_B13[3:0]: Selects the HIF address bit used as row address bit 13.
Valid Range: 0 to 11, and 15
Internal Base: 19
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then row address bit 13 is set to 0.
Programming mode: Static - Bits 7:4 Reserved, must be kept at reset value.
- Bits 3:0 ADDRMAP_ROW_B12[3:0]: Selects the HIF address bit used as row address bit 12.
Valid Range: 0 to 11, and 15
Internal Base: 18
The selected HIF address bit is determined by adding the internal base to the value of this field.
If unused, set to 15 and then row address bit 12 is set to 0.
Programming mode: Static
5.7.53 DDRCTRL address map register 9 (DDRCTRL_ADDRMAP9)
Address offset: 0x224
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B5[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B4[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B3[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B2[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_ROW_B5[3:0]: Selects the HIF address bits used as row address bit 5.
Valid Range: 0 to 11
Internal Base: 11
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_ROW_B4[3:0]: Selects the HIF address bits used as row address bit 4.
Valid Range: 0 to 11
Internal Base: 10
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B3[3:0]: Selects the HIF address bits used as row address bit 3.
Valid Range: 0 to 11
Internal Base: 9
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B2[3:0]: Selects the HIF address bits used as row address bit 2.
Valid Range: 0 to 11
Internal Base: 8
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
5.7.54 DDRCTRL address map register 10 (DDRCCTRL_ADDRMAP10)
Address offset: 0x228
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B9[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B8[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B7[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B6[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_ROW_B9[3:0]: Selects the HIF address bits used as row address bit 9.
Valid Range: 0 to 11
Internal Base: 15
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_ROW_B8[3:0]: Selects the HIF address bits used as row address bit 8.
Valid Range: 0 to 11
Internal Base: 14
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B7[3:0]: Selects the HIF address bits used as row address bit 7.
Valid Range: 0 to 11
Internal Base: 13
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B6[3:0]: Selects the HIF address bits used as row address bit 6.
Valid Range: 0 to 11
Internal Base: 12
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
5.7.55 DDRCCTRL address map register 11 (DDRCCTRL_ADDRMAP11)
Address offset: 0x22C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B10[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B10[3:0]: Selects the HIF address bits used as row address bit 10.
Valid Range: 0 to 11
Internal Base: 16
The selected HIF address bit for each of the row address bits is determined by adding the internal base to the value of this field. This register field is used only when ADDRMAP5.addrmap_row_b2_10 is set to value 15.
Programming mode: Static
5.7.56 DDRCCTRL ODT configuration register (DDRCCTRL_ODTCFG)
Address offset: 0x240
Reset value: 0x0400 0400
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | WR_ODT_HOLD[3:0] | Res. | Res. | Res. | WR_ODT_DELAY[4:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | RD_ODT_HOLD[3:0] | Res. | RD_ODT_DELAY[4:0] | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 WR_ODT_HOLD[3:0]:
DFI PHY clock cycles to hold ODT for a write command. The minimum supported value is 2.
Recommended values:
DDR2:
- BL8: 0x5 (DDR2-400/533/667), 0x6 (DDR2-800), 0x7 (DDR2-1066)
- BL4: 0x3 (DDR2-400/533/667), 0x4 (DDR2-800), 0x5 (DDR2-1066)
DDR3:
- BL8: 0x6
DDR4:
- BL8: 5 + WR_PREAMBLE + CRC_MODE
WR_PREAMBLE = 1 (1tCK write preamble), 2 (2tCK write preamble)
CRC_MODE = 0 (not CRC mode), 1 (CRC mode)
LPDDR3:
- BL8: 7 + RU(tODTon(max)/tCK)
Programming mode: Quasi-dynamic Group 1 and Group 4
Bits 23:21 Reserved, must be kept at reset value.
Bits 20:16 WR_ODT_DELAY[4:0]:
The delay, in DFI PHY clock cycles, from issuing a write command to setting ODT values associated with that command. ODT setting must remain constant for the entire time that DQS is driven by the DDRCTRL.
Recommended values:
DDR2:
- CWL + AL - 3 (DDR2-400/533/667), CWL + AL - 4 (DDR2-800), CWL + AL - 5 (DDR2-1066)
If (CWL + AL - 3 < 0), DDRCTRL does not support ODT for write operation.
DDR3:
- 0x0
DDR4:
- DFITMG1.dfi_t_cmd_lat (to adjust for CAL mode)
LPDDR3:
- WL - 1 - RU(tODTon(max)/tCK)
Programming mode: Quasi-dynamic Group 1 and Group 4
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 RD_ODT_HOLD[3:0]:
DFI PHY clock cycles to hold ODT for a read command. The minimum supported value is 2.
Recommended values:
DDR2:
- BL8: 0x6 (not DDR2-1066), 0x7 (DDR2-1066)
- BL4: 0x4 (not DDR2-1066), 0x5 (DDR2-1066)
DDR3:
- BL8 - 0x6
DDR4:
- BL8: 5 + RD_PREAMBLE
RD_PREAMBLE = 1 (1tCK write preamble), 2 (2tCK write preamble)
LPDDR3:
- BL8: 5 + RU(tDQSCK(max)/tCK) - RD(tDQSCK(min)/tCK) + RU(tODTon(max)/tCK)
Programming mode: Quasi-dynamic Group 1 and Group 4
Bit 7 Reserved, must be kept at reset value.
Bits 6:2 RD_ODT_DELAY[4:0]:
The delay, in DFI PHY clock cycles, from issuing a read command to setting ODT values associated with that command. ODT setting must remain constant for the entire time that DQS is driven by the DDRCTRL.
Recommended values:
DDR2:
- CL + AL - 4 (not DDR2-1066), CL + AL - 5 (DDR2-1066)
If (CL + AL - 4 < 0), DDRCTRL does not support ODT for read operation.
DDR3:
- CL - CWL
DDR4:
- CL - CWL - RD_PREAMBLE + WR_PREAMBLE + DFITMG1.dfi_t_cmd_lat (to adjust for CAL mode)
WR_PREAMBLE = 1 (1tCK write preamble), 2 (2tCK write preamble)
RD_PREAMBLE = 1 (1tCK write preamble), 2 (2tCK write preamble)
If (CL - CWL - RD_PREAMBLE + WR_PREAMBLE) < 0, DDRCTRL does not support ODT for read operation.
LPDDR3:
- RL + RD(tDQSCK(min)/tCK) - 1 - RU(tODTon(max)/tCK)
Programming mode: Quasi-dynamic Group 1 and Group 4.
Bits 1:0 Reserved, must be kept at reset value.
5.7.57 DDRCTRL ODT/Rank map register (DDRCTRL_ODTMAP)
Address offset: 0x244
Reset value: 0x0000 0011
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RANK0_RD_ODT | Res. | Res. | Res. | RANK0_WR_ODT |
| rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 RANK0_RD_ODT: Indicates which remote ODTs must be turned on during a read from rank 0.
Each rank has a remote ODT (in the SDRAM) which can be turned on by setting the appropriate bit here.
Rank 0 is controlled by the LSB; rank 1 is controlled by bit next to the LSB, etc.
For each rank, set its bit to 1 to enable its ODT.
Programming mode: Static
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 RANK0_WR_ODT: Indicates which remote ODTs must be turned on during a write to rank 0.
Each rank has a remote ODT (in the SDRAM) which can be turned on by setting the appropriate bit here.
Rank 0 is controlled by the LSB; rank 1 is controlled by bit next to the LSB, etc.
For each rank, set its bit to 1 to enable its ODT.
Programming mode: Static
5.7.58 DDRCTRL scheduler control register (DDRCTRL_SCHED)
Address offset: 0x250
Reset value: 0x0000 0805
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | RDWR_IDLE_GAP[6:0] | GO2CRITICAL_HYSTERESIS[7:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | LPR_NUM_ENTRIES[3:0] | Res. | Res. | Res. | Res. | Res. | PAGECLOSE | PREFER_WRITE | FORCE_LOW_PRI_N | |||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
Bit 31 Reserved, must be kept at reset value.
Bits 30:24 RDWR_IDLE_GAP[6:0]: When the preferred transaction store is empty for these many clock cycles, switch to the alternate transaction store if it is non-empty.
The read transaction store (both high and low priority) is the default preferred transaction store and the write transaction store is the alternative store.
When prefer write over read is set this is reversed.
0x0 is a legal value for this register. When set to 0x0, the transaction store switching happens immediately when the switching conditions become true.
FOR PERFORMANCE ONLY
Programming mode: Static
Bits 23:16 GO2CRITICAL_HYSTERESIS[7:0]: UNUSED
Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 LPR_NUM_ENTRIES[3:0]: Number of entries in the low priority transaction store is this value + 1.
(MEMC_NO_OF_ENTRY - (SCHED.lpr_num_entries + 1)) is the number of entries available for the high priority transaction store.
Setting this to maximum value allocates all entries to low priority transaction store.
Setting this to 0 allocates 1 entry to low priority transaction store and the rest to high priority transaction store.
Note: In ECC configurations, the numbers of write and low priority read credits issued is one less than in the non-ECC case. One entry each is reserved in the write and low-priority read CAMs for storing the RMW requests arising out of single bit error correction RMW operation.
Programming mode: Static

Bits 7:3 Reserved, must be kept at reset value.
Bit 2 PAGECLOSE: If true, bank is kept open only while there are page hit transactions available in the CAM to that bank. The last read or write command in the CAM with a bank and page hit is executed with auto-precharge if SCHED1.pageclose_timer=0. Even if this register set to 1 and SCHED1.pageclose_timer is set to 0, explicit precharge (and not auto-precharge) may be issued in some cases where there is a mode switch between write and read or between LPR and HPR. The Read and Write commands that are executed as part of the ECC scrub requests are also executed without auto-precharge.
If false, the bank remains open until there is a need to close it (to open a different page, or for page timeout or refresh timeout) - also known as open page policy. The open page policy can be overridden by setting the per-command-autopre bit on the HIF interface (hif_cmd_autopre). The pageclose feature provides a midway between Open and Close page policies.
For performance only.
Programming mode: Quasi-dynamic Group 3
Bit 1 PREFER_WRITE: If set then the bank selector prefers writes over reads.
FOR DEBUG ONLY.
Programming mode: Static
Bit 0 FORCE_LOW_PRI_N: Active low signal. When asserted ('0'), all incoming transactions are forced to low priority. This implies that all high priority read (HPR) and variable priority read commands (VPR) are treated as low priority read (LPR) commands. On the write side, all variable priority write (VPW) commands are treated as normal priority write (NPW) commands. Forcing the incoming transactions to low priority implicitly turns off bypass path for read commands.
For performance only.
Programming mode: Static
5.7.59 DDRCTRL scheduler control register 1 (DDRCTRL_SCHED1)
Address offset: 0x254
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PAGECLOSE_TIMER[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PAGECLOSE_TIMER[7:0]: This field works in conjunction with SCHED.pageclose.
It only has meaning if SCHED.pageclose==1.
If SCHED.pageclose==1 and pageclose_timer==0, then an auto-precharge may be scheduled for last read
or write command in the CAM with a bank and page hit.
Note, sometimes an explicit precharge is scheduled instead of the auto-precharge. See SCHED.pageclose for details of when this may happen.
If SCHED.pageclose==1 and pageclose_timer>0, then an auto-precharge is not scheduled for last read
or write command in the CAM with a bank and page hit.
Instead, a timer is started, with pageclose_timer as the initial value.
There is a timer on a per bank basis.
The timer decrements unless the next read or write in the CAM to a bank is a page hit.
It gets reset to pageclose_timer value if the next read or write in the CAM to a bank is a page hit.
Once the timer has reached zero, an explicit precharge is attempted to be scheduled.
Programming mode: Static.
5.7.60 DDRCTRL high priority read CAM register 1 (DDRCTRL_PERFHPR1)
Address offset: 0x25C
Reset value: 0x0F00 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| HPR_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| HPR_MAX_STARVE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:24 HPR_XACT_RUN_LENGTH[7:0]:
Number of transactions that are serviced once the HPR queue goes critical is the smaller of:
- (a) This number
- (b) Number of transactions available.
Unit: Transaction.
For performance only.
Programming mode: Quasi-dynamic Group 3
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:0 HPR_MAX_STARVE[15:0]: Number of DFI clocks that the HPR queue can be starved before it goes critical. The minimum valid functional value for this register is 0x1. Programming it to 0x0 disables the starvation functionality; during normal operation, this function must not be disabled as it causes excessive latencies.
For performance only.
Programming mode: Quasi-dynamic Group 3

5.7.61 DDRCTRL low priority read CAM register 1 (DDRCTRL_PERFLPR1)
Address offset: 0x264
Reset value: 0x0F00 007F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LPR_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LPR_MAX_STARVE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:24 LPR_XACT_RUN_LENGTH[7:0]:
Number of transactions that are serviced once the LPR queue goes critical is the smaller of:
- - (a) This number
- - (b) Number of transactions available.
Unit: Transaction.
For performance only
Programming mode: Quasi-dynamic group 3
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:0 LPR_MAX_STARVE[15:0]: Number of DFI clocks that the LPR queue can be starved before it goes critical. The minimum valid functional value for this register is 0x1. Programming it to 0x0 disables the starvation functionality; during normal operation, this function must be disabled as it causes excessive latencies.
For performance only
Programming mode: Quasi-dynamic Group 3
5.7.62 DDRCTRL write CAM register 1 (DDRCTRL_PERFWR1)
Address offset: 0x26C
Reset value: 0x0F00 007F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| W_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| W_MAX_STARVE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:24 W_XACT_RUN_LENGTH[7:0]:
Number of transactions that are serviced once the WR queue goes critical is the smaller of:
- - (a) This number
- - (b) Number of transactions available.
Unit: Transaction.
For performance only.
Programming mode: Quasi-dynamic Group 3.
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:0 W_MAX_STARVE[15:0]: Number of DFI clocks that the WR queue can be starved before it goes critical. The minimum valid functional value for this register is 0x1. Programming it to 0x0 disables the starvation functionality; during normal operation, this function must not be disabled as it causes excessive latencies.
For performance only.
Programming mode: Quasi-dynamic Group 3.
5.7.63 DDRCTRL debug register 0 (DDRCTRL_DBG0)
Address offset: 0x300
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_COLLISION_PAGE_OPT | Res. | Res. | Res. | DIS_WC |
| rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 DIS_COLLISION_PAGE_OPT: When this is set to '0', auto-precharge is disabled for the flushed command in a collision case. Collision cases are write followed by read to same address, read followed by write to same address, or write followed by write to same address with DBG0.dis_wc bit = 1 (where same address comparisons exclude the two address bits representing critical word).
FOR DEBUG ONLY.
Programming mode: Static
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 DIS_WC: When 1, disable write combine.
FOR DEBUG ONLY
Programming mode: Static
5.7.64 DDRCTRL debug register 1 (DDRCTRL_DBG1)
Address offset: 0x304
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_HIF | DIS_DQ |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 DIS_HIF: When 1, DDRCTRL asserts the HIF command signal hif_cmd_stall. DDRCTRL ignores the hif_cmd_valid and all other associated request signals.
This bit is intended to be switched on-the-fly.
Programming mode: Dynamic
Bit 0 DIS_DQ: When 1, DDRCTRL does not de-queue any transactions from the CAM. Bypass is also disabled. All transactions are queued in the CAM. No reads or writes are issued to SDRAM as long as this is asserted.
This bit may be used to prevent reads or writes being issued by the DDRCTRL, which makes it safe to modify certain register fields associated with reads and writes (see User Guide for details). After setting this bit, it is strongly recommended to poll
DBGCAM.wr_data_pipeline_empty and DBGCAM.rd_data_pipeline_empty, before making changes to any registers which affect reads and writes. This ensures that the relevant logic in the DDRC is idle.
This bit is intended to be switched on-the-fly.
Programming mode: Dynamic
5.7.65 DDRCTRL CAM debug register (DDRCTRL_DBGCAM)
Address offset: 0x308
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | WR_DATA_PIPELINE_EMPTY | RD_DATA_PIPELINE_EMPTY | Res. | DBG_WR_Q_EMPTY | DBG_RD_Q_EMPTY | DBG_STALL | Res. | Res. | Res. | DBG_W_Q_DEPTH[4:0] | ||||
| r | r | r | r | r | r | r | r | r | r | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | DBG_LPR_Q_DEPTH[4:0] | Res. | Res. | Res. | DBG_HPR_Q_DEPTH[4:0] | ||||||||
| r | r | r | r | r | r | r | r | r | r | ||||||
- Bits 31:30 Reserved, must be kept at reset value.
- Bit 29 WR_DATA_PIPELINE_EMPTY: This bit indicates that the write data pipeline on the DFI interface is empty. This register is intended to be polled at least twice after setting DBG1.dis_dq, to ensure that all remaining commands/data have completed.
Programming mode: Dynamic. - Bit 28 RD_DATA_PIPELINE_EMPTY: This bit indicates that the read data pipeline on the DFI interface is empty. This register is intended to be polled at least twice after setting DBG1.dis_dq, to ensure that all remaining commands/data have completed.
Programming mode: Dynamic. - Bit 27 Reserved, must be kept at reset value.
- Bit 26 DBG_WR_Q_EMPTY: When 1, all the Write command queues and Write data buffers inside DDRC are empty. This register is to be used for debug purpose.
An example use-case scenario: When Controller enters Self-Refresh using the Low-Power entry sequence, Controller is expected to have executed all the commands in its queues and the write and read data drained. Hence this register should be 1 at that time.
For debug only.
Programming mode: Dynamic. - Bit 25 DBG_RD_Q_EMPTY: When 1, all the Read command queues and Read data buffers inside DDRC are empty. This register is to be used for debug purpose.
An example use-case scenario: When Controller enters Self-Refresh using the Low-Power entry sequence, Controller is expected to have executed all the commands in its queues and the write and read data drained. Hence this register should be 1 at that time.
For debug only.
Programming mode: Dynamic - Bit 24 DBG_STALL: Stall
For debug only.
Programming mode: Dynamic - Bits 23:21 Reserved, must be kept at reset value.
- Bits 20:16 DBG_W_Q_DEPTH[4:0]: Write queue depth
The last entry of WR queue is reserved for ECC SCRUB operation. This entry is not included in the calculation of the queue depth.
For debug only.
Programming mode: Dynamic - Bits 15:13 Reserved, must be kept at reset value.
- Bits 12:8 DBG_LPR_Q_DEPTH[4:0]: Low priority read queue depth
The last entry of Lpr queue is reserved for ECC SCRUB operation. This entry is not included in the calculation of the queue depth.
For debug only.
Programming mode: Dynamic - Bits 7:5 Reserved, must be kept at reset value.
- Bits 4:0 DBG_HPR_Q_DEPTH[4:0]: High priority read queue depth
For debug only.
Programming mode: Dynamic
5.7.66 DDRCTRL command debug register (DDRCTRL_DBGCMD)
Address offset: 0x30C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLUPD | ZQ_CALIB_SHORT | Res. | Res. | Res. | RANK0_REFRESH |
| rs | rs | rs |
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 CTRLUPD:
Setting this register bit to 1 indicates to the DDRCTRL to issue a dfi_ctrlupd_req to the PHY. When this request is stored in the DDRCTRL, the bit is automatically cleared. This operation must only be performed when DFIUPD0.dis_auto_ctrlupd=1.
Programming mode: Dynamic.
Bit 4 ZQ_CALIB_SHORT:
Setting this register bit to 1 indicates to the DDRCTRL to issue a ZQCS (ZQ calibration short)/MPC(ZQ calibration) command to the SDRAM. When this request is stored in the DDRCTRL, the bit is automatically cleared. This operation can be performed only when ZQCTL0.dis_auto_zq=1. It is recommended NOT to set this register bit if in Init, in Self-Refresh(except LPDDR4) or SR-Powerdown(LPDDR4) or Deep power-down operating modes or maximum power saving mode.
For self-refresh(except LPDDR4) or SR-powerdown(LPDDR4) it is scheduled after SR(except LPDDR4) or SPRD(LPDDR4) has been exited.
For Deep power down and maximum power saving mode, it is not scheduled, although DBGSTAT.zq_calib_short_busy is de-asserted.
Programming mode: Dynamic.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 RANK0_REFRESH:
Setting this register bit to 1 indicates to the DDRCTRL to issue a refresh to rank 0. Writing to this bit causes DBGSTAT.rank0_refresh_busy to be set. When DBGSTAT.rank0_refresh_busy is cleared, the command has been stored in DDRCTRL.
For 3DS configuration, refresh is sent to rank index 0.
This operation can be performed only when RFSHCTL3.dis_auto_refresh=1. It is recommended NOT to set this register bit if in Init or Deep power-down operating modes or Maximum Power Saving Mode.
Programming mode: Dynamic.
5.7.67 DDRCTRL status debug register (DDRCTRL_DBGSTAT)
Address offset: 0x310
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLUPD_BUSY | ZQ_CALIB_SHORT_BUSY | Res. | Res. | Res. | RANK0_REFRESH_BUSY |
| r | r | r |
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 CTRLUPD_BUSY: SoC core may initiate a ctrlpud operation only if this signal is low. This signal goes high in the clock after the DDRCTRL accepts the ctrlpud request. It goes low when the ctrlpud operation is initiated in the DDRCTRL. It is recommended not to perform ctrlpud operations when this signal is high.
- - 0 - Indicates that the SoC core can initiate a ctrlpud operation
- - 1 - Indicates that ctrlpud operation has not been initiated yet in the DDRCTRL
Programming mode: Dynamic
Bit 4 ZQ_CALIB_SHORT_BUSY: SoC core may initiate a ZQCS (ZQ calibration short) operation only if this signal is low. This signal goes high in the clock after the DDRCTRL accepts the ZQCS request. It goes low when the ZQCS operation is initiated in the DDRCTRL. It is recommended not to perform ZQCS operations when this signal is high.
- - 0 - Indicates that the SoC core can initiate a ZQCS operation
- - 1 - Indicates that ZQCS operation has not been initiated yet in the DDRCTRL
Programming mode: Dynamic
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 RANK0_REFRESH_BUSY: SoC core may initiate a rank0_refresh operation (refresh operation to rank 0) only if this signal is low. This signal goes high in the clock after DBGCMD.rank0_refresh is set to one. It goes low when the rank0_refresh operation is stored in the DDRCTRL. It is recommended not to perform rank0_refresh operations when this signal is high.
- - 0 - Indicates that the SoC core can initiate a rank0_refresh operation
- - 1 - Indicates that rank0_refresh operation has not been stored yet in the DDRCTRL
Programming mode: Dynamic
5.7.68 DDRCTRL software register programming control enable (DDRCTRL_SWCTL)
Address offset: 0x320
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_DONE |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SW_DONE: Enable quasi-dynamic register programming outside reset. Program register to 0 to enable quasi-dynamic programming. Set back register to 1 once programming is done.
Programming mode: Dynamic
5.7.69 DDRCTRL software register programming control status (DDRCTRL_SWSTAT)
Address offset: 0x324
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_DONE_ACK |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SW_DONE_ACK: Register programming done. This register is the echo of SWCTL.sw_done. Wait for sw_done value 1 to propagate to sw_done_ack at the end of the programming sequence to ensure that the correct registers values are propagated to the destination clock domains.
Programming mode: Static
5.7.70 DDRCTRL AXI Poison configuration register (DDRCTRL_POISONCFG)
Address offset: 0x36C
Reset value: 0x0011 0011
AXI Poison configuration register common for all AXI ports.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_CLR | Res. | Res. | Res. | RD_POISON_INTR_EN | Res. | Res. | Res. | RD_POISON_SLVERR_EN |
| rc_w1 | rw | rw | |||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_CLR | Res. | Res. | Res. | WR_POISON_INTR_EN | Res. | Res. | Res. | WR_POISON_SLVERR_EN |
| rc_w1 | rw | rw |
Bits 31:25 Reserved, must be kept at reset value.
Bit 24 RD_POISON_INTR_CLR: Interrupt clear for read transaction poisoning. Allow 2/3 clock cycles for correct value to propagate to core logic and clear the interrupts.
Programming mode: Dynamic
Bits 23:21 Reserved, must be kept at reset value.
Bit 20 RD_POISON_INTR_EN: If set to 1, enables interrupts for read transaction poisoning
Programming mode: Dynamic
Bits 19:17 Reserved, must be kept at reset value.
Bit 16 RD_POISON_SLVERR_EN: If set to 1, enables SLVERR response for read transaction poisoning
Programming mode: Dynamic
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 WR_POISON_INTR_CLR: Interrupt clear for write transaction poisoning. Allow 2/3 clock cycles for correct value to propagate to core logic and clear the interrupts.
Programming mode: Dynamic
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 WR_POISON_INTR_EN: If set to 1, enables interrupts for write transaction poisoning
Programming mode: Dynamic
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 WR_POISON_SLVERR_EN: If set to 1, enables SLVERR response for write transaction poisoning
Programming mode: Dynamic
5.7.71 DDRCTRL AXI Poison status register (DDRCTRL_POISONSTAT)
Address offset: 0x370
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_1 | RD_POISON_INTR_0 |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_1 | WR_POISON_INTR_0 |
| r | r |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 RD_POISON_INTR_1: Read transaction poisoning error interrupt for port 1. This register is a APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port's read address channel. Bit 0 corresponds to Port 0, and so on. Interrupt is cleared by register rd_poison_intr_clr, then value propagated to APB clock.
Programming mode: Dynamic
Bit 16 RD_POISON_INTR_0: Read transaction poisoning error interrupt for port 0. This register is a APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port's read address channel. Bit 0 corresponds to Port 0, and so on. Interrupt is cleared by register rd_poison_intr_clr, then value propagated to APB clock.
Programming mode: Dynamic
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 WR_POISON_INTR_1: Write transaction poisoning error interrupt for port 1. This register is a APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port's write address channel. Bit 0 corresponds to Port 0, and so on. Interrupt is cleared by register wr_poison_intr_clr, then value propagated to APB clock.
Programming mode: Dynamic

Bit 0 WR_POISON_INTR_0: Write transaction poisoning error interrupt for port 0. This register is a APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port's write address channel. Bit 0 corresponds to Port 0, and so on. Interrupt is cleared by register wr_poison_intr_clr, then value propagated to APB clock.
Programming mode: Dynamic
5.7.72 DDCRTL port status register (DDRCTRL_PSTAT)
Address offset: 0x3FC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_BUSY_1 | WR_PORT_BUSY_0 |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_PORT_BUSY_1 | RD_PORT_BUSY_0 |
| r | r |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 WR_PORT_BUSY_1: Indicates if there are outstanding writes for AXI port 1.
Programming mode: Dynamic
Bit 16 WR_PORT_BUSY_0: Indicates if there are outstanding writes for AXI port 0.
Programming mode: Dynamic
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 RD_PORT_BUSY_1: Indicates if there are outstanding reads for AXI port 1.
Programming mode: Dynamic
Bit 0 RD_PORT_BUSY_0: Indicates if there are outstanding reads for AXI port 0.
Programming mode: Dynamic
5.7.73 DDRCTRL port common configuration register (DDRCTRL_PCCFG)
Address offset: 0x400
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | BL_EXP_MODE | Res. | Res. | Res. | PAGEMATCH_LIMIT | Res. | Res. | Res. | GO2CRITICAL_EN |
| rw | rw | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 BL_EXP_MODE: Burst length expansion mode. By default (i.e. bl_exp_mode==0) XPI expands every AXI burst into multiple HIF commands, using the memory burst length as a unit. If set to 1, then XPI uses half of the memory burst length as a unit.
This applies to both reads and writes. When MSTR.data_bus_width==00, setting bl_exp_mode to 1 has no effect.
This can be used in cases where Partial Writes is enabled (UMCTL2_PARTIAL_WR=1), in order to avoid or minimize t_ccd_l penalty in DDR4 and t_ccd_mw penalty in LPDDR4. Hence, bl_exp_mode=1 is only recommended if DDR4 or LPDDR4.
Note that if DBICTL.dm_en=0, functionality is not supported in the following cases:
- - UMCTL2_PARTIAL_WR=0
- - UMCTL2_PARTIAL_WR=1, MSTR.data_bus_width=01, MEMC_BURST_LENGTH=8 and MSTR.burst_rdwr=1000 (LPDDR4 only)
- - UMCTL2_PARTIAL_WR=1, MSTR.data_bus_width=01, MEMC_BURST_LENGTH=4 and MSTR.burst_rdwr=0100 (DDR4 only), with either MSTR.burstchop=0 or CRCPARCTL1.crc_enable=1
Functionality is also not supported if Data Channel Interleave is enabled.
Programming mode: Static.
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 PAGEMATCH_LIMIT: Page match four limit. If set to 1, limits the number of consecutive same page DDRC transactions that can be granted by the Port Arbiter to four when Page Match feature is enabled. If set to 0, there is no limit imposed on number of consecutive same page DDRC transactions.
Programming mode: Static.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 GO2CRITICAL_EN: If set to 1 (enabled), sets co_gs_go2critical_wr and co_gs_go2critical_lpr/co_gs_go2critical_hpr signals going to DDRC based on urgent input (awurgent, arurgent) coming from AXI master. If set to 0 (disabled), co_gs_go2critical_wr and co_gs_go2critical_lpr/co_gs_go2critical_hpr signals at DDRC are driven to 1b'0.
Programming mode: Static.
5.7.74 DDRCTRL port x configuration read register (DDRCTRL_PCFGR_x)
Address offset: 0x404 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 4000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RDWR_ORDERED_EN |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | RD_PORT_PAGEMATCH_EN | RD_PORT_URGENT_EN | RD_PORT_AGING_EN | Res. | Res. | RD_PORT_PRIORITY[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 RDWR_ORDERED_EN: Enables ordered read/writes. If set to 1, preserves the ordering between read transaction and write transaction issued to the same address, on a given port. In other words, the controller ensures that all same address read and write commands from the application port interface are transported to the DFI interface in the order of acceptance. This feature is useful in cases where software coherency is desired for masters issuing back-to-back read/write transactions without waiting for write/read responses. Note that this register has an effect only if necessary logic is instantiated via the UMCTL2_RDWR_ORDERED_n parameter.
Programming mode: Static.
Bit 15 Reserved, must be kept at reset value.
Bit 14 RD_PORT_PAGEMATCH_EN: If set to 1, enables the Page Match feature. If enabled, once a requesting port is granted, the port is continued to be granted if the following immediate commands are to the same memory page (same bank and same row). See also related PCCFG.pagematch_limit register.
Programming mode: Static
- Bit 13 RD_PORT_URGENT_EN: If set to 1, enables the AXI urgent sideband signal (arurgent). When enabled and arurgent is asserted by the master, that port becomes the highest priority and co_gs_go2critical_lpr/co_gs_go2critical_hpr signal to DDRC is asserted if enabled in PCCFG.go2critical_en register. Note that arurgent signal can be asserted anytime and as long as required which is independent of address handshaking (it is not associated with any particular command).
Programming mode: Static - Bit 12 RD_PORT_AGING_EN: If set to 1, enables aging function for the read channel of the port.
Programming mode: Static - Bits 11:10 Reserved, must be kept at reset value.
- Bits 9:0 RD_PORT_PRIORITY[9:0]: Determines the initial load value of read aging counters. These counters are parallel loaded after reset, or after each grant to the corresponding port. The aging counters down-count every clock cycle where the port is requesting but not granted. The higher significant 5-bits of the read aging counter sets the priority of the read channel of a given port. Port's priority increases as the higher significant 5-bits of the counter starts to decrease. When the aging counter becomes 0, the corresponding port channel has the highest priority level (timeout condition - Priority0). For multi-port configurations, the aging counters cannot be used to set port priorities when external dynamic priority inputs (arqos) are enabled (timeout is still applicable). For single port configurations, the aging counters are only used when they timeout (become 0) to force read-write direction switching. In this case, external dynamic priority input, arqos (for reads only) can still be used to set the DDRC read priority (2 priority levels: low priority read - LPR, high priority read - HPR) on a command by command basis.
Note: The two LSBs of this register field are tied internally to 2'b00.
Programming mode: Static
5.7.75 DDRCTRL port x configuration write register (DDRCTRL_PCFGW_x)
Address offset: 0x408 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 4000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | WR_PORT_PAGEMATCH_EN | WR_PORT_URGENT_EN | WR_PORT_AGING_EN | Res. | Res. | WR_PORT_PRIORITY[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:15 Reserved, must be kept at reset value.

- Bit 14 WR_PORT_PAGEMATCH_EN: If set to 1, enables the Page Match feature. If enabled, once a requesting port is granted, the port is continued to be granted if the following immediate commands are to the same memory page (same bank and same row). See also related PCCFG.pagematch_limit register.
Programming mode: Static - Bit 13 WR_PORT_URGENT_EN: If set to 1, enables the AXI urgent sideband signal (awurgent). When enabled and awurgent is asserted by the master, that port becomes the highest priority and co_gs_go2critical_wr signal to DDRC is asserted if enabled in PCCFG.go2critical_en register.
Note that awurgent signal can be asserted anytime and as long as required which is independent of address handshaking (it is not associated with any particular command).
Programming mode: Static - Bit 12 WR_PORT_AGING_EN: If set to 1, enables aging function for the write channel of the port.
Programming mode: Static - Bits 11:10 Reserved, must be kept at reset value.
- Bits 9:0 WR_PORT_PRIORITY[9:0]: Determines the initial load value of write aging counters. These counters are parallel loaded after reset, or after each grant to the corresponding port. The aging counters down-count every clock cycle where the port is requesting but not granted. The higher significant 5-bits of the write aging counter sets the initial priority of the write channel of a given port. Port's priority increases as the higher significant 5-bits of the counter starts to decrease. When the aging counter becomes 0, the corresponding port channel has the highest priority level.
For multi-port configurations, the aging counters cannot be used to set port priorities when external dynamic priority inputs (awqos) are enabled (timeout is still applicable).
For single port configurations, the aging counters are only used when they timeout (become 0) to force read-write direction switching.
Note: The two LSBs of this register field are tied internally to 2'b00.
Programming mode: Static
5.7.76 DDRCTRL port x control register (DDRCTRL_PCTRL_x)
Address offset: 0x490 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORT_EN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 PORT_EN: Enables AXI port n.
Programming mode: Dynamic

5.7.77 DDRCTRL port x read QoS configuration register 0 (DDRCTRL_PCFGQOS0_x)
Address offset: 0x494 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0200 0E00
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION2[1:0] | Res. | Res. | RQOS_MAP_REGION1[1:0] | Res. | Res. | RQOS_MAP_REGION0[1:0] | |||
| rw | rw | rw | rw | rw | rw | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL1[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:26 Reserved, must be kept at reset value.
Bits 25:24 RQOS_MAP_REGION2[1:0]: This bitfield indicates the traffic class of region2.
For dual address queue configurations, region2 maps to the red address queue.
Valid values are 1: VPR and 2: HPR only.
When VPR support is disabled (UMCTL2_VPR_EN = 0) and traffic class of region2 is set to 1 (VPR), VPR traffic is aliased to LPR traffic.
Programming mode: Quasi-dynamic Group 3
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:20 RQOS_MAP_REGION1[1:0]: This bitfield indicates the traffic class of region 1.
Valid values are:
- 0 : LPR,
- 1: VPR,
- 2: HPR.
For dual address queue configurations, region1 maps to the blue address queue.
In this case, valid values are
- 0: LPR and
- 1: VPR only.
When VPR support is disabled (UMCTL2_VPR_EN = 0) and traffic class of region 1 is set to 1 (VPR), VPR traffic is aliased to LPR traffic.
Programming mode: Quasi-dynamic Group 3
Bits 19:18 Reserved, must be kept at reset value.
- Bits 17:16 RQOS_MAP_REGION0[1:0]: This bitfield indicates the traffic class of region 0.
Valid values are:
- 0: LPR, 1: VPR, 2: HPR.
For dual address queue configurations, region 0 maps to the blue address queue.
In this case, valid values are:
- 0: LPR and 1: VPR only.
When VPR support is disabled (UMCTL2_VPR_EN = 0) and traffic class of region0 is set to 1 (VPR), VPR traffic is aliased to LPR traffic.
Programming mode: Quasi-dynamic Group 3 - Bits 15:12 Reserved, must be kept at reset value.
- Bits 11:8 RQOS_MAP_LEVEL2[3:0]: Separation level2 indicating the end of region1 mapping; start of region1 is (level1 + 1). Possible values for level2 are (level1 + 1) to 14 which corresponds to arqos.
Region2 starts from (level2 + 1) up to 15.
Note that for PA, arqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
All of the map_level* registers must be set to distinct values.
Programming mode: Quasi-dynamic Group 3 - Bits 7:4 Reserved, must be kept at reset value.
- Bits 3:0 RQOS_MAP_LEVEL1[3:0]: Separation level1 indicating the end of region0 mapping; start of region0 is 0. Possible values for level1 are 0 to 13 (for dual RAQ) or 0 to 14 (for single RAQ) which corresponds to arqos.
Note that for PA, arqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
All of the map_level* registers must be set to distinct values.
Programming mode: Quasi-dynamic Group 3
5.7.78 DDRCTRL port x read QoS configuration register 1 (DDRCTRL_PCFGQOS1_x)
Address offset: 0x498 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTR[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTB[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
- Bits 31:27 Reserved, must be kept at reset value.
- Bits 26:16 RQOS_MAP_TIMEOUTR[10:0]: Specifies the timeout value for transactions mapped to the red address queue. With single read address queue, there is no red queue and this value has no effect.
Programming mode: Quasi-dynamic Group 3 - Bits 15:11 Reserved, must be kept at reset value.
Bits 10:0 RQOS_MAP_TIMEOUTB[10:0]: Specifies the timeout value for transactions mapped to the blue address queue.
Programming mode: Quasi-dynamic Group 3.
5.7.79 DDRCTRL port x write QoS configuration register 0 (DDRCTRL_PCFGWQOS0_x)
Address offset: 0x49C + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0E00
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_REGION2[1:0] | Res. | Res. | WQOS_MAP_REGION1[1:0] | Res. | Res. | WQOS_MAP_REGION0[1:0] | |||
| rw | rw | rw | rw | rw | rw | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL1[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:26 Reserved, must be kept at reset value.
Bits 25:24 WQOS_MAP_REGION2[1:0]: This bitfield indicates the traffic class of region 2.
Valid values are:
0: NPW, 1: VPW.
When VPW support is disabled (UMCTL2_VPW_EN = 0) and traffic class of region 2 is set to 1 (VPW), VPW traffic is aliased to NPW traffic.
Programming mode: Quasi-dynamic Group 3
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:20 WQOS_MAP_REGION1[1:0]: This bitfield indicates the traffic class of region 1.
Valid values are:
0: NPW, 1: VPW.
When VPW support is disabled (UMCTL2_VPW_EN = 0) and traffic class of region 1 is set to 1 (VPW), VPW traffic is aliased to NPW traffic.
Programming mode: Quasi-dynamic Group 3
Bits 19:18 Reserved, must be kept at reset value.
Bits 17:16 WQOS_MAP_REGION0[1:0]: This bitfield indicates the traffic class of region 0.
Valid values are:
0: NPW, 1: VPW.
When VPW support is disabled (UMCTL2_VPW_EN = 0) and traffic class of region 0 is set to 1 (VPW), VPW traffic is aliased to NPW traffic.
Programming mode: Quasi-dynamic Group 3
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 WQOS_MAP_LEVEL2[3:0]: Separation level2 indicating the end of region1 mapping; start of region1 is (level1 + 1). Possible values for level2 are (level1 + 1) to 14 which corresponds to awqos.
Region2 starts from (level2 + 1) up to 15.
Note that for PA, awqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
All of the map_level* registers must be set to distinct values.
Programming mode: Quasi-dynamic Group 3
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 WQOS_MAP_LEVEL1[3:0]: Separation level indicating the end of region0 mapping; start of region0 is 0. Possible values for level1 are 0 to 13 which corresponds to awqos.
Note that for PA, awqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
All of the map_level* registers must be set to distinct values.
Programming mode: Quasi-dynamic Group 3
5.7.80 DDRCTRL port x write Q0S configuration register 1 (DDRCTRL_PCFGWQOS1_x)
Address offset: 0x4A0 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT2[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT1[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:27 Reserved, must be kept at reset value.
Bits 26:16 WQOS_MAP_TIMEOUT2[10:0]: Specifies the timeout value for write transactions in region 2.
Programming mode: Quasi-dynamic Group 3.
Bits 15:11 Reserved, must be kept at reset value.
Bits 10:0 WQOS_MAP_TIMEOUT1[10:0]: Specifies the timeout value for write transactions in region 0 and 1.
Programming mode: Quasi-dynamic Group 3.
5.7.81 DDRCTRL registers summary
Table 19. DDRCTRL register map and reset values
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | DDRCTRL_MSTR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BURST_RDWR[3:0] | DLL_OFF_MODE | Res. | DATA_BUS_WIDTH[1:0] | Res. | EN_2T_TIMING_MODE | BURSTCHOP | Res. | Res. | Res. | Res. | Res. | LPDDR3 | LPDDR2 | Res. | DDR3 | |||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||||||||||||||||||
| 0x004 | DDRCTRL_STAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_CAM_NOT_EMPTY | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_TYPE[1:0] | OPERATING_MODE[2:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x008 - 0x00C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||
| 0x010 | DDRCTRL_MRCTRL0 | MR_WR | MR_ADDR[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_TYPE | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x014 | DDRCTRL_MRCTRL1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_DATA[15:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x018 | DDRCTRL_MRSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_WR_BUSY | ||
| Reset value | 0 | |||||||||||||||||||||||||||||||||
| 0x01C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||
| 0x020 | DDRCTRL_DERATEEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DERATE_BYTE[3:0] | DERATE_VALUE[1:0] | DERATE_ENABLE | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x024 | DDRCTRL_DERATEINT | MR4_READ_INTERVAL[31:0] | ||||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||

Table 19. DDCRTL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x028 - 0x02C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 0x030 | DDRCTRL_PWRCTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_CAM_DRAIN_SELFRF | Res. | SELFREF_SW | Res. | EN_DFI_DRAM_CLK_DISABLE | DEEPPowerDown_EN | PowerDown_EN | SELFREF_EN |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x034 | DDRCTRL_PWRTMG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_TO_X32[7:0] | T_DPD_X4096[7:0] | Res. | Res. | Res. | POWERDOWN_TO_X32[4:0] | ||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||||||||||||
| 0x038 | DDRCTRL_HWLPCTL | Res. | Res. | Res. | Res. | HW_LP_IDLE_X32[11:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HW_LP_EXIT_IDLE_EN | HW_LP_EN | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | |||||
| 0x03C - 0x04C | Res. | ||||||||||||||||||||||||||||||||
| 0x050 | DDRCTRL_RFSHCTL0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REFRESH_MARGIN[3:0] | Res. | Res. | Res. | REFRESH_TO_X32[4:0] | Res. | Res. | Res. | REFRESH_BURST[4:0] | Res. | PER_BANK_REFRESH | |||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x054 - 0x05C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Table 19. DDDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x060 | DDRCTRL_RFSHCTL3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REFRESH_UPDATE_LEVEL | |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x064 | DDRCTRL_RFSHTMG | T_RFC_NOM_X1_SEL | Res. | Res. | Res. | Res. | T_RFC_NOM_X1_X32[11:0] | LPDDR3_TREFBW_EN | Res. | Res. | Res. | Res. | Res. | Res. | T_RFC_MIN[9:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | ||||||||||
| 0x068 - 0x0BC | Res. | ||||||||||||||||||||||||||||||||
| 0x0C0 | DDRCTRL_CRCPARCTL0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_ALERT_ERR_CNT_CLR | DFI_ALERT_ERR_INT_CLR | |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0C4 - 0x0C8 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| 0x0CC | DDRCTRL_CRCPARSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_ALERT_ERR_INT | DFI_ALERT_ERR_CNT[15:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x0D0 | DDRCTRL_INIT0 | SKIP_DRAM_INIT[1:0] | Res. | Res. | Res. | Res. | POST_CKE_X1024[9:0] | Res. | Res. | Res. | Res. | PRE_CKE_X1024[11:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | |||||||

Table 19. DDCRTL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x0D4 | DDRCTRL_INIT1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRAM_RSTN_X1024[8:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRE_OCD_X32[3:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x0D8 | DDRCTRL_INIT2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IDLE_AFTER_RESET_X32[7:0] | Res. | Res. | Res. | MIN_STABLE_CLOCK_X1[3:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | ||||||||||||||||||||||||||
| 0x0DC | DDRCTRL_INIT3 | MR[15:0] | EMR[15:0] | |||||||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||||||
| 0x0E0 | DDRCTRL_INIT4 | EMR2[15:0] | EMR3[15:0] | |||||||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||
| 0x0E4 | DDRCTRL_INIT5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DEV_ZQINIT_X32[7:0] | Res. | Res. | Res. | Res. | Res. | MAX_AUTO_INIT_X1024[9:0] | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||
| 0x0E8 - 0x0EC | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||
| 0x0F0 | DDRCTRL_DIMMCTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||||||
| 0x0F4 - 0x0FC | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||
Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x100 | DDRCTRL_DRAMTMG0 | Res | WR2PRE[6:0] | Res | Res | T_FAW[5:0] | Res | T_RAS_MAX[6:0] | Res | Res | T_RAS_MIN[5:0] | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | |||||||
| 0x104 | DDRCTRL_DRAMTMG1 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | T_XP[4:0] | Res | Res | RD2PRE[5:0] | Res | T_RC[6:0] | |||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | |||||||||||||||
| 0x108 | DDRCTRL_DRAMTMG2 | Res | Res | WRITE_LATENCY[5:0] | Res | Res | READ_LATENCY[5:0] | Res | Res | RD2WR[5:0] | Res | Res | WR2RD[5:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||
| 0x10C | DDRCTRL_DRAMTMG3 | Res | Res | T_MRW[9:0] | Res | Res | T_MRD[5:0] | Res | Res | T_MOD[9:0] | |||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |||||||
| 0x110 | DDRCTRL_DRAMTMG4 | Res | Res | T_RCD[4:0] | Res | Res | Res | Res | T_CCD[3:0] | Res | Res | Res | Res | T_RRD[3:0] | Res | Res | Res | T_RP[4:0] | |||||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||
| 0x114 | DDRCTRL_DRAMTMG5 | Res | Res | T_CKSRX[3:0] | Res | Res | Res | Res | T_CKSRE[3:0] | Res | Res | T_CKESR[5:0] | Res | Res | Res | T_CKE[4:0] | |||||||||||||||||
| Reset value | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | ||||||||||||||
| 0x118 | DDRCTRL_DRAMTMG6 | Res | Res | T_CKDPDE[3:0] | Res | Res | Res | Res | T_CKDPDX[3:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | T_CKCSX[3:0] | ||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||
| 0x11C | DDRCTRL_DRAMTMG7 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | T_CKPDDE[3:0] | Res | Res | Res | Res | T_CKPDDE[3:0] | |||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | |||||||||||||||||||||||||
| 0x120 | DDRCTRL_DRAMTMG8 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | T_XS_DLL_X32[6:0] | Res | T_XS_X32[6:0] | ||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||
| 0x124 - 0x134 | Res. | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x138 | DDRCTRL_DRAMTMG14 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | T_XSR[11:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
Table 19. DDCRTL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x13C | DDRCTRL_DRAMTMG15 | EN_DFI_LP_T_STAB | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_STAB_X32[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x140 - 0x17C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 0x180 | DDRCTRL_ZQCTL0 | DIS_AUTO_ZQ | DIS_SRX_ZQCL | ZQ_RESISTOR_SHARED | T_ZQ_LONG_NOP[10:0] | T_ZQ_SHORT_NOP[9:0] | |||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||
| 0x184 | DDRCTRL_ZQCTL1 | Res. | Res. | T_ZQ_RESET_NOP[9:0] | T_ZQ_SHORT_INTERVAL_X1024[19:0] | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
| 0x188 | DDRCTRL_ZQCTL2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ZQ_RESET | |
| Reset value | 0 | ZQ_RESET_BUSY | |||||||||||||||||||||||||||||||
| 0x18C | DDRCTRL_ZQSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ZQ_RESET_BUSY | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x190 | DDRCTRL_DFITMG0 | Res. | Res. | Res. | DFI_T_CTRL_DELAY[4:0] | Res. | DFI_T_RDDATA_EN[6:0] | Res. | Res. | DFI_TPHY_WRDATA[5:0] | Res. | Res. | DFI_TPHY_WRLAT[5:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | ||||||
Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x194 | DDRCTRL_DFITMG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_WRDATA_DELAY[4:0] | Res. | Res. | Res. | DFI_T_DRAM_CLK_DISABLE[4:0] | Res. | Res. | DFI_T_DRAM_CLK_ENABLE[4:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||||||
| 0x198 | DDRCTRL_DFILPCFG0 | Res. | Res. | Res. | DFI_TLP_RESP[4:0] | DFI_LP_WAKEUP_DPD[3:0] | Res. | Res. | Res. | DFI_LP_EN_DPD | DFI_LP_WAKEUP_SR[3:0] | Res. | Res. | Res. | DFI_LP_EN_SR | DFI_LP_WAKEUP_PD[3:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x19C | Res. | |||||||||||||||||||||||||||||||||||
| 0x1A0 | DDRCTRL_DFIUPD0 | DIS_AUTO_CTRLUPD | DIS_AUTO_CTRLUPD_SRX | CTRLUPD_PRE_SRX | Res. | Res. | Res. | DFI_T_CTRLUP_MAX[9:0] | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUP_MIN[9:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | ||||||||||||
| 0x1A4 | DDRCTRL_DFIUPD1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MIN_X1024[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MAX_X1024[7:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||||||||||||||

Table 19. DDDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x1A8 | DDRCTRL_DFIUPD2 | DFI_PHYUPD_EN | Res | ||||||||||||||||||||||||||||||||||
| Reset value | 1 | ||||||||||||||||||||||||||||||||||||
| 0x1AC | Res. | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ||||
| 0x1B0 | DDRCTRL_DFIMISC | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | DFI_FREQUENCY[4:0] | Res | Res. | DFI_INIT_START | CTL_IDLE_EN | Res. | DFI_INIT_COMPLETE_EN | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||||
| 0x1B4 - 0x1B8 | Res. | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ||||
| 0x1BC | DDRCTRL_DFISTAT | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | DFI_LP_ACK | DFI_INIT_COMPLETE | Res | ||||
| Reset value | 0 | 0 | Res | ||||||||||||||||||||||||||||||||||
| 0x1C0 | Res. | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ||||
| 0x1C4 | DDRCTRL_DFIPHYMSTR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | DFI_PHYMSTR_EN | Res | ||||
| Reset value | 1 | Res | |||||||||||||||||||||||||||||||||||
| 0x1C8 - 0x200 | Res. | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ||||
| 0x204 | DDRCTRL_ADDRMAP1 | Res. | ADDRMAP_BANK_B2[5:0] | Res. | Res. | ADDRMAP_BANK_B1[5:0] | ADDRMAP_BANK_B0[5:0] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
Table 19. DDCRTL register map and reset values (continued)
| column_1 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 | column_17 | column_18 | column_19 | RM0436 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Offset | Register Name | 31 | 3 0 | 2 9 | 2 8 2 7 2 6 2 5 2 4 | 2 3 | 2 2 | 21 | 2 0 19 18 | 17 16 | 15 | 14 | 13 | 12 1 1 10 9 | 8 | 7 | 6 | 5 | 4 3 2 1 0 |
| DDRCTRL_ADDRMAP2 | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | |||
| OL_ C B 5[3:0] A D D R M A P _ | |||||||||||||||||||
| C OL_ B 4[3:0] A D D R M A P | _ | ||||||||||||||||||
| C OL_ B 3[3:0] A D D R M A P | _ | ||||||||||||||||||
| C OL_ B 2[3:0] A D D R M A P _ | |||||||||||||||||||
| Reset value | 0000 | 0000 | 0000 | 0000 | |||||||||||||||
| DDRCTRL_ADDRMAP3 | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | ||||||
| C OL_ 9[4:0] B A D D R M A P _ | |||||||||||||||||||
| C OL_ B 8[4:0] A D D R M A P | _ | ||||||||||||||||||
| C OL_ B 7[4:0] A D D R M A P _ | |||||||||||||||||||
| C OL_ B 6[3:0] A D D R M A P _ | |||||||||||||||||||
| Reset value | 00000 | 00000 | 00000 | 0000 | |||||||||||||||
| DDRCTRL_ADDRMAP4 | R e s. | R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. | R e s. | R e s. R e s. R e s. | R e s. R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | ||||
| C OL_ B1 1[4:0] A D D R M A P _ | |||||||||||||||||||
| C OL_ B10[4:0] A D D R M A P _ | |||||||||||||||||||
| Reset value | 00000 | 00000 | |||||||||||||||||
| DDRCTRL_ADDRMAP5 | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | |||
| OW_ R B 2_10[3:0] A D D R M A P | _ | ||||||||||||||||||
| OW_ R B1[3:0] A D D R M A P | _ | ||||||||||||||||||
| OW_ R B 0[3:0] A D D R M A P _ | |||||||||||||||||||
| OW_ R B1 1[3:0] A D D R M A P _ | |||||||||||||||||||
| Reset value | 0000 | 0000 | 0000 | 0000 | |||||||||||||||
| 6G B_12G B L P D D R3 _ | |||||||||||||||||||
| R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | R e s. | |||||
| OW_ R B15[3:0] A D D R M A P _ | |||||||||||||||||||
| OW_ R B14[3:0] A D D R M A P | _ | ||||||||||||||||||
| OW_ R B13[3:0] A D D R M A P | _ | ||||||||||||||||||
| OW_ R B12[3:0] A D D R M A P _ | |||||||||||||||||||
| 0x21C - | Reset value | 0 | 0000 | 0000 | 0000 | 0000 | |||||||||||||
| 0x220 | Res. | R e s. | R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. | R e s. | R e s. R e s. R e s. | R e s. R e s. | R e s. | R e s. | R e s. | R e s. R e s. R e s. | R e s. R e s. | R e s. | R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. |

Table 19. DDCRTL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x224 | DDRCTRL_ADDRMAP9 | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B5[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B4[3:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B3[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B2[3:0] | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x228 | DDRCTRL_ADDRMAP10 | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B9[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B8[3:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B7[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B6[3:0] | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x22C | DDRCTRL_ADDRMAP11 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B10[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x230 - 0x23C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| 0x240 | DDRCTRL_ODTCFG | Res. | Res. | Res. | Res. | Res. | WR_ODT_HOLD[3:0] | Res. | Res. | Res. | WR_ODT_DELAY[4:0] | Res. | Res. | Res. | Res. | RD_ODT_HOLD[3:0] | Res. | RD_ODT_DELAY[4:0] | Res. | Res. | |||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x244 | DDRCTRL_ODTMAP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RANK0_RD_ODT | Res. | Res. | Res. | RANK0_WR_ODT | |
| Reset value | 1 | 1 | |||||||||||||||||||||||||||||||
| 0x248 - 0x24C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x250 | DDRCTRL_SCHED | Res. | RDWR_IDLE_GAP[6:0] | GO2CRITICAL_HYSTERESIS[7:0] | Res. | LPR_NUM_ENTRIES[3:0] | Res. | Res. | PAGECLOSE | |||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | ||||||||||||
| 0x254 | DDRCTRL_SCHED1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PAGECLOSE_TIMER[7:0] | Res. | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x258 | Res. | |||||||||||||||||||||||||||||||||
| 0x25C | DDRCTRL_PERFHPR1 | HPR_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HPR_MAX_STARVE[15:0] | Res. | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||||
| 0x260 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| 0x264 | DDRCTRL_PERFLPR1 | LPR_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPR_MAX_STARVE[15:0] | Res. | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
| 0x268 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |

Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x26C | DDRCTRL_PERFWR1 | W_XACT_RUN_LENGTH[7:0] | Res. | W_MAX_STARVE[15:0] | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||
| 0x270 - 0x2FC | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| 0x300 | DDRCTRL_DBG0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_COLLISION_PAGE_OPT | ||||
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x304 | DDRCTRL_DBG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_HIF | ||||
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x308 | DDRCTRL_DBGCAM | Res. | Res. | WR_DATA_PIPELINE_EMPTY | RD_DATA_PIPELINE_EMPTY | Res. | DBG_WR_Q_EMPTY | DBG_RD_Q_EMPTY | DBG_STALL | Res. | Res. | Res. | DBG_W_Q_DEPTH[4:0] | Res. | Res. | Res. | Res. | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x30C | DDRCTRL_DBGCMD | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLUPD | ZQ_CALIB_SHOR | ||||
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x310 | DDRCTRL_DBGSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x314 - 0x31C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 0x320 | DDRCTRL_SWCTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 1 | SW_DONE | |||||||||||||||||||||||||||||||
| 0x324 | DDRCTRL_SWSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_DONE_ACK |
| Reset value | 1 | 1 | |||||||||||||||||||||||||||||||
| 0x328 - 0x368 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 0x36C | DDRCTRL_POISONCFG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_CLR | Res. | Res. | Res. | RD_POISON_INTR_EN | Res. | Res. | Res. | RD_POISON_SLVERR_EN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_SLVERR_EN | Res. |
| Reset value | 0 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||
| 0x370 | DDRCTRL_POISONSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_1 | RD_POISON_INTR_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_1 | WR_POISON_INTR_0 |
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x374 - 0x3F8 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x3FC | DDRCTRL_PSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_BUSY_1 | WR_PORT_BUSY_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_PORT_BUSY_1 | RD_PORT_BUSY_0 |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x400 | DDRCTRL_PCCFG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BL_EXP_MODE | Res. | Res. | Res. | PAGEMATCH_LIMIT | Res. | Res. | Res. | GO2CRITICAL_EN |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x404 | DDRCTRL_PCFGR_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RDWR_ORDERED_EN | Res. | RD_PORT_PAGEMATCH_EN | RD_PORT_URGENT_EN | RD_PORT_AGING_EN | Res. | Res. | RD_PORT_PRIORITY[9:0] | |||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x408 | DDRCTRL_PCFGW_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_PAGEMATCH_EN | WR_PORT_URGENT_EN | WR_PORT_AGING_EN | Res. | Res. | WR_PORT_PRIORITY[9:0] | |||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x40C - 0x48C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 0x490 | DDRCTRL_PCTRL_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORT_EN |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
Table 19. DDCRTL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x494 | DDRCTRL_PCFGQOS0_0 | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION2[1:0] | Res. | Res. | RQOS_MAP_REGION1[1:0] | Res. | Res. | RQOS_MAP_REGION0[1:0] | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL1[3:0] | |||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x498 | DDRCTRL_PCFGQOS1_0 | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTR[10:0] | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTB[10:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x49C | DDRCTRL_PCFGWQOS0_0 | Res. | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_REGION2[1:0] | Res. | Res. | WQOS_MAP_REGION1[1:0] | Res. | Res. | WQOS_MAP_REGION0[1:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL1[3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x4A0 | DDRCTRL_PCFGWQOS1_0 | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT2[10:0] | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT1[10:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x4A4 - 0x4B0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |

Table 19. DDDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x4B4 | DDRCTRL_PCFGR_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RDWR_ORDERED_EN | Res. | RD_PORT_PAGEMATCH_EN | RD_PORT_URGENT_EN | RD_PORT_AGING_EN | Res. | Res. | RD_PORT_PRIORITY[9:0] | |||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x4B8 | DDRCTRL_PCFGW_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_PAGEMATCH_EN | WR_PORT_URGENT_EN | WR_PORT_AGING_EN | Res. | Res. | WR_PORT_PRIORITY[9:0] | |||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x4BC - 0x53C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| 0x540 | DDRCTRL_PCTRL_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORT_EN | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x544 | DDRCTRL_PCFGQOS0_1 | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION2[1:0] | Res. | Res. | RQOS_MAP_REGION1[1:0] | Res. | Res. | RQOS_MAP_REGION0[1:0] | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL1[3:0] | |||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x548 | DDRCTRL_PCFGQOS1_1 | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTR[10:0] | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTB[10:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||
Table 19. DDRCTRL register map and reset values (continued)
| Offset | Register Name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x54C | DDRCTRL_PCFGWQOS0_1 | Res. | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_REGION2[1:0] | Res. | Res. | WQOS_MAP_REGION1[1:0] | Res. | Res. | WQOS_MAP_REGION0[1:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL1[3:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x550 | DDRCTRL_PCFGWQOS1_1 | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT2[10:0] | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT1[10:0] | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||
Refer to Section 2.5 on page 159 for the register boundary addresses.
