Intel
®
81341 and 81342 I/O Processors
December 2007
Developer’s Manual
Order Number: 315037-002US
587
DDR SDRAM Memory Controller—Intel
®
81341 and 81342
Example 15. Address Register Programming Example 7
The user wants to program the DDR registers to support two banks and each DDR bank
is 2 GBytes, yielding in a total memory of 4 GBytes (2*2 GB). The user wants the DDR
memory space to start at A 0000 0000H. The user wants a 2-GByte secondary window
starting at 0 0000 0000H. Note that the secondary memory window overlaps the
primary memory window and starts at the bottom of the primary memory window in
this example. There are no 32-bit memory region. The memory space summary is:
The registers would be programmed as follows:
Bank Size = 2 GB, SBSR[31:27] = 10000
2
Number of Banks = 2, SBSR[2] = 0
2
S32SR[29:20] = 0H, S32SR = 00000000H
SDUBR = 0000 000AH, SDUBR[3:0] = 1010
2
SDBR = 0000 0000H, SDBR[31:28] = 0000
2
SSDBR = 0000 0000H
Secondary Bank Size = 2 GB, SBSR[21:16] = 100000
2