![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 237](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279237.webp)
March 2002 Release
545
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
R
Instruction-Complete Debug Event
An instruction-complete (IC) debug event occurs immediately
after
completing execution of each instruction. It is enabled by setting DBCR0[IC]
=
1
and disabled by clearing DBCR0[IC]
=
0. The processor reports the occurrence
of an IC debug event by setting the IC bit in the debug-status register
(DBSR[IC])
to
1. After an IC event is recorded by a debugger, the status bit
should be cleared to prevent ambiguity when recording future debug events.
The IC debug event
does not
set the DBSR status bit if all of the following are
true:
•
Internal-debug mode is enabled.
•
Debug exceptions are disabled.
•
External-debug mode is disabled.
Instruction completion is a common event (it can occur every processor clock)
and this condition prevents the DBSR from recording its obvious occurrence
when exceptions are disabled.
Many instructions do not complete execution when they cause an exception
(other than the debug exception). Instructions that cause an exception do not
result in an IC debug event. This
sc
instruction, however, causes a system-call
exception
after
it executes. Here, the debug event occurs after the
sc
instruction, but before control is transferred to the system-call interrupt
handler.
The IC debug event is useful for single-stepping through a program. Either the
debug-interrupt handler (internal-debug mode) or an external debugger
attached to the JTAG port (external-debug mode) can read and report the
processor state and single-step to the next instruction.
If debug interrupts are enabled, the SRR2 register is loaded with the effective
address of the instruction following the one that caused the IC event.
TDE
Trap Instruction
TDE
TDE
UDE
Unconditional
UDE
IAC
Instruction Address-Compare
IA1, IA2, IA3, IA4
IA12, IA12X, IA12T
IA34, IA34X, IA34T
IA1, IA2,
IA3, IA4
IAC1,
IAC2,
IAC3,
IAC4
DAC
Data Address-Compare
D1R, D2R, D1W, D2W
D1S, D2S
DA12, DA12X
DR1, DR2
DW1, DW2
DAC1,
DAC2
DVC
Data Value-Compare
D1R, D2R, D1W, D2W
D1S, D2S
DV1M, DV2M
DV1BE, DV2BE
DR1, DR2
DW1, DW2
DAC1,
DAC2
DVC1,
DVC2
IDE
Imprecise
IDE
Table 9-4:
Debug Resources Used by Debug Events
(Continued)
Debug Event
DBCR0
DBCR1
DBSR
IAC
DAC
DVC
Содержание Virtex-II Pro PPC405
Страница 1: ...R Volume 2 a PPC405 User Manual Virtex II Pro Platform FPGA Developer s Kit March 2002 Release...
Страница 14: ...322 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation Preface R...
Страница 252: ...560 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 260: ...568 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 562: ...870 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...