
35
18522F/0—Jan1997 AMD-K5 Processor Data Sheet
PRELIMINARY INFORMATION
read cycle as shown in Table 8. The final state of the data
cache line is determined as shown in Table 9 by the transition
from the intermediate read state (M, E, S, or I) to the final
state (M, E, S, or I) after the write hit to the cache line.
Note: In write allocate mode, replaced data cache lines are han-
dled in the same way as during read allocate.
External Inquire
Cycles
The processor supports inquire cycles for both instruction and
data caches to maintain cache coherency. Inquire cycles are
initiated with the assertion of EADS and result in a snoop to
both the instruction and data caches. The snoop operation is
performed using the physical tag arrays that are maintained
for this purpose. The snoop operation runs concurrently with
internal processor operation. The results of the snoop opera-
tion are indicated on the HIT and HITM pins. The results of the
inquire cycles are described in Table 10. (See Figure 25 on
page 72 and Figure 26 on page 73.)
Table 9. Writes to Data Cache
State CACHE KEN WB/WT PWT Next State Note
Mx x x x M1
Exx x x M2
S00 1 0 E3
S
00 0 x
S3
00 x 1
Ixx x x I4
Notes:
1. A write hit to modified line: writes data to the cache.
2. A write hit to exclusive line: writes data to the cache.
3. A write hit to shared line: writes data to the cache and memory; invalidates any shared copy
in the other cache.
4. If write allocate mode is not enabled, an invalid line always remains invalid. If write allocate
mode is enabled, the intermediate state of the filled data cache line depends on the result
of the read cycle as shown in Table 8, and the final state of the data cache line is determined
by the intermediate state as applied to this table.
Kommentare zu diesen Handbüchern