Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 331 Page - Freescale Semiconductor, Inc

Part # MPC8540
Description  MPC8540 PowerQUICC III??Integrated Host Processor Reference Manual
PDF  1302 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8540 Datasheet(HTML) 331 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 327Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 328Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 329Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 330Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 331Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 332Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 333Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 334Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 335Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 331 / 1302 page
background image
PLRU L2 Replacement Policy
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
7-27
The interrupt handler may want to clear the erroneously remaining
lock in this case.
7.7.5
Flash Clearing of Instruction and Data Locks
Locks for instructions and data are recorded separately in the L2 cache, and they can be flash
cleared separately by writing the appropriate value to the L2 cache control register
(L2CTL[L2LFR] and L2CTL[L2LFRID]). Flash invalidating of the L2 (setting L2CTL[L2I])
clears all locks on both instructions and data.
Note that flash clearing is the only way to clear data locks without clearing instruction locks, or to
clear instruction locks without clearing data locks. All instructions and snoop transactions that
clear locks clear both data and instruction locks.
7.7.6
Locks with Stale Data
If data is locked in the L2 and either the e500 core performs a cacheable copyback store or a dcbtst
misses in the L1, the L2 invalidates the line; however, the L2 clears the valid bit for the data, the
lock remains, and the line cannot be victimized. If the e500 core casts out modified data or pushes
it in response to a non-flush snoop, the L2 updates the data and sets the valid bit again, maintaining
the lock and keeping the data in the cache hierarchy.
7.8
PLRU L2 Replacement Policy
Line replacement is determined using a pseudo least-recently-used (PLRU) algorithm. There is a
valid bit (V0–V7) for each line. To determine the replacement victim (the line to be cast out), there
are seven PLRU bits (P0–P6) for each set. PLRU bits are updated every time a new line is allocated
or replaced and every time a line is modified or invalidated. There are two sets of lock bits, one
for instructions (I0–I7) and one for data (D0–D7) for every line. The lock bits act as a mask over
the PLRU bits to determine victim selection. The PLRU bits are updated regardless of line locking.
Figure 7-23 shows the binary decision tree used to generate the victim line. The eight ways of the
L2 cache are labeled W0–W7; the seven PLRU bits are labeled P0–P6.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com