![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 449](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279449.webp)
March 2002 Release
757
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Alphabetical Instruction Listing
R
tw
Trap Word
Description
The TO opcode field specifies the test conditions to be performed on the contents of
registers
r
A and
r
B. See
for more information on the TO field. If any
test condition is met, a trap occurs as follows:
•
If the trap-instruction debug event is not enabled (DBCR[TDE]
=
0, or both
DBCR[IDM]
=
0 and
DBCR[EDM]
=
0), a program interrupt occurs.
•
If the trap-instruction debug event is enabled as an external-debug event
(DBCR[TDE]
=
1 and DBCR[EDM]
=
1), the processor enters the debug stop state. An
external debugger is used to control the processor from this state.
Also, if internal-debug events are enabled (DBCR[IDM]
=
1) and debug exceptions are
disabled (MSR[DE]
=
0), an imprecise debug-event is reported by setting DBSR[IDE] to
1.
•
If the trap-instruction debug event is enabled as an internal-debug event
(DBCR[TDE]
=
1, DBCR[IDM]
=
1, and
DBCR[EDM]
=
0), the action taken depends on
whether debug exceptions are enabled:
-
If debug exceptions are enabled (MSR[DE]
=
1) a debug interrupt occurs.
-
If debug exceptions are disabled (MSR[DE]
=
0) a program interrupt occurs. An
imprecise debug-event is also reported by setting DBSR[IDE] to 1.
Refer to the following for more information:
•
•
.
•
.
•
.
•
Simplified mnemonics defined for this instruction are described in
Pseudocode
if
((
r
A)
(
r
B))
∧
(TO
0
=
1)
then trap
if
((
r
A)
(
r
B))
∧
(TO
1
=
1)
then trap
if
((
r
A)
(
r
B))
∧
(TO
2
=
1)
then trap
if
((
r
A)
(
r
B))
∧
(TO
3
=
1)
then trap
if
((
r
A)
(
r
B))
∧
(TO
4
=
1)
then trap
tw
TO,
r
A,
r
B
X Instruction Form
31
TO
rA
rB
4
0
0
6
1
1
1
6
2
1
3
1
<
>
=
<
u
>
u
Содержание 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...