e200z6 Core Complex
MPC5565 Microcontroller Reference Manual, Rev. 1.0
3-24
Freescale Semiconductor
indicating the line contains valid data consistent with memory. Dirty cache lines have the D and V bits set,
indicating that the line has valid entries that have not been written to memory. In addition, a cache line can
be locked (L bit set) indicating the line is not available for replacement.
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 3-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 two 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.
31
27
26
20
19
0
Index
Tag data / Tag reference
MUX
0
1
Logical OR
HIT 1
HIT 0
Hit
Select
Set 0
Set 1
Set 127
•
•
•
Way 0
Way 1
Data or
instruction
Status
DW0 DW1
Tag
Status
DW0 DW1
•
•
•
•
•
•
•
•
•
•
•
•
Virtual address
Tag
Physical address
Set select
A[20:26]
Tag reference
A[0:19]
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...