15. DDR performance monitor (DDRPERFM)
15.1 DDRPERFM introduction
The DDRPERFM is intended to monitor DDR controller performance by counting events from a set of signals and gathering results under the software control. The DDRPERFM can be used to feedback important statistics such as the DDR utilization, read/write bandwidth, bank activation, idle state duration for some off-line analysis of the DDR system performance and for optimal parameter settings to improve the DDR utilization, and for power optimization.
15.2 DDRPERFM main features
- • 32-bit time counter (TCNT) clocked at DFI_CLK/4 (that is ddrc_ker_clk/4)
- • Eight 32-bit event counters (EVCNT0 to EVCNT7) clocked at DFI_CLK.
- • For each of the 8 counters, selection among 64 signals:
- – Either selection of performance logging signals exported by DDRCTRL
- – Information generated decoding DFI commands between DDRCTRL and DDRPHYC
- – Counters that can be individually enabled
- • Programmable rank, bank group (only for DDR4), and bank address filtering module in front of each event counter
- – The filter only applies to commands monitored at the DFI interface.
- • Global start/stop triggered by software
- • Automatic stop when the time counter reaches a programmable value or when an event counter overflows
- • All counters are frozen and a dedicated (maskable) interruption line is asserted when a stop condition occurs.
- • APB interface: 1 Kbyte used for control register mapping
- – The performance monitor interface is shared with DDRCTRL and the mode register read registers. The performance monitor base address is 0x1000 (above DDRCTRL registers), then the address space is from 0x1000 to 0x13FF.
15.3 DDRPERFM block diagram
Figure 44 presents the overall architecture of the DDRPERFM. The DDRPERFM either sniffs signals on the DFI interface, or receives inputs from the DDRCTRL performance port. Based on the filtering scheme programmed in its registers, the DDRPERFM counts filtered event occurrences in one of its eight internal counters. An interrupt is fired when a stop condition occurs (the counter overflows or the stop is reached).
Figure 44. DDRPERFM top view

