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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VMEbus Mapping Example<br />

0000 on the PCI Local bus. Thus, to translate an inbound address of 1000<br />

0000 (the configured VMEbus Base address of this board to 8000 0000,<br />

which is presented to DRAM as 0000 0000 and translation value of 7000<br />

0000 is selected: 1000 0000 + 7000 0000 => 8000 0000 on the PCI Local<br />

Bus that becomes 0000 0000 on the PowerPC bus.<br />

5100 PCI Slave Translate<br />

In the CHRP memory map, PCI Memory Space is based at 8000 0000.<br />

Once again, the first 1MB is reserved for other PCI devices requiring<br />

memory space so the Universe is configured to claim addresses from 8100<br />

0000 to A000 0000 that appear on the PCI Local Bus. Because this is a<br />

CHRP memory map, the address presented on the PCI Local Bus is not<br />

translated, so a PPC generated address of 8100 0000 appears on the PCI<br />

Local Bus as 8100 0000. Again, the same translation calculation is<br />

required to adjust this address to be presented as 0000 0000 on the<br />

VMEbus. In this case, the value is 7F00 0000: 8100 0000 + 7F00 0000 =><br />

1 0000 0000.<br />

5100 VME Slave Translation<br />

In the CHRP memory map, DRAM is located at 0000 0000 on the PCI<br />

Local Bus. As configured, the Universe accepts VMEbus addresses<br />

between 1400 0000 and 17FF FFFF. To translate a VMEbus address of<br />

1400 0000 to 0000 0000 on the PCI Local Bus a translation offset of EC00<br />

0000 is chosen: 1400 0000 +EC00 0000 => 1 0000 0000. Once again, the<br />

overflow results in the desired value.<br />

http://www.mcg.mot.com/literature C-3<br />

C

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

Saved successfully!

Ooh no, something went wrong!