Cache
6-9
18524C/0—Nov1996
AMD-K5 Processor Technical Reference Manual
page table entries to control caching properties for specific
physical pages. The PCD and PWT bits control the state of the
PCD and PWT output signals, which system logic can use to
control L2 caching.
6.2.1
L2 Cache
To improve system performance, an L2 cache can be added
between the processor and main memory. The L2 cache can be
implemented for 3-2-2-2 bursts using 15-ns asynchronous
SRAM on a 60-MHz or 66-MHz bus. Faster bursts can be imple-
mented with synchronous SRAM. 9-ns SSRAM can achieve 3-1-
1-1 bursts at 66 MHz and 10-ns SSRAM can achieve 2-1-1-1
bursts at 50 MHz.
Most system designs that implement an L2 cache do so using
(a) an L2 cache that is significantly larger than the combined
sizes of the L1 caches, (b) L2 cache lines that are at least as
wide as L1 cache lines (32 bytes or more), and (c) cache-line
fills that follow the principle of inclusion, which says that any
line in the L1 cache is guaranteed to be in the L2 cache.
The first principle (L2 cache bigger) guarantees that the L2
cache will have data that is not already in the L1 cache. The
second principle (L2 cache line size greater or equal to L1
cache line size) can simplify and speed up transfers from the
L2 cache to the L1 cache. The third principle (inclusion) can
simplify and speed up cache-coherency signaling for inquire
cycles—if an inquire cycle misses in the L2 cache, the system
can safely assume it is not in the L1 cache without having to
query the processor directly.
6.2.2
Cacheability and Cache-State Control
The PCD bits maintained by the operating system are a deter-
mining factor in the state of the processor’s CACHE output sig-
nal for each bus cycle. CACHE indicates the processor’s intent
to drive a read or write cycle as a burst cycle. The signal is only
asserted for reads that the operating system determines to be
cacheable, and for writebacks of modified lines. These write-
backs can be caused by inquire cycles, internal snoops, the
FLUSH signal, the WBINVD instruction, or cache-line replace-
ments. CACHE is not asserted for cache hits that are
Summary of Contents for AMD-K5
Page 1: ...AMD K5 Processor Technical Reference Manual TM...
Page 10: ...x AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 24: ...1 4 Overview AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 54: ...2 30 Internal Architecture AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 116: ...4 26 Performance AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 356: ...6 44 System Design AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 380: ...7 24 Test and Debug AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 396: ...A 16 AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 406: ...I 10 Index AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...