English
Language : 

M68060 Datasheet, PDF (117/416 Pages) Motorola, Inc – M68060 User Manual
Caches
Read misses and write misses to copyback pages cause the cache controller to read a new
cache line from memory into the cache. If available, an invalid line in the selected set is
updated with the tag and data from memory. The line state then changes from invalid to valid
by setting the V-bit for the line. If all lines in the set are already valid or dirty, the pseudo
round-robin replacement algorithm is used to select one of the four lines and replace the tag
and data contents of the line with the new line information. Before replacement, dirty lines
are temporarily buffered and later copied back to memory after the new line has been read
from memory. Snoops always check both the push buffer and the cache. Figure 5-7 illus-
trates the three possible states for a data cache line, with the possible transitions caused by
either the processor or snooped accesses. Transitions are labeled with a capital letter, indi-
cating the previous state, followed by a number indicating the specific case listed in Table
5-3.
CI5— CINV
CI6— CPUSH
CV1—CPU READ MISS
CV2—CPU READ HIT
COPYBACK
INVALID
CI1—CPU READ MISS
CV5—CINV
CV6—CPUSH
CV7—SNOOP HIT
COPYBACK
VALID
CI3— CPU
WRITE MISS
CD5—CINV
CD6—CPUSH
CD7—SNOOP HIT
CD1—CPU
READ MISS
CV3—CPU WRITE MISS
CV4—CPU WRITE HIT
COPYBACK
DIRTY
CD2— CPU READ HIT
CD3—CPU WRITE MISS
CD4—CPU WRITE HIT
COPYBACK CACHING MODE
WI3—CPU WRITE MISS
WI5—CINV
WI6—CPUSH
WV1—CPU READ MISS
WV2—CPU READ HIT
WV3—CPU WRITE MISS
WV4—CPU WRITE HIT
WRITE-
THROUGH
INVALID
WI1— CPU READ MISS
WV5— CINV
WV6— CPUSH
WV7—SNOOP HIT
WRITE-
THROUGH
VALID
WRITETHROUGH CACHING MODE
Figure 5-7. Data Cache Line State Diagrams
5-18
M68060 USER’S MANUAL
MOTOROLA