17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

System Memory Controller (SMC)<br />

Refresh/Scrub<br />

CSR Accesses<br />

The SMC performs refresh by doing a burst of 4 CAS-Before-RAS (CBR)<br />

refresh cycles to each block of SDRAM once every 60 microseconds. It<br />

performs scrubs by replacing every 128th refresh burst with a read cycle to<br />

8 bytes in each block of SDRAM. If during the read cycle, the SMC detects<br />

a single-bit error, it performs a write cycle back to SDRAM using<br />

corrected data providing the SWEN control bit is set. It does not perform<br />

the write if the SWEN bit is cleared. If the SMC detects a double-bit error,<br />

it does not perform a write.<br />

If so enabled, single- and double-bit scrub errors are logged and the<br />

PPC60x bus master is notified via interrupt.<br />

The SMC has a set of control and status registers (CSR) that allow software<br />

to control certain functions and to monitor some status.<br />

External Register Set<br />

The SMC has an external register chip select pin which enables it to talk to<br />

an external set of registers. This interface is like the ROM/Flash interface<br />

but with less flexibility. It is intended for the system designer to be able to<br />

implement general-purpose status/control signals with this external set.<br />

Refer to the section on External Register Set, further on in this chapter, for<br />

a description of this register set.<br />

The SMC has a mode in which two of its pins become control register<br />

outputs. When the SMC is to operate in this mode, the External Register<br />

Set cannot be implemented. The two control bits appear in the range where<br />

the External Register Set would have been had it been implemented.<br />

3-34 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!