
e200z6 Core (Z6)
PXN20 Microcontroller Reference Manual, Rev. 1
13-24
Freescale Semiconductor
The cache must be invalidated after a hardware reset; a hardware reset does not invalidate the cache lines.
Following initial power-up, the cache contents are undefined. If the L, D, or V bits are set on any lines, the
software must invalidate cache before the cache is enabled.
illustrates the general flow of cache operation.
Figure 13-15. Cache Lookup Flow
To determine if the address is already allocated in the cache the following steps are taken:
1. The cache set index, virtual address bits A[20:26] are used to select one cache set. A set is defined
as the grouping of four or eight lines (one from each way), corresponding to the same index into
the cache array.
2. The higher order physical address bits A[0:19] are used as a tag reference or used to update the
cache line tag field.
3. The four or eight tags from the selected cache set are compared with the tag reference. If any one
of the tags matches the tag reference and the tag status is valid, a cache hit has occurred.
31
27
26
20
19
0
Index
Tag data / tag reference
MUX
Comparator
0
1
2
7
Logical OR
HIT 7
HIT 2
HIT 1
HIT 0
Hit
Select
Set 0
Set 1
Set 127
•
•
•
Tag
Reference
A[0:19]
Way 0
Way 1
Way 2
Way 7
Data or
instruction
Status
DW0 DW1 DW2 DW3
Tag
Status
DW0 DW1 DW2 DW3
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Virtual address
Set
Select
A[20:26]
Tag
Physical address
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...