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.

2<br />

Hawk PCI Host Bridge & Multi-Processor Interrupt Controller<br />

PHB Registers<br />

Address modification happens to the originating address regardless of<br />

whether the transaction originates from the PCI bus or the PPC bus. The<br />

three low order address bits are exclusive-ORed with a three-bit value that<br />

depends on the length of the operand, as shown in Table 2-13.<br />

Table 2-13. Address Modification for Little Endian Transfers<br />

Data<br />

Length<br />

(bytes)<br />

Address<br />

Modification<br />

1 XOR with 111<br />

2 XOR with 110<br />

4 XOR with 100<br />

8 no change<br />

Note The only legal data lengths supported in Little-Endian mode<br />

are 1, 2, 4, or 8-byte aligned transfers.<br />

Since this method has some difficulties dealing with unaligned PCIoriginated<br />

transfers, the PPC master of the PHB will break up all unaligned<br />

PCI transfers into multiple aligned transfers into multiple aligned transfers<br />

on the PPC bus.<br />

The PHB registers are not sensitive to changes in Big-Endian and Little-<br />

Endian mode. With respect to the PPC bus (but not always the address<br />

internal to the processor), the PPC registers are always represented in Big-<br />

Endian mode. This means that the processor’s internal view of the PPC<br />

registers appears different depending on which mode the processor<br />

operates.<br />

With respect to the PCI bus, the configuration registers are always<br />

represented in Little-Endian mode.<br />

2-40 <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!