
Debug Support
e200z3 Power Architecture Core Reference Manual, Rev. 2
9-28
Freescale Semiconductor
Emulation firmware should modify the CTL, PC, and IR values in the CPUSCR during execution of
debug-related instructions as well as just before exiting debug with a Go+Exit command. During the debug
session, the CTL register should be written with the FFRA bit set as appropriate and all other bits cleared,
and with IR set to the value of the desired instruction to be executed.
21
FFRA
Feed forward RA operand bit. This control bit causes the content of the WBBR
lower
to be used as the
r
A (
r
S
for logical and shift operations) operand value of the first instruction to be executed following an update of
the CPUSCR. This allows the debug firmware to update processor registers, initialize the WBBR
lower
with
the desired value, set the FFRA bit, and execute an ori Rx,Rx,0 instruction to the desired register.
0 No action
1 Content of WBBR used as
r
A (
r
S for logical and shift operations) operand value
22
IRSTAT0 IR status bit 0.This control bit indicates an ERROR termination status for the IR.
0 No TEA occurred on the fetch of this instruction.
1 A TEA occurred on the fetch of this instruction
23
IRSTAT1 IR status bit 1. Indicates a TLB miss status for the IR.
0 No TLB miss occurred on the fetch of this instruction.
1 TLB miss occurred on the fetch of this instruction.
24
IRSTAT2 IR status bit 2. Indicates an instruction address compare 1 event status for the IR.
0 No instruction address compare 1 event occurred on the fetch of this instruction.
1 An instruction address compare 1 event occurred on the fetch of this instruction.
25
IRSTAT3 IR status bit 3. Indicates an instruction address compare 2 event status for the IR.
0 No instruction address compare 2 event occurred on the fetch of this instruction.
1 An instruction address compare 2 event occurred on the fetch of this instruction.
26
IRSTAT4 IR status bit 4. Indicates an instruction address compare 3 event status for the IR.
0 No instruction address compare 3 event occurred on the fetch of this instruction.
1 An instruction address compare 3 event occurred on the fetch of this instruction.
27
IRSTAT5 IR status bit 5. Indicates an instruction address compare 4 event status for the IR.
0 No instruction address compare 4 event occurred on the fetch of this instruction.
1 An instruction address compare 4 event occurred on the fetch of this instruction.
28
IRSTAT6 IR status bit 6. This control bit indicates a parity error status for the IR.
0 No parity error occurred on the fetch of this instruction.
1 A parity error occurred on the fetch of this instruction.
29
IRSTAT7 IR status bit 7. Indicates a precise external termination error status for the IR.
0 No precise external termination error occurred on the fetch of this instruction.
1 Precise external termination error occurred on the fetch of this instruction.
30
IRSTAT8 IR status bit 8. Indicates the VLE status for the IR. IRStat8 affects the behavior of IRStat9.
0 IR contains a BookE instruction.
1 IR contains a VLE instruction, aligned in the most significant portion of IR if 16-bit.
31
IRSTAT9 IR status bit 9. Indicates the VLE byte-ordering error status for the IR or a Book E misaligned instruction
fetch, depending on the state of IRStat8.
0 IR contains an instruction without a byte-ordering error and no misaligned instruction fetch exception has
occurred (no MIF).
1 If IRStat8 = 0, A Book E misaligned instruction fetch exception occurred while filling the IR.
If IRStat8 = 1, IR contains an instruction with a byte-ordering error due to mismatched VLE page
attributes, or due to E indicating little-endian for a VLE page.
Table 9-11. CTL Field Definitions (continued)
Bits
Name
Description