3-11
INTERNAL ARCHITECTURE
Figure 3-5. Cache Organization
Cache addressing is performed by dividing the high-order 28 bits of the physical address into
three parts, as shown in
Figure 3-5
. The 7 bits of the index field specify the set number, one of
128, within the cache. The high-order 21 bits (20 on the IntelDX4 processor) are the tag field;
these bits are compared with tags for each cache line in the indexed set, and they indicate whether
a 16-byte cache line is stored for that physical address. The low-order 4 bits of the physical ad-
dress select the byte within the cache line. Finally, a 4-bit valid field, one for each way within a
given set, indicates whether the cached data at that physical address is currently valid.
Way 3
Way 2
Way 1
Data
Block
Way 0
Way 3
Way 2
Way 1
Tag
Block
A5141-02
Valid/LRU
Block
Way 0
Set N
Set 127
Set 126
Set 2
Set 1
Set 0
Valid
LRU
Data - 16 bytes
Tag - 21 bits
†
xxxx
Index Field
Tag Field
31
0
11
4
Physical Address
X 1 X X
line is valid
Index
is N
Match
Selects
byte
†
20 bits for the IntelDX4™ processor
Summary of Contents for Embedded Intel486
Page 16: ......
Page 18: ......
Page 26: ......
Page 28: ......
Page 42: ......
Page 44: ......
Page 62: ......
Page 64: ......
Page 138: ......
Page 140: ......
Page 148: ......
Page 150: ......
Page 170: ......
Page 172: ......
Page 226: ......
Page 228: ......
Page 264: ......
Page 282: ......
Page 284: ......