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
Содержание Embedded Intel486
Страница 16: ......
Страница 18: ......
Страница 26: ......
Страница 28: ......
Страница 42: ......
Страница 44: ......
Страница 62: ......
Страница 64: ......
Страница 138: ......
Страница 139: ...5 Memory Subsystem Design Chapter Contents 5 1 Introduction 5 1 5 2 Processor and Cache Feature Overview 5 1 ...
Страница 140: ......
Страница 148: ......
Страница 150: ......
Страница 170: ......
Страница 172: ......
Страница 226: ......
Страница 228: ......
Страница 264: ......
Страница 282: ......
Страница 284: ......