![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 213](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279213.webp)
March 2002 Release
521
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Interrupt Reference
R
Debug Interrupt (0x2000)
Interrupt Classification
•
Critical—return using the
rfci
instruction.
•
The debug interrupt can be synchronous or asynchronous, depending on the debug
event:
Synchronous debug events:
-
BT—Branch taken.
-
DAC—Data-address compare.
-
DVC—Data-value compare.
-
IAC—Instruction-address compare.
-
IC—Instruction completion.
-
TDE—Trap instruction.
Asynchronous debug events:
-
EDE—Exception taken.
-
UDE—Unconditional.
•
Precise.
Description
A debug exception is caused by an
enabled
debug event. Debug events are enabled and
disabled using the debug-control registers (DBCR0 and DBCR1). A debug event occurs
when a predefined debug condition is met, such as a data-address match.
This exception is persistent. If a debug exception occurs when debug interrupts are
disabled, the imprecise-debug exception-status bit in the debug-status register is set,
DBSR[IDE]. This bit is set in
addition to
other debug-status bits. When debug interrupts are
later enabled, the set IDE bit causes a debug interrupt to occur immediately. When exiting
an interrupt handler using an
rfci
instruction, the interrupt handler must clear DBSR[IDE]
to prevent repeated interrupts from occurring. To prevent ambiguity in reporting debug
status, all other DBSR bits should be cleared as well.
This interrupt is enabled using the debug-interrupt enable bit (DE) in the MSR. When
MSR[DE]
=
1, the processor recognizes exceptions caused by enabled debug events. When
MSR[DE]
=
0, the processor does not cause a debug interrupt when an enabled debug event
occurs.
All maskable interrupts, except those caused by machine-check exceptions, are disabled
when a debug interrupt occurs. The debug-interrupt handler should not re-enable
MSR[DE] until it has cleared the exception and saved SRR2 and SRR3. Saving these
registers avoids potential corruption of the interrupt handler should a subsequent debug
interrupt occur.
See
, for more information on debug events.
Affected Registers
Register
Value After Interrupt
SRR0
Not used.
SRR1
Содержание 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...