English
Language : 

DS567 Datasheet, PDF (19/24 Pages) Xilinx, Inc – This data sheet describes the DDR2 Memory Controller
DDR2 Memory Controller for PowerPC 440 Processors
Bank Management
The PPC440MC DDR2 Memory Controller can keep four banks open. The banks are opened as
commands are processed by the PPC440MC DDR2 Memory Controller. When four banks are already
opened and a command occurs for a different bank, the least recently used bank is closed and the new
bank is opened. All the banks are closed during auto refresh. After the auto refresh, the PPC440MC
DDR2 Memory Controller opens the bank last accessed before the auto refresh command. The conflict
logic in the MCI always compares the current address to the previous address to determine the bank
and row conflicts. There are no signals from the PPC440MC DDR2 Memory Controller to the MCI,
indicating that all the banks are closed during the auto refresh. The MCI does not assert the conflict bit
for the first command that it presents after auto refresh, if the banks and row address of that command
is the same as the command that was last presented before the auto refresh. To avoid missing the
conflict, the PPC440MC DDR2 Memory Controller, after the auto refresh command, opens the last
accessed bank and row. The flow diagram in Figure 11 shows the bank management flow.
X-Ref Target - Figure 11
Command with Conflict
Y
Conflict Fake?
Update LRU Table
N
N
Y
Bank Hit and a Row Miss?
N
Four Banks Open?
Close Current Bank
and Row
Y
N
Close LRU Bank
Y
Activate Bank and Row
Figure 11: Bank Management Flow Diagram
DS567_12_031308
The PPC440MC DDR2 Memory Controller has four internal bank registers. The width of the internal
bank registers depends on the row and bank address widths. The internal bank registers hold bank
information, row information, and a status bit. The status bit holds the open and close status of the bank
and row in the internal bank register. If the status bit is set, the bank and row in the internal register are
opened; otherwise the contents of the internal register does not hold any significance. The status bit is
cleared during the assertion of reset and auto refresh because the banks and row are closed during that
time. The internal bank register contents are updated as bank and rows are opened.
DS567 (v1.1.1) March 31, 2008
www.xilinx.com
19