
System Memory Controller (SMC)
MVME5100 Single Board Computer Programmer’s Reference (6806800H17B
)
236
3.3.3.4
SDRAM Base Address Register (Blocks A/B/C/D)
Writes to this register must be enveloped by a period of time in which no accesses to SDRAM
occur. The requirements of the envelope are that all SDRAM accesses must have completed
before the write starts and none should begin until after the write is done. A simple way to do
this is to perform at least two read accesses to this, or another register, before and after the
write.
Additionally, sometime during the envelope, before or after the write, all of the SDRAMs’ open
pages must be closed and the Hawk’s open page tracker reset. The way to do this is to allow
enough time for at least one SDRAM refresh to occur by waiting for the 32-Bit Counter,
described further on in this chapter, to increment at least 100 times. The wait period must
happen during the envelope.
RAM A/B/C/D BASE
These control bits define the base address for their block’s SDRAM. RAM A/B/C/D BASE bits
0-7/8-15/16-23/24-31 correspond to PPC60x address bits 0 - 7. For larger SDRAM sizes, the
lower significant bits of A/B/C/D BASE are ignored. This means that the block’s base address
will always appear at an even multiple of its size. Remember that bit 0 is MSB.
Note that RAM_E/F/G/H_BASE are located at $FEF800C8 (refer to
. They operate the same for blocks E-H as these bits do for blocks
A-D.
Also note that the combination of RAM_X_BASE and ram_x_siz should never be programmed
such that SDRAM responds at the same address as the CSR, ROM/Flash, External Register Set,
or any other slave on the PowerPC bus.
Table 3-16 SDRAM Base Address Register (Blocks A/B/C/D)
Address
$FEF80018
Bit
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Name
RAM A BASE
RAM B BASE
RAM C BASE
RAM D BASE
Operation READ/WRITE
READ/WRITE
READ/WRITE
READ/WRITE
Reset
0 PL
0 PL
0 PL
0 PL
Summary of Contents for MVME5100
Page 1: ...MVME5100 Single Board Computer Programmer s Reference P N 6806800H17B July 2014...
Page 8: ...MVME5100 Single Board Computer Programmer s Reference 6806800H17B Contents 8 Contents Contents...
Page 16: ...MVME5100 Single Board Computer Programmer s Reference 6806800H17B 16 List of Figures...
Page 292: ...Hawk Programming Details MVME5100 Single Board Computer Programmer s Reference 6806800H17B 292...
Page 312: ...VMEbus Mapping Example MVME5100 Single Board Computer Programmer s Reference 6806800H17B 312...
Page 316: ...Related Documentation MVME5100 Single Board Computer Programmer s Reference 6806800H17B 316...
Page 317: ......