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 #46 background imageLoading...
Page #46 background image
4–2 M68020 USER’S MANUAL MOTOROLA
F
C
2
F
C
1
F
C
0
A
3
1
A
2
3
A
2
2
A
2
1
A
2
0
A
1
9
A
1
8
A
1
7
A
1
6
A
1
5
A
1
4
A
1
3
A
1
2
A
1
1
A
1
0
A
9
A
8
A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
TAG
INDEX
TAG
V
WORD
WORD
WORD
SELECT
1 OF
6
4 SELEC
T
TAG REPLACE
COMPARATOR
REPLACEMENT
D
ATA
TO
I
NSTRUCTIO
N
P
ATH
CACHE
C
ONTRO
L
ENTRY HIT
M
C68020/EC020 PREFETCH ADDRES
S
LINE
HIT
VALID
Figure 4-1. MC68020/EC020 On-Chip Cache Organization
When an instruction fetch occurs, the cache (if enabled) is first checked to determine if the
word required is in the cache. This check is achieved by first using the index field (A7–A2)
of the access address as an index into the on-chip cache. This index selects one of the 64
entries in the cache. Next, A31–A8 and FC2 are compared to the tag of the selected entry.
(Note that in the MC68EC020, A31–A24 are used for internal on-chip cache tag
comparison.) If there is a match and the valid bit is set, a cache hit occurs. A1 is then used
to select the proper word from the cache entry, and the cycle ends. If there is no match or
if the valid bit is clear, a cache miss occurs, and the instruction is fetched from external
memory. This new instruction is automatically written into the cache entry, and the valid bit
is set unless the F-bit in the CACR is set. Since the processor always prefetches
instructions externally with long-word-aligned bus cycles, both words of the entry will be
updated, regardless of which word caused the miss.
NOTE
Data accesses are not cached, regardless of their associated
address space.

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