Coprocessor Interface
4-6
Copyright © 2001, 2004 ARM Limited. All rights reserved.
ARM DDI 0210C
4.4
Coprocessor interface handshaking
Coprocessor interface handshaking is described as follows:
•
The coprocessor
•
The ARM7TDMI processor
on page 4-7
•
Coprocessor signaling
on page 4-7
•
Consequences of busy-waiting
on page 4-8
•
Coprocessor register transfer instructions
on page 4-9
•
Coprocessor data operations
on page 4-10
•
Coprocessor load and store operations
on page 4-10.
The ARM7TDMI core and any coprocessors in the system perform a handshake using
the signals shown in Table 4-2.
These signals are explained in more detail in
Coprocessor signaling
on page 4-7.
4.4.1
The coprocessor
The coprocessor decodes the instruction currently in the Decode stage of its pipeline,
and checks whether that instruction is a coprocessor instruction. A coprocessor
instruction contains a coprocessor number that matches the coprocessor ID of the
coprocessor.
If the instruction currently in the Decode stage is a relevant coprocessor instruction:
1.
The coprocessor attempts to execute the instruction.
2.
The coprocessor handshakes with the ARM7TDMI core using
CPA
and
CPB
.
Note
The coprocessor can drive
CPA
and
CPB
as soon as it decodes the instruction. It does
not have to wait for
nCPI
to be LOW but it must not commit to execute the instruction
until
nCPI
has gone LOW.
Table 4-2 Handshaking signals
Signal
Direction
Meaning
nCPI
ARM7TDMI core to coprocessor
NOT coprocessor instruction
CPA
Coprocessor to ARM7TDMI core
Coprocessor absent
CPB
Coprocessor to ARM7TDMI core
Coprocessor busy
Содержание ARM7TDMI
Страница 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 276: ...Differences Between Rev 3a and Rev 4 C 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...