MPC563XM Reference Manual, Rev. 1
768
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
Figure 23-27. Entry Table
The Entry Table is organized by Functions. Each Function can have up to 32 Entry Points of 16 bits each,
corresponding to 32 possible Threads per Function. Each Entry Point location in the table corresponds to
a combination of events and channel states (see
Section 23.4.1.1.2, “Entry Point Address Generation
single Thread can be associated to more than one combination, having its Entry Point repeated in the table.
Each 32-bit word in the Entry Table holds two Entry Points.
Note that the Entry Table can be placed in any SCM address multiple of the Entry Table size, determined
by the field ETB[4:0] in the register ETPUECR. However, it is recommended to place the Entry Table at
the start of the SCM to get continuous code memory and to ease the eventual migration of the code from
larger parts down to smaller ones without rearranging the binary image, but this is not a restriction. Unused
Entry Points may be used for microcode, so this organization extends the microcode continuous area to the
unused area of the Entry Table. For this purpose, Function numbers should be selected from 0 up to 31. If,
for example, only 8 functions are implemented, only the Entry Table locations for Functions 0 to 7 are
used, and the Entry Table locations for functions 8 to 31 can be used as microinstruction memory (adding
extra continuous 1536 bytes for microprogram usage).
One way of implementing different sets of Functions is having more than one Entry Table, and configuring
the eTPU with the appropriate one for the application by changing ETPUECR register field ETB. Note
that the Engines can use different Entry Tables, with or without the same set of Functions.
CODE
01FF
03FF
05FF
μ
code
addr.
host addr.
SCM
7FC
FFC
17FC
07FF 1FFC
09FF
0BFF
0DFF
0FFF
27FC
2FFC
37FC
3FFC
Function 0
entry points 0-31
Function 1
entry points 0-31
Function 2
entry points 0-31
Function 31
entry points 0-31
0,0
0,1
0,30
0,31
1,0
1,1
1,30
1,31
2,0
2,1
2,30
2,31
31,0
31,1
31,30
31,31
32 bits
ENTRY TABLE ORGANIZATION
0E00
0E10
0E20
0E30
0FF0
0E0F
0E1F
0E2F
0FEF
0FFF
μ
code
addr.
ENTRY TABLE
0E00
11FF
13FF
15FF
47FC
4FFC
57FC
17FF 5FFC
19FF
1BFF
1DFF
1FFF
67FC
6FFC
77FC
7FFC
CODE