www.national.com
112
Revision 1.2
Integrated Functions (
Continued
)
G
4.3.4
The Memory Controller maps 100h locations starting at
GX_BASE+8400h. Refer to Section 4.1.2
“
Control Regis-
ters
”
on page 99 for instructions on accessing these regis-
ters.
Memory Controller Register Description
Table 4-14 summarizes the 32-bit registers contained in
the memory controller. Table 4-15 gives detailed regis-
ter/bit formats.
Table 4-14. Memory Controller Register Summary
GX_BASE+
Memory Offset
Type
Name/Function
Default Value
8400h-8403h
R/W
MC_MEM_CNTRL1
Memory Controller Control Register 1: Memory controller configuration informa-
tion (e.g., refresh interval, SDCLK ratio, etc.). BIOS must program this register
based on the processor frequency and desired SDCLK divide ratio.
MC_MEM_CNTRL2
Memory Controller Control Register 2: Memory controller configuration informa-
tion to control SDCLK. BIOS must program this register based on the processor
frequency and the SDCLK divide ratio.
MC_BANK_CFG
Memory Controller Bank Configuration: Contains the configuration information for
the each of the four SDRAM banks in the memory array. BIOS must program this
register during boot by running an autosizing routine on the memory.
MC_SYNC_TIM1
Memory Controller Synchronous Timing Register 1: SDRAM memory timing
information - This register controls the memory timing of all four banks of DRAM.
BIOS must program this register based on the processor frequency and the
SDCLK divide ratio.
MC_GBASE_ADD
Memory Controller Graphics Base Address Register: This register sets the
graphics memory base address, which is programmable on 512 KB boundaries.
The display controller and the graphics pipeline generate a 20-bit DWORD offset
that is added to the graphics memory base address to form the physical memory
address. Typically, the graphics memory region is located at the top of physical
memory.
MC_DR_ADD
Memory Controller Dirty RAM Address Register: This register is used to set the
Dirty RAM address index for processor diagnostic access. This register should be
initialized before accessing the MC_DR_ACC register
MC_DR_ACC
Memory Controller Dirty RAM Access Register: This register is used to access
the Dirty RAM. A read/write to this register will access the Dirty RAM at the
address specified in the MC_DR_ADD register.
248C0040h
8404h-8407h
R/W
00000801h
8408h-840Bh
R/W
41104110h
840Ch-840Fh
R/W
2A733225h
8414h-8417h
R/W
00000000h
8418h-841Bh
R/W
00000000h
841Ch-841Fh
R/W
0000000xh