Coprocessor Interface
7-12
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
7.7
Busy-waiting and interrupts
The coprocessor is permitted to stall, or busy-wait, the processor during the execution
of a coprocessor instruction if, for example, it is still busy with an earlier coprocessor
instruction. To do so, the coprocessor associated with the Decode stage instruction
drives WAIT onto
CHSDE[1:0]
. When the instruction concerned enters the Execute
stage of the pipeline, the coprocessor drives WAIT onto
CHSEX[1:0]
for as many
cycles as necessary to keep the instruction in the busy-wait loop.
For interrupt latency reasons the coprocessor might be interrupted while busy-waiting,
causing the instruction to be abandoned. Abandoning execution is done through
CPPASS
. The coprocessor must monitor the state of
CPPASS
during every busy-wait
cycle.
If it is HIGH, the instruction must still be executed. If it is LOW, the instruction must
be abandoned.
Figure 7-6 shows a busy-waited coprocessor instruction being abandoned due to an
interrupt.
Figure 7-6 Busy-waiting and interrupts
CLK
CPINSTR[31:0]
CPPASS
CHSEX[1:0]
CPLATECANCEL
CHSDE[1:0]
nCPMREQ
Fetch
Decode
Execute
(WAIT)
Execute
(WAIT)
Execute
(WAIT)
INSTR
WAIT
WAIT
Coprocessor
pipeline
Execute
(WAIT)
Abandoned
WAIT
WAIT
Ignored
Содержание ARM966E-S
Страница 6: ...Contents vi Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 20: ...Introduction 1 4 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 48: ...Tightly coupled SRAM 4 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 80: ...Bus Interface Unit 6 20 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 118: ...Debug Support 8 26 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 130: ...Test Support 10 8 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 142: ...Instruction cycle timings 11 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 158: ...Signal Descriptions A 16 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 176: ...AC Parameters B 18 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...