Effects Of Negative Tails - Motorola MC68340 User Manual

Integrated processor with dma
Hide thumbs Also See for MC68340:
Table of Contents

Advertisement

analyzed. To derive the actual instruction execution times for an instruction sequence, the
instruction times listed in the tables must be adjusted to account for overlap.
The formula for this calculation is as follows:
C
min (T
1
where:
C
is the number of cycles listed for instruction N
N
T
is the tail time for instruction N
N
H
is the head time for instruction N
N
min (T
, H
) is the minimum of parameters T
N
M
The number of cycles for the instruction (C
addition to the raw number in the cycles column. In these cases, calculate overall
instruction time as if it were for multiple instructions, using the following equation:
where:
CEA is the instruction's EA time
C
is the instruction's operation time
OP
T
is the EA's tail time
EA
H
is the instruction operation's head time
OP
min (T
, H
) is the minimum of parameters T
N
M
The overall head for the instruction is the head for the EA, and the overall tail for the
instruction is the tail for the operation. Therefore, the actual equation for execution time
becomes:
C
min (T
, H
OP1
OP1
EA2
Every instruction must prefetch to replace itself in the instruction pipe. Usually, these
prefetches occur during or after an instruction. A prefetch is permitted to begin in the first
clock of any indexed EA mode operation.
Additionally, a prefetch for an instruction is permitted to begin two clocks before the end of
an instruction provided the bus is not being used. If the bus is being used, then the
prefetch occurs at the next available time when the bus would otherwise be idle.
5.7.1.7 EFFECTS OF NEGATIVE TAILS. When the CPU32 changes instruction flow, the
instruction decode pipeline must begin refilling before instruction execution can resume.
Refilling forces a two-clock idle period at the end of the change-of-flow instruction. This
idle period can be used to prefetch an additional word on the new instruction path.
MOTOROLA
Freescale Semiconductor, Inc.
, H
) C
min (T
1
2
2
N
CEA
min (T
)
CEA
min (T
2
EA2
MC68340 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
, H
) C
min (T
2
3
3
3
and H
N
M
) can include one or two EA calculations in
, H
)
C
EA
OP
OP
and H
N
M
, H
) C
min (T
OP2
OP2
, H
)
4
, H
)
OP2
EA3
5- 93

Advertisement

Table of Contents
loading

Table of Contents