Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 333 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) 333 Page - Freescale Semiconductor, Inc

Back Button 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 MPC8540 Datasheet HTML 336Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 337Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 333 / 1302 page
background image
L2 Cache Operation
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
7-29
7.8.2
Allocation of Lines
L2 cache lines are locked through the status array lock bits. There are two lock bits for each way
of each set (1024 sets by eight ways). These bits are set or cleared through special L2 controller
commands.
Lock bits are used at allocate time to steer the PLRU algorithm away from selecting locked
victims. In the following discussion, the eight lock bits for a particular set are called L0–L7.
Where Lock Way i: Li = Di | Ii, i=0...7 (Di = data lock, Ii = instruction lock)
An effective value of each PLRU bit is calculated as follows:
P0_eff = f(P0,L0,L1,L2,L3,L4,L5,L6,L7) = (L0 & L1 & L2 & L3) | (P0 & ~(L4 & L5 & L6 & L7))
P1_eff = f(P1,L0,L1,L2,L3) = (L0 & L1) | (P1 & ~(L2 & L3))
P2_eff = f(P2,L4,L5,L6,L7) = (L4 & L5) | (P2 & ~(L6 & L7))
P3_eff = f(P3,L0,L1) = L0 | (P3 & ~L1)
P4_eff = f(P4,L2,L3) = L2 | (P4 & ~L3)
P5_eff = f(P5,L4,L5) = L4 | (P5 & ~L5)
P6_eff = f(P6,L6,L7) = L6 | (P6 & ~L7)
These effective PLRU bits are used to select a victim, as indicated in Table 7-20.
7.9
L2 Cache Operation
This section describes the behavior of the L1 and L2 cache in response to various operations and
in various configurations.
7.9.1
L2 Cache States
The L2 status array uses four bits for each line to determine the status of the line. Different
combinations of these bits result in different L2 states. The status bits are as follows:
•
Valid (V)
•
Instruction locked (IL)
•
Data locked (DL)
•
Stale (T)
Table 7-20. PLRU-Based Victim Selection Mechanism
Way Selected
PLRU State (Binary)
Reduced Logic
Equation
W0
00x0xxx
~P0 & ~P1 & ~P3
W1
00x1xxx
~P0 & ~P1 & P3
W2
01xx0xx
~P0 & P1 & ~P4
W3
01xx1xx
~P0 & P1 & P4
W4
1x0xx0x
P0 & ~P2 & ~P5
W5
1x0xx1x
P0 & ~P2 & P5
W6
1x1xxx0
P0 & P2 & ~P6
W7
1x1xxx1
P0 & P2 & 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