Little Endian Data Format; Endianism Conversion - Texas Instruments OMAP5910 Technical Reference Manual

Dual-core
Hide thumbs Also See for OMAP5910:
Table of Contents

Advertisement

2.11 Endianism Conversion

Table 2–69. Little Endian Data Format
Table 2–70. Big Endian Format
Because the TI925T is operated in little endian mode and the DSP is operated
in big endian mode, shared data must be converted to their respective formats
before any processing is done. Table 2–69 and Table 2–70 illustrate the little
and big data formats, respectively. In each case, the data is a reference to the
little endian format.
There are two ways to share the data between the TI925T and the DSP:
-
Through the DSP MMU
-
Through the MPUI
Endianism conversion is implemented between these two modules and the
DSP. The hardware converts both program code and data from big endian to
little endian mode when writing to the system memory and from little endian
to big endian mode when reading back from the system memory for all the data
access sizes when the logic is enabled.
Endianism conversion is performed in hardware, so that the data swapping is
transparent to software (reduce software overhead to format the data).
A bypass path is also implemented. If this case is not covered, the swapping
logic can be disabled and the conversion handled by software.
Little Endian Format (32-Bit Word Access)
31
24 23
Word 1
Byte 3
AA
Big Endian Format (32-Bit Word Access)
31
24 23
Word 0
Byte 0
DD
16 1
Byte 2
Byte 1
BB
CC
16 15
Byte 1
Byte 2
CC
BB
Endianism Conversion
8 7
Word 0
Byte 0
DD
8 7
Word 1
Byte 3
AA
MPU Subsystem
0
0
2-71

Advertisement

Table of Contents
loading

Table of Contents