CPC700 User’s Manual—Preliminary
4-5
4.5.1 Initialization Sequence
The SDRAM must be initialized prior to being accessed. This is accomplished through a combination of
System and SDRAM Controller actions as follows:
System:
1.
After Reset is deactivated, pause the amount of time indicated in the SDRAM specification.
- Example: IBM 16MB SDRAM requires 100us pause and 64MB SDRAM requires 200us.
2.
Configure SDRAM related configuration registers (may occur during pause period).
3.
Set DC_EN = 1 in the MCOPT1 register to enable the SDRAM controller
Step 3 automatically causes the SDRAM Controller to:
1.
Issue Precharge command to all banks.
2.
Wait minimum defined by SD_PTA bits in the SDTR1 register.
3.
Perform eight CBR refresh cycles (each separated by SD_RFTA clock cycles).
4.
Issue Mode Register Write Command.
5.
Perform eight CBR refresh cycles (each separated by SD_RFTA clock cycles).
6.
Wait SD_RFTA clock cycles.
7.
Be available for access.
4.5.2 Page Mode Accesses
The SDRAM page size for all supported addressing modes is 2K for 32-bit (40-bit ECC) memories (1K for
mode-4), and 4K for 64-bit (72-bit ECC) memories (2K for mode-4). Pipelined accesses to system memory
from the local processor or PCI which address the same page within a given memory bank are treated as
page hits provided that the addressed bank is active when the pipelined access request is forwarded to the
SDRAM controller.
Accesses which Page Miss/Bank Miss take advantage of the precharge state of the newly selected bank
by driving the ROW address and activating the new bank. The previously accessed bank is precharged.
SDRAM memory subsystem implementations contain banks and sub-banks. A bank corresponds to a
SDRAM chip select while the sub-banks correspond to SDRAM bank addresses. Within the context of the
above discussion, Bank Miss may be either a bank or sub-bank miss.
Note: Page size is independent of the actual vendor SDRAM column address geometry. This can be seen
by examining the Memory Mapping tables in the following sections. Notice that there are only 9 contiguous
column address bits for modes 1-3, and 8 for mode 4. Table 23. summarizes the factors that control the
actual page size:
Table 23. Determining Maximum Page Size
mode 1-3
mode 4
32-bit
(40-bit ECC)
contiguous column address bits = 9
2
9
=512 unique column addresses
data width 32-bit = 4 byte
page size = 512 x 4byte = 2KByte
contiguous column address bits = 8
2
8
=256 unique column addresses
data width 32-bit = 4 byte
page size = 256 x 4byte = 1KByte
Содержание CPC700
Страница 1: ...CPC700 Memory Controller and PCI Bridge User s Manual Version 1 1 Issue Date 3 22 00 Preliminary...
Страница 10: ...Table of Contents x Table of Contents...
Страница 16: ...Tables xvi List of Tables...
Страница 28: ...1 12 CPC700 User s Manual Preliminary...
Страница 72: ...3 36 Processor Interface...
Страница 132: ...4 60 Memory Controller...
Страница 184: ...5 52 PCI Interface...
Страница 194: ...6 10 Clock Power Management and Reset...
Страница 224: ...8 18 IIC...
Страница 244: ...10 10 Interrupt Controller...
Страница 246: ...I 11 2 JTAG...
Страница 250: ...12 4 Processor Local Bus PLB...
Страница 262: ...14 10 Register Summary...
Страница 267: ...CPC700 User s Manual Preliminary...