EasyManuals Logo

Motorola MC68020 User Manual

Motorola MC68020
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #222 background imageLoading...
Page #222 background image
MOTOROLA M68020 USER’S MANUAL 8- 7
Example 3
Both Figures 8-3 and 8-4 show instruction execution without benefit of the
MC68020/EC020 instruction cache. Figure 8-5 shows a third example for the same
instruction stream executing in the cache. Note that once the instructions are in the cache,
the original location in external memory is no longer a factor in timing.
The assumptions for Example 3 are:
1. The data bus is 32 bits,
2. The cache is enabled and instructions are in the cache, and
3. Memory access occurs with no wait states.
1
2
3
4
5
6
7
8
9
10
11
12
13
CLOCK
BUS
ACTIVIT
Y
WRITE
READ
WRITE
BUS
C
ONTROLLE
R
WRITE TO (A1)+
WRITE TO –(A2)
READ FROM (A1)
IDLE
PERFORM
MOVE #1
PERFORM
ADD #2
CALCULATE
S
OURCE E
A
MOVE #3
CALCULATE
D
ESTINATIO
N
EA
MOVE #3
PERFORM
MOVE #3
MOVE.L D4,(A1)+
MOVE.L (A1),–(A2)
ADD.L
D5,D
6
SEQUENCER
INSTRUCTION
E
XECUTION TIM
E
(4)
(1)
CLOCK
COUNTE
R
LEGEND:
1) MOVE.L D4,(A1)+
2) ADD.L D4,D5
3) MOVE.L (A1),–(A2)
4) ADD.L D5,D6
(7)
PERFORM
ADD #4
IDLE
IDLE
Figure 8-5. Processor Activity for Example 3
Figure 8-5 illustrates the benefits of the instruction cache. The total number of clock cycles
is reduced from 16 to 12 clocks. Since the instructions are resident in the cache, the
instruction prefetch activity does not require the bus controller to perform external bus
cycles. Since prefetch occurs with no delay, the bus controller is idle more often.
Example 4
Idle clock cycles, such as those shown in example 3, are useful in MC68020/EC020
systems that require wait states when accessing external memory. This fact is illustrated
in example 4 (see Figure 8-6) with the following assumptions:
1. The data bus is 32 bits,
2. The cache is enabled and instructions are in the cache, and
3. Memory access occurs with one wait state.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Motorola MC68020 and is the answer not in the manual?

Motorola MC68020 Specifications

General IconGeneral
BrandMotorola
ModelMC68020
CategoryComputer Hardware
LanguageEnglish

Related product manuals