CPC700 User’s Manual—Preliminary
3-13
3.11 Byte Swapping
CPC700 includes support which is designed to ease the use of a Big Endian processor operating in a
Little-Endian system. This support includes the ability to swap bytes during read and write accesses to the
internal PLB bus from the processor. This mechanism can be used when accessing the PCI bus from the
processor. In addition CPC700 provides byte lane swapping from the PCI to/from memory in a fashion that
makes the otherwise Big-Endian memory look like Little-Endian memory from the PCI. Both of these
translations are disabled by default and may be enabled by programming the appropriate register bits.
Note: All accesses from the processor to system memory are handled as Big-Endian. No swapping mech-
anism is available for this data path.
3.11.1 Processor to PLB (PCI) Byte Swapping
Byte swapping can occur on the processor to PLB data path for both read and write cycles initiated by the
processor. With appropriate software/firmware support, and when enabled, this process allows the use of
a PowerPC processor in Big-Endian mode in a Little-Endian system. Up to three regions may be configured
to perform byte swapping by setting up the appropriate processor interface configuration registers (see Sec-
tion 3.16, “Processor Interface Register Description”):
• Starting Address(SA) per region (PLBMTLSAx registers)
• Ending Address (EA) per region (PLBMTLEAx registers)
• Enable bit per region (PLBMIFOPT register)
Byte swapping is performed between internal buffers in the processor interface as shown in Figure 4.
Figure 4. Processor to PLB Interface Translation Mechanism
32B
64
PLB
Processor
32
32
32B
8B
8B
Byte
•
Swapper
Byte
Swapper
Содержание CPC700
Страница 1: ...CPC700 Memory Controller and PCI Bridge User s Manual Version 1 1 Issue Date 3 22 00 Preliminary...
Страница 10: ...Table of Contents x Table of Contents...
Страница 16: ...Tables xvi List of Tables...
Страница 28: ...1 12 CPC700 User s Manual Preliminary...
Страница 72: ...3 36 Processor Interface...
Страница 132: ...4 60 Memory Controller...
Страница 184: ...5 52 PCI Interface...
Страница 194: ...6 10 Clock Power Management and Reset...
Страница 224: ...8 18 IIC...
Страница 244: ...10 10 Interrupt Controller...
Страница 246: ...I 11 2 JTAG...
Страница 250: ...12 4 Processor Local Bus PLB...
Страница 262: ...14 10 Register Summary...
Страница 267: ...CPC700 User s Manual Preliminary...