Instruction cycle timings
ARM DDI 0186A
Copyright © 2000 ARM Limited. All rights reserved.
11-11
The
LDM
(r0-pc) must complete before the interrupt vector is fetched. The write buffer
drain must be added to this, in addition to assuming that the LDM (r0-pc) crosses a 1KB
boundary.
The calculation assumes that once the interrupt has entered the Decode stage of the
ARM9E-S pipeline following the instruction fetch to (pc+1), the subsequent fetches to
the interrupt vector are serviced by the tightly-coupled SRAM, requiring a further three
CLK
cycles for the FIQ handler to enter execute. (This is not the case if the interrupt
vector resides at the HIVECS location of
0xFFFF 0000
. This requires AHB access.)
The cycles from Table 11-6 on page 11-10 are added to the three
CLK
cycles from the
tightly-coupled SRAM to produce the interrupt latency equation:
Interrupt latency
CLK
= 2Sync+9N+14S+2B+11I+3
Rewriting in terms of
R
, NONSEQ, SEQ and IDLE the equation simplifies to:
Interrupt latency
CLK
=
R
(9 14SEQ+13)+1
where IDLE=BUSY=
R
as this is a single
HCLK
cycle by definition.
The number of
CLK
cycles latency can now be derived for different AHB clocking
ratios and for the differing AHB slave responses that might exist in the AHB system to
which the ARM966E-S interfaces. Table 11-7 gives examples of interrupt latency for
systems with different
CLK
to
HCLK
ratios. For each system, slaves can have different
response times to NONSEQ and SEQ transfers. Table 11-7 gives some examples of
different slave responses and the resultant interrupt latency in
CLK
cycles.
Table 11-7 Interrupt latency calculated examples
CLK to HCLK
Ratio - R
Latency when
NONSEQ = 1,
SEQ = 1
Latency when
NONSEQ= 2,
SEQ = 1
Latency when
NONSEQ = 2,
SEQ = 2
1
37
46
60
2
73
91
119
3
109
136
178
4
145
181
237
Содержание 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 ...