MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
893
Preliminary—Subject to Change Without Notice
Max Const Generation With T4BBS=111
When T4BBS = 111, BINV = 0, and CIN = 0, the value assigned to BS will be 0x800000, and not 0x0 as
expected. See
Section , “Generating “max” constant
” for detailed explanation about this.
Special T4ABS Source Operation: Read Match Registers
When T4ABS = 0101 and the source for T4ABS is selected from the second register set, the constant 0x00
is used as AS (8-bit size) and the following register transfer is performed in parallel as well: match registers
of the selected channel (value in CHAN register) are copied to ERT1/ERT2 registers, where ERT1 receives
the value of Match1 register and ERT2 receives the value of Match2 register (see
). Note that ALU destination can still be chosen by T2ABD in parallel. When ERT1 or
ERT2 is selected by T2ABD, a parallelism issue arises (see
Section 23.4.9.6.1, “ALU Operations and Read
).
CHAN_BASE as a Source
Each channel has a parameter base address in SPRAM, which is configured in ETPUCxCR registers,
CPBA field (see
Section 23.3.7.1, “ETPUCxCR - eTPU Channel x Configuration Register
).
CHAN_BASE, which represents a parameter address (CPBA*2), can be used as A-source using
T4ABS=1010 when T4ABS selects a source from the second register set. In this case, CHAN_BASE is
loaded into AS[13:2] to form the byte address (AS[23:14]=0, AS[1:0]=0). For example, in Indirect
addressing mode, where the destination register is DIOB, CHAN_BASE is loaded into DIOB[13:2], which
is the parameter address, and DIOB[13:0] represents the byte address. CHAN_BASE is the base address
of the selected channel (given by CHAN register).
23.4.9.2.3
Flags Sampling Control
This section explains how the flags Z (zero), C (carry), N (negative) and V (overflow) are updated in an
ALU operation. When there are post-ALU shift operations, the ALU Carry Out is not directly sampled in
Carry flag, but passed to the post-ALU shifter (see
Section 23.4.9.2.6, “Shift Operations
of source operands in ALU operations is variable, flags can be sampled as an operation of 8, 16 or 24 bits
wide. The operation size selection is automatic, based on defined sizes of sources and destination, using
the equation:
operation_size = minor(size_of(destination), greater(size_of(A-Source), size_of(B-Source)))
Operation size can also be shown with the following table:
Table 23-64. Operation Size Determination
A Source
B Source
Destination
Operation Size
x
x
8 bits
8 bits
8 bits
8 bits
x
8 bits
16 or 24 bits
x
16 bits
16 bits
16 bits
8 or 16 bits
24 bits
16 bits
8 or 16 bits
16 bits
24 bits
16 bits
24 bits
x
24 bits
24 bits