![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 203](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279203.webp)
March 2002 Release
511
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Interrupt Reference
R
Program Interrupt (0x0700)
Interrupt Classification
•
Noncritical—return using the
rfi
instruction.
•
Synchronous.
•
Precise.
Description
Program exceptions are caused by any of the following conditions:
•
Attempted execution of an illegal instruction. Floating-point instructions are
considered illegal instructions in the PPC405D5.
•
Attempted execution of a privileged instruction from user mode.
•
Execution of a trap instruction that satisfies the trap conditions. Following execution
of a trap instruction, SRR0 contains the address of the trap instruction. To avoid
repeated program interrupts as a result of returning from the trap handler, software
should either:
-
Replace the trap instruction with a non-trapping instruction.
-
Modify the trap conditions to prevent a program interrupt.
-
Modify the address in SRR0 to point to the next-sequential instruction in the
interrupted program prior to executing the
rfi
.
The following exception conditions
do not
occur on the PPC405D5 but can occur on other
versions of the PowerPC 405 processor:
•
Exceptions caused by attempting to execute an unimplemented FPU or APU
instruction. This exception condition sets ESR[PEU]
=
1.
•
Exceptions caused by FPU-instruction errors. This exception condition sets
ESR[PFP]
=
1.
•
Exceptions caused by APU-instruction errors. This exception condition sets
ESR[PAP]
=
1.
Software cannot disable program interrupts.
Affected Registers
Register
Value After Interrupt
SRR0
Loaded with the effective address of the instruction that caused the program
exception.
SRR1
Loaded with a copy of the MSR at the point the interrupt occurs.
SRR2
Not used.
SRR3
Содержание 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...