The diagram illustrates the DDRPERFM top view. It shows the DDRCTRL block on the left, which receives ddr_cer_ck and provides DFI address/command to the DDRPERFM block. The DDRPERFM block contains a DFI AC decoder with LPDDR4, DDR3, and DDR4 options. It also includes a Perfmon_clk block, three event counters (EVCNT<0>, EVCNT<1>, EVCNT<7>), a time counter (TCNT), and an APB CR block. The EVCNT counters are connected to the DFI address/command and the Perfmon_clk. The TCNT is connected to the EVCNT counters and the APB CR. The APB CR block is connected to the pclk and APB interfaces. The output of the APB CR is ddrperfm1_int. A legend indicates that 'F' represents Rank/bank group/bank filtering. The diagram is labeled MSv67484V2.
15.4 DDRPERFM functional description
A free running 32-bit time counter (TCNT) shares the DDRCTRL counter, and enables to compute the DDRSS statistics. The maximum value is programmable through the APB register. The default value is 0xFFFF FFFF. The TCNT is incremented every 4 DFI_CLK (= 8 DRAM_CLK cycles = burst length). When the TCNT overflows, all counters are frozen. The counter values can be read through the APB interface.
The DDRPERM implements eight independent 32-bit counters: EVCNT<7-0> sharing DDRCTRL clock. The counters input selection is configured through a dedicated control register (SEL_EVENT<I>) which enables to choose one of the 64 events that are available.
For each counter, a filtering can be applied based on bank or bank group (for DDR4 only). This filtering is managed through FILT_EVENT<i>.
The EVTCNT counters can be cleared by software through the APB interface, and their values can be read through the APB registers.
The DDRPERFM is inactive by default. It starts counting events when a start triggered by software is received. Counters are stopped when a stop is triggered by the software.
When the counter overflows, all counters are frozen and a dedicated maskable interruption line is asserted (ddrperfm_int). When an interrupt is detected, before clearing the interrupt, the software must clear the counters to avoid the interrupt to be raised again.
15.4.1 DDRPERFM performance monitor events
The commands sent by the controller can be monitored either at the DFI interface (signal name DFI_xxx), or at the performance logging interface (signal name OP_xxx).
A better granularity is provided for commands captured at DFI interface:
- • ability to discriminate between read/write commands with and without auto-precharge
- • ability to filter activate, precharge, read, write, and refresh commands per bank
The list of events which can be captured by the performance monitor is given in the tables below:
- • Table 62 lists the events generated from the DFI command address decoder.
- • Table 63 lists the events generated natively by the DDRCTRL (with event number).
Table 62. Signals coming from DFI command-address decoder
| - | N0 | Signal name | Description |
|---|---|---|---|
| DFI decoded DRAM commands | 0 | DFI_IS_ACT | Asserted when an ACT command is sent by the controller |
| 1 | DFI_IS_PREPB | Asserted when a PRE per bank command is sent by the controller | |
| 2 | DFI_IS_PREAB | Asserted when a PRE all banks command is sent by the controller | |
| 3 | DFI_IS_RD | Asserted when a RD command is sent by the controller (AP bit ignored) | |
| 4 | DFI_IS_RDA | Asserted when a RD with AP command is sent by the controller | |
| 5 | Reserved | Reserved | |
| 6 | DFI_IS_WR | Asserted when a WR command is sent by the controller (AP bit ignored) | |
| 7 | DFI_IS_WRA | Asserted when a WR with AP command is sent by the controller | |
| 8 | Reserved | Reserved | |
| 9 | DFI_IS_MWR | Asserted when a MWR command is sent by the controller (AP bit ignored, LPDDR4 only) | |
| 10 | DFI_IS_MWRA | Asserted when a MWR with AP command is sent by the controller (LPDDR4 only) | |
| 11 | Reserved | Reserved | |
| 12 | DFI_IS_MRW | Asserted when a MRW command is sent by the controller | |
| 13 | DFI_IS_MRR | Asserted when a MRR command is sent by the controller | |
| 14 | DFI_IS_REFPB | Asserted when a refresh per bank command is sent by the controller | |
| 15 | DFI_IS_REFAB | Asserted when a refresh all banks command is sent by the controller | |
| 16 | DFI_IS_MPC | Asserted when an MPC command is sent by the controller (LPDDR4 only) |
Table 63. Signals monitored at performance logging interface (provided by DDRCTRL)
| - | N0 | Signal name | Description |
|---|---|---|---|
| DDRC recorded DRAM commands | 32 | PERF_OP_IS_ACT | Asserted for every DRAM activate command logged by the controller |
| 33 | PERF_OP_IS_RD | Asserted for every DRAM read command logged by the controller | |
| 34 | PERF_OP_IS_WR | Asserted for every DRAM write command logged by the controller | |
| 35 | PERF_OP_IS_MWR | Asserted for every DRAM masked write command logged by the controller | |
| 36 | PERF_OP_IS_REF | Asserted for every DRAM refresh command logged by the controller | |
| 37 | PERF_OP_IS_CRIT_REF | Asserted for every critical DRAM refresh command logged by the controller | |
| 38 | PERF_OP_IS_SPEC_REF | Asserted for every speculative DRAM refresh command logged by the controller | |
| 39 | PERF_OP_IS_ZQCAL | Asserted for every ZQCS or ZQCL calibration command logged by the controller | |
| 40 | PERF_OP_IS_ENTER_POWDN | Asserted for every entry into DRAM power-down mode | |
| 41 | PERF_OP_IS_ENTER_SELFREF | Asserted for every entry into DRAM self-refresh mode | |
| 42 | PERF_OP_IS_PRE | Asserted for every precharge command logged by the controller | |
| 43 | PERF_OP_IS_PRE_FOR_RDWR | Asserted when the precharge command is associated to a read or write command | |
| 44 | PERF_OP_IS_PRE_FOR_OTHERS | Asserted when the precharge command is due to requests other than read or write | |
| 45 | PERF_OP_IS_RD_ACTIVATE | Asserts for every read activate that is issued | |
| DDRCTRL p.i. (performance indicators) | 48 | PERF_HPR_REQ_WITH_NOCREDIT | Asserted when there is a high priority read request (from XPI to port arbiter) which is not served due to no available credit |
| 49 | PERF_LPR_REQ_WITH_NOCREDIT | Asserted when there is a low priority read request (from XPI to port arbiter) which is not served due to no available credit | |
| 50 | PERF_HPR_XACT_WHEN_CRITICAL | Asserted for every high priority read transaction that is scheduled when the high priority queue is in critical state | |
| 51 | PERF_LPR_XACT_WHEN_CRITICAL | Asserted for every low priority read transaction that is scheduled when the low priority queue is in critical state | |
| 52 | PERF_WR_XACT_WHEN_CRITICAL | Asserted for every high priority write transaction that is scheduled when the write queue is in critical state | |
| 53 | PERF_RDWR_TRANSITIONS | Asserted for every read to write and write to read bus turnaround | |
| 54 | PERF_WAR_HAZARD | Asserted for every write after read collision that happens in the DDRC | |
| 55 | RAW_HAZARD | Asserted for every read after write collision that happens in the DDRC | |
| 56 | PERF_WAW_HAZARD | Asserted for every write after write collision that happens in the DDRC | |
| 57 | Reserved | Reserved | |
| 58 | PERF_RANK | Gives the rank number for every scheduled command through the DDRC. |
Table 63. Signals monitored at performance logging interface (provided by DDRCTRL) (continued)
| - | N0 | Signal name | Description |
|---|---|---|---|
| DDRCTRL.p.i | 59 | PERF_READ_BYPASS | Asserts for every read command that is sent through the bypass path |
| 60 | PERF_ACT_BYPASS | Asserts for every activate command that is sent through the bypass path | |
| 61 | PERF_WINDOW_LIMIT_REACHED_RD | Indicates that at least one RD CAM entry reaches visible window limit at this cycle. Performance feature to avoid extreme starvation. | |
| 62 | PERF_WINDOW_LIMIT_REACHED_WR | Indicates that at least one WR CAM entry reaches visible window limit at this cycle. Performance feature to avoid extreme starvation. | |
| 63 | NO_EVENT | Signal number to be selected for event counters that are unused in the DDRPERFM module |
15.4.2 DDRPERFM DFI command decoder
The DFI command decoder is implemented to extract specific events decoding the DFI commands sent by controller to PHY. The inputs are:
- • DDR3/4: dfi_address, dfi_cs for all protocols, dfi_ras_n dfi_cas_n, dfi_we_n, dfi_bank
- • DDR4 only: dfi_act_n, dfi_bg
The DFI command decoder has a selector (dram_type) which defines the DRAM type attached to the device. It is used to select the DFI decoder depending on the DRAM protocol used.
The following table lists the events generated by DFI command address decoder (concerned filters are highlighted in gray).
Table 64. Events generated by the DFI command address decoder
| Event name | DRAM type | Bank filter | BG filter | Comment |
|---|---|---|---|---|
| DFI_IS_MRW | LPDDR4 | No | No | Asserted when a mode register write (MRW) commands is sent by the controller: MRS in DDR3/4 |
| LPDDR3 | No | No | ||
| DDR4 | No | No | ||
| DDR3 | No | No | ||
| DFI_IS_MRR | LPDDR4 | No | No | Asserted when a mode register read (MRR) commands is sent by the controller: Does not exist in DDR3/4 |
| LPDDR3 | No | No | ||
| DFI_IS_MPC | LPDDR4 | No | No | Asserted when a multi-purpose command (MPC) is sent by the controller. Only for LPDDR4. |
| DFI_IS_REFPB | LPDDR4 | Yes | No | Asserted when a refresh per bank command is sent by the controller. For LPDDR3, bank to refresh is defined in DRAM round robin algorithm. |
| LPDDR3 | No | No | ||
| DFI_IS_REFAB | LPDDR4 | No | No | Asserted when a refresh all banks command is sent by the controller. For DDR3/4, the refresh addressing is generated by the internal refresh controller. |
| LPDDR3 | No | No | ||
| DDR4 | No | No | ||
| DDR3 | No | No |
Table 64. Events generated by the DFI command address decoder (continued)
| LPDDR4 | Yes | No | Asserted when an PRE per bank command is sent by the controller. |
|---|---|---|---|
| LPDDR4 | Yes | No | |
| LPDDR3 DFI_IS_PREPB | Yes | No | Asserted when an PRE per bank command is sent by the |
| DDR4 | Yes | Yes | controller. |
| DDR3 | Yes | No | |
| LPDDR4 | No | No | |
| LPDDR3 DFI_IS_PREAB | No | No | Asserted when an PRE all banks command is sent by the |
| DDR4 | No | No | controller. |
| DDR3 | No | No | |
| LPDDR4 | Yes | No | |
| LPDDR3 | Yes | No | |
| DFI_IS_ACT DFI_IS_ACT | Asserted when an ACTIVATE command is sent by the controller. | ||
| DDR4 | Yes | Yes | |
| DDR3 | Yes | No | |
| LPDDR4 | Yes | No | |
| LPDDR3 DFI_IS_WR | Yes | No | Asserted when a WR command is sent by the controller (AP bit |
| DDR4 | Yes | Yes | ignored). |
| DDR3 | Yes | No | |
| LPDDR4 | Yes | No | |
| LPDDR3 | Yes | No | |
| DFI_IS_WRA DFI_IS_WRA | Asserted when a WR with AP command is sent by the controller. | ||
| DDR4 | Yes | Yes | |
| DDR3 | Yes | No | |
| DFI_IS_MWR LPDDR4 | Yes | No | Asserted when a masked write command is sent by the controller |
| DFI_IS_MWRA LPDDR4 | Yes | No | Asserted when a masked write command with AP is sent by the |
| LPDDR4 | Yes | No | |
| LPDDR3 DFI_IS_RD | Yes | No | Asserted when a RD command is sent by the controller (AP bit is |
| DDR4 | Yes | Yes | ignored) |
| DDR3 | Yes | No | |
| LPDDR4 | Yes | No | |
| LPDDR3 | Yes | No | |
| DFI_IS_RDA DFI_IS_RDA | Asserted when a RD command with AP is sent by the controller | ||
| DDR4 | Yes | Yes | |
| DDR3 | Yes | No | |
| RM0506 Rev 2 699/ 4831 |
15.5 DDRPERFM registers
This section presents the registers for controlling the performance monitor.
15.5.1 DDRPERFM control register (DDRPERFM_CTRL)
Address offset: 0x0000
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. | STOP | START |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 STOP:
Writing 1 stops all counters. Writing 0 has no effect. Writing 1 when counters are stopped has no effect.
Bit 0 START:
Writing 1 starts all counters. All internal counters and status bits are cleared before events are monitored. Writing 0 has no effect. Writing 1 when counters are running has no effect.
15.5.2 DDRPERFM interrupt mask register (DDRPERFM_IMSK)
Address offset: 0x0004
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. | INTRM SK |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 INTRMSK:
0: No effect
1: DDRPERFM interruption signal masked.
15.5.3 DDRPERFM interrupt clear register (DDRPERFM_ICLR)
Address offset: 0x0008
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. | INTRSET | INTRCLR |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 INTRSET:
0: No effect
1: Set the interruption signal when asserted.
Bit 0 INTRCLR:
0: No effect
1: Clear the interruption signal when asserted.
Note: The counters must be cleared first (to remove the interruption condition) before the interruption is cleared.
15.5.4 DDRPERFM counter clear register (DDRPERFM_CLR)
Address offset: 0x000C
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. | TNTCLR | CNTCLR[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 TNTCLR:
0: No effect
1: Clear free running counter and associated status bits (timeout and overflow indicators).
Note: Setting this bit is ignored if BUSY = 1 in DDRPERFM_STATUS.
Bits 7:0 CNTCLR[7:0]:
0: No effect
1: Clear corresponding counters and associated status bits (timeout and overflow indicators).
Note: Setting this bit is ignored if BUSY = 1 in DDRPERFM_STATUS.
15.5.5 DDRPERFM configuration register 0 (DDRPERFM_CFG0)
Address offset: 0x0010
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | SEL_EVENT3[5:0] | Res. | Res. | SEL_EVENT2[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. | SEL_EVENT1[5:0] | Res. | Res. | SEL_EVENT0[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 SEL_EVENT3[5:0]: Selection of the performance logging signal to be monitored by the event counter 3
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:16 SEL_EVENT2[5:0]: Selection of the performance logging signal to be monitored by the event counter 2
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 SEL_EVENT1[5:0]: Selection of the performance logging signal to be monitored by the event counter 1
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 SEL_EVENT0[5:0]: Selection of the performance logging signal to be monitored by the event counter 0
15.5.6 DDRPERFM configuration register 1 (DDRPERFM_CFG1)
Address offset: 0x0014
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | SEL_EVENT7[5:0] | Res. | Res. | SEL_EVENT6[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. | SEL_EVENT5[5:0] | Res. | Res. | SEL_EVENT4[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 SEL_EVENT7[5:0]: Selection of the performance logging signal to be monitored by the event counter 7
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:16 SEL_EVENT6[5:0]: Selection of the performance logging signal to be monitored by the event counter 6
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 SEL_EVENT5[5:0]: Selection of the performance logging signal to be monitored by the event counter 5
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 SEL_EVENT4[5:0]: Selection of the performance logging signal to be monitored by the event counter 4
15.5.7 DDRPERFM configuration register 2 (DDRPERFM_CFG2)
Address offset: 0x0018
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FILT_POL3[2:0] | FILT_RBG3[4:0] | FILT_POL2[2:0] | FILT_RBG2[4: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 |
| FILT_POL1[2:0] | FILT_RBG1[4:0] | FILT_POL0[2:0] | FILT_RBG0[4:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:29 FILT_POL3[2:0]: Selection of the performance logging signal to be monitored by the event counter 3
Filtering policy for the event counter 3 (refer to Table 65).
Bits 28:24 FILT_RBG3[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 3 based on FILT_POL3 value
Bit 4: Define the rank value when rank filtering is activated. Value 0 means that only commands applied on Rank0 are counted. Value 1 means that only commands applied on rank1 are counted.
Bits 3:0: Define drank group/bank address/ used for filtering
When filtering is activated:
- For DDR4, the FILT_RBGx[3:2] bits correspond to bank group, and FILT_RBGx[1:0] correspond to bank address.
- For LPDDR3/4, the DDR3 bits FILT_RBGx[2:0] bits correspond to bank address, and FILT_RBG3 is unused.
Bits 23:21 FILT_POL2[2:0]: Filtering policy for the event counter 2. (refer to Table 65)
Bits 20:16 FILT_RBG2[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 2 based on FILT_POL2 value
Bits 15:13 FILT_POL1[2:0]: Filtering policy for the event counter 1 (refer to Table 65)
Bits 12:8 FILT_RBG1[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 1 based on FILT_POL1 value
Bits 7:5 FILT_POL0[2:0]: Filtering policy for the event counter 0 (refer to Table 65)
Bits 4:0 FILT_RBG0[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 0 based on FILT_POL0 value
Table 65. Filtering policy
| FILT_POLx | Rank filtering | Bank group filtering(1) | Bank filtering | comment |
|---|---|---|---|---|
| 000 | No | No | No | No filtering is applied. The counter counts all events whatever rank, bank group and bank address. |
| 001 | No | No | Yes | Filtering based on FILT_RBGx value |
| 010 | No | Yes | No | Filtering based on FILT_RBGx value |
| 011 | No | Yes | Yes | Filtering based on FILT_RBGx value |
| 100 | Yes | No | No | Filtering based on FILT_RBGx value |
| 101 | Yes | No | Yes | Filtering based on FILT_RBGx value |
| 110 | Yes | Yes | No | Filtering based on FILT_RBGx value |
| 111 | Yes | Yes | Yes | Filtering based on FILT_RBGx value |
1. Only relevant for DDR4.
15.5.8 DDRPERFM configuration register 3 (DDRPERFM_CFG3)
Address offset: 0x001C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FILT_POL7[2:0] | FILT_RBG7[4:0] | FILT_POL6[2:0] | FILT_RBG6[4: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 |
| FILT_POL5[2:0] | FILT_RBG5[4:0] | FILT_POL4[2:0] | FILT_RBG4[4:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
- Bits 31:29 FILT_POL7[2:0]: Filtering policy for the event counter 7 (refer to Table 65)
- Bits 28:24 FILT_RBG7[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 7 based on FILT_POL7 value
- Bits 23:21 FILT_POL6[2:0]: Filtering policy for the event counter 6 (refer to Table 65)
- Bits 20:16 FILT_RBG6[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 6 based on FILT_POL6 value
- Bits 15:13 FILT_POL5[2:0]: Filtering policy for the event counter 5 (refer to Table 65)
- Bits 12:8 FILT_RBG5[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 5 based on FILT_POL5 value
- Bits 7:5 FILT_POL4[2:0]: Filtering policy for the event counter 4 (refer to Table 65)
- Bits 4:0 FILT_RBG4[4:0]: Configuration of the rank/bank/bank group filtering for the event counter 4 based on FILT_POL4 value
15.5.9 DDRPERFM configuration register 4 (DDRPERFM_CFG4)
Address offset: 0x0020
Reset value: 0xFFFF FFFF
Timeout value for the time counter.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TIME_OUT[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 |
| TIME_OUT[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 TIME_OUT[31:0]: Timeout value for the time counter
When this value is reached, the DDRPERFM automatically stops: All counters are frozen.
The status bit TCNT_TIMEOUT is asserted. The (maskable) interrupt signal is asserted.
15.5.10 DDRPERFM event counter enable register (DDRPERFM_CFG5)
Address offset: 0x0024
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. | EVCNT_EN[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 EVCNT_EN[7:0]: Event counter enable
When bit <i> is set, the corresponding counter is enabled.
Note: Enable must be written when counters are not running.
15.5.11 DDRPERFM DRAM information register (DDRPERFM_DRAMINF)
Address offset: 0x0028
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. | DRAM_TYPE[1:0] | |
| rw | rw | ||||||||||||||
Bits 31:2 Reserved, must be kept at reset value.
Bits 1:0 DRAM_TYPE[1:0]: DRAM information used for DFI decoding
- 00: LPDDR4
- 01: LPDDR3
- 10: DDR4
- 11: DDR3
15.5.12 DDRPERFM event counter 0 register (DDRPERFM_EVCNT0)
Address offset: 0x0040
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT0[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT0[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EVCNT0[31:0]:Counter value for event 0
15.5.13 DDRPERFM event counter 1 register (DDRPERFM_EVCNT1)
Address offset: 0x0044
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT1[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT1[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EVCNT1[31:0]:Counter value for event 1
15.5.14 DDRPERFM event counter 2 register (DDRPERFM_EVCNT2)
Address offset: 0x0048
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT2[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT2[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EVCNT2[31:0]: Counter value for event 2
15.5.15 DDRPERFM event counter 3 register (DDRPERFM_EVCNT3)
Address offset: 0x004C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT3[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT3[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EVCNT3[31:0]: Counter value for event 3
15.5.16 DDRPERFM event counter 4 register (DDRPERFM_EVCNT4)
Address offset: 0x0050
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT4[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT4[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EVCNT4[31:0]: Counter value for event 4
15.5.17 DDRPERFM event counter 5 register (DDRPERFM_EVCNT5)
Address offset: 0x0054
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT5[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT5[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EVCNT5[31:0]: Counter value for event 5
15.5.18 DDRPERFM event counter 6 register (DDRPERFM_EVCNT6)
Address offset: 0x0058
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT6[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT6[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
15.5.19 DDRPERFM event counter 7 register (DDRPERFM_EVCNT7)
Address offset: 0x005C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EVCNT7[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| EVCNT7[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
15.5.20 DDRPERFM time counter register (DDRPERFM_TCNT)
Address offset: 0x0060
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TCNT[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| TCNT[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Must only be read when the PERFM is stopped.
15.5.21 DDRPERFM status register (DDRPERFM_STATUS)
Address offset: 0x0080
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BUSY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCNT_OVFL |
| 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. | EVCNT7_OVFL | EVCNT6_OVFL | EVCNT5_OVFL | EVCNT4_OVFL | EVCNT3_OVFL | EVCNT2_OVFL | EVCNT1_OVFL | EVCNT0_OVFL |
| r | r | r | r | r | r | r | r |
Bit 31 BUSY: Real-time busy indicator
This bit is asserted as long as counters are running, and deasserted when a stop condition occurs (software controlled stop command or counter overflow).
Bits 30:17 Reserved, must be kept at reset value.
Bit 16 TCNT_OVFL:
When read to 1, the DDRPERFM is stopped due to time counter reaching the timeout value.
Bits 15:8 Reserved, must be kept at reset value.
Bit 7 EVCNT7_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 7 overflow.
Bit 6 EVCNT6_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 6 overflow.
Bit 5 EVCNT5_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 5 overflow.
Bit 4 EVCNT4_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 4 overflow.
Bit 3 EVCNT3_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 3 overflow.
Bit 2 EVCNT2_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 2 overflow.
Bit 1 EVCNT1_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 1 overflow.
Bit 0 EVCNT0_OVFL:
When read to 1, the DDRPERFM is stopped due to event counter 0 overflow.
15.5.22 DDRPERFM version register (DDRPERFM_VERR)
Address offset: 0x3F4
Reset value: 0x0000 0020
| 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. | MAJREV[3:0] | MINREV[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 MAJREV[3:0]: DDRPERFM major revision
Bits 3:0 MINREV[3:0]: DDRPERFM minor revision
15.5.23 DDRPERFM identification register (DDRPERFM_ID)
Address offset: 0x3F8
Reset value: 0x0014 0061
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ID[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| ID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 ID[31:0]: DDRPERFM unique identification
15.5.24 DDRPERFM magic ID register (DDRPERFM_SID)
Address offset: 0x3FC
Reset value: 0xA3C5 DD01
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SID[31:16] | |||||||||||||||
| r | r | r | r | r | r | 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 |
| SID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 SID[31:0]: Magic ID for automatic DDRPERFM discovery
15.5.25 DDRPERFM register map
Table 66. DDRPERFM 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 | DDRPERFM_CTRL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STOP | START |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x004 | DDRPERFM_IMSK | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | INTRMSK | 0 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x008 | DDRPERFM_ICLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | INTRCLR | 0 | 0 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x00C | DDRPERFM_CLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | |||||||||||||||||||||||||||||||||
| 0x010 | DDRPERFM_CFG0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | |||||||||||||||||||||||||||||||||
| 0x014 | DDRPERFM_CFG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | |||||||||||||||||||||||||||||||||
| 0x018 | DDRPERFM_CFG2 | FILT_POL3[2:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4:0] | FILT_RB3[4: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 | |
| 0x01C | DDRPERFM_CFG3 | FILT_POL7[2:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4:0] | FILT_RB7[4: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 | |
| 0x020 | DDRPERFM_CFG4 | TIME_OUT[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 0x024 | DDRPERFM_CFG5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | |||||||||||||||||||||||||||||||||
| 0x028 | DDRPERFM_DRAMINF | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | ||||||||||||||||||||||||||||||||
| 0x02C-0x03C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x040 + 0x4 * x (x=0 to 7) | DDRPERFM_EVCNTx | EVCNTx[31: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 | |
| 0x060 | DDRPERFM_TCNT | TCNT[31: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 | |
| 0x064-0x07C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x080 | DDRPERFM_STATUS | BUSY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | ||||||||||||||||||||||||||||||||
Table 66. DDRPERFM 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x084-0x3F0 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x3F4 | DDRPERFM_VERR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | MAJREV[3:0] | MINREV[3:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x3F8 | DDRPERFM_ID | ID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
| 0x3FC | DDRPERFM_SID | SID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Refer to Section 2.4 for the register boundary addresses.
