Zynq-7000 AP SoC and 7 Series FPGAs MIS v4.1
165
UG586 November 30, 2016
Chapter 1:
DDR3 and DDR2 SDRAM Memory Interface Solution
show that the address map is controlled by the string
parameter MEM_ADDR_ORDER. This parameter can take the following values:
•
BANK_ROW_COLUMN
– Address map is as shown in
.
•
ROW_BANK_COLUMN
– Address map is as shown in
.
•
TG_TEST
– Address map is used for testing purpose only. It enables the address remap
to test address access to different portions of the DRAM. It remaps the address as
explained in the following examples. The remap is done within the UI portion of the
controller.
Note:
The row width, column width, and bank width value settings are assumed for the following
examples:
°
Row Width
– 15
°
Bank Width
– 3
°
Column Width
– 10
Example (1)
– When the selected option in the MIG GUI is BANK_ROW_COLUMN and the
address to the controller is mapped accordingly.
X-Ref Target - Figure 1-73
Figure 1-73:
Memory Address Mapping for Row-Bank-Column Mode in UI Module
5SER!DDRESS
!
N
!
!
!
!
!
!
-EMORY
2ANK
2OW
"ANK
#OLUMN
5'?C?A?
Original Mapping of the Address Bits
BANK
Address
Bits
ROW Address Bits
COLUMN Address Bits
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
B2 B1 B0 R14 R13 R12 R11 R10 R9
R8
R7
R6
R5
R4 R3 R2 R1 R0 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0
Remapped Address with TG_TEST