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.

Processor/Memory Domain<br />

MPIC’s Involvement<br />

PCI Domain<br />

Endian Issues<br />

The MPC750 processor can operate in both Big-Endian and Little-Endian<br />

modes. However, it always treats the external processor/memory bus as<br />

Big-Endian by performing address rearrangement and reordering when<br />

running in Little-Endian mode.<br />

The MPIC registers inside the Hawk, the registers inside the SMC, the<br />

SDRAM, the ROM/FLASH, and the system registers always appear as<br />

Big-Endian.<br />

Since PCI is Little-Endian, the MPIC performs byte swapping in both<br />

directions (from PCI to memory and from the processor to PCI). This is in<br />

order to maintain address invariance when it is programmed to operate in<br />

Big-Endian mode with the processor and the memory sub-system.<br />

In Little-Endian mode, it reverse-rearranges the address for PCI-bound<br />

accesses and rearranges the address for memory-bound accesses<br />

(from PCI). In this case, no byte swapping is done.<br />

The PCI bus is inherently Little-Endian and all devices connected directly<br />

to PCI will operate in Little-Endian mode, regardless of the mode of<br />

operation in the processor’s domain.<br />

http://www.motorola.com/computer/literature 4-9<br />

4

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

Saved successfully!

Ooh no, something went wrong!