















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Parhami; Class: FAULT TOL COMPUTING; Subject: Electrical Computer Engineering; University: University of California - Santa Barbara; Term: Fall 2007;
Typology: Assignments
1 / 23
This page cannot be seen from the preview
Don't miss anything!
















Nov. 2007
Reconfiguration and Voting
Slide 1
Nov. 2007
Reconfiguration and Voting
Slide 2
Released
Revised
Revised
First^
Nov. 2006
Nov. 2007
This presentation has been prepared for the graduatecourse ECE 257A (Fault-Tolerant Computing) byBehrooz Parhami, Professor of Electrical and ComputerEngineering at University of California, Santa Barbara.The material contained herein can be used freely inclassroom teaching or any other educational setting.Unauthorized uses are prohibited. © Behrooz Parhami
Nov. 2007
Reconfiguration and Voting
Slide 4
Nov. 2007
Reconfiguration and Voting
Slide 5
Component
Logic
Service
Result
Information
System
Level^ →
Low-Level Impaired
Mid-Level Impaired
High-Level Impaired
Unimpaired
Entry Legend:
Deviation
Remedy
Tolerance
Ideal
Defective
Faulty
Erroneous
Malfunctioning
Degraded
Failed
Nov. 2007
Reconfiguration and Voting
Slide 7
1
1
2
2
If each module port were connected to every channel, the maximumflexibility would result (leads to complex hardware & control, though) The challenge lies in using more limited connections effectively
Nov. 2007
Reconfiguration and Voting
Slide 8
Failed units can be isolatedfrom the buses No single bus failure canisolate a module from the rest of the system
The vertical channels may be viewed as buses and theheavy dots as controllable bus connections, making thismethod applicable to fault-tolerant multiprocessors
Write enable Read / Writedata
QFFWrite path Read path Connection FF
Bus
If we have extra buses, thenfailure in the bus connectionlogic can be tolerated byavoiding the particular bus For reliability analysis, lump thefailure rate of reconfiguration logicwith that of its associated bus
Nov. 2007
Reconfiguration and Voting
Slide 10
In the adjacent diagram, can wechoose up to 2 rows and 2 columnsso that they contain all the faults?
Sparecolumns
Sparerows
Rowswithfaults^0236
Columnswithfaults^01357 0 3
1 7
Question: In a large array, with
r^ spare rows and
c^ spare
columns, what is the smallest number of faults that cannotbe reconfigured around with row/column bypassing?
Convert to graph problem (Kuo-Fuchs): Form bipartite graph, with nodes corresponding to faulty rows and columns Find a cover for the bipartite graph (set of nodes that touch every edge)
Nov. 2007
Reconfiguration and Voting
Slide 11
Interconnection switchwith 8 ports and fourconnection choices foreach port: 0 – No connection 1 – Straight through 2 – Right turn 3 – Left turn 8 control bits (why?)
(^21)
1 2
3
3
(^454)
5
(^88)
7 6
6 7
Nov. 2007
Reconfiguration and Voting
Slide 13
Two-track switching model
Source: S.-Y. Kung, S.-N. Jean, C.-W. Chang,
IEEE TC
, Vol. 38, pp. 501-514, April 1989
Nov. 2007
Reconfiguration and Voting
Slide 14
High performance (pipelined) Software voters for multiversion programmingImprecise results (approximate voting) Consistency of replicated data Weighted voting and weight assignment
Nov. 2007
Reconfiguration and Voting
Slide 16
vote(1, 3, 2, 3, 4) = 3 What should we take as the result of vote(1.00, 3.00, 0.99, 3.00, 1.01)?
x^1 x^2^...^ xn
Pluralityvoter
y
It would be reasonable to take 1.00 as the result, because 3 inputsagree or approximately agree with 1.00, while only 2 agree with 3.00 Will discuss approximate voting and a number of other sophisticatedvoting schemes under software design topics Median voting: one way to deal with approximate values median(1.00, 3.00, 0.99, 3.00, 1.01) = 1.01 Median value is equal to the majority value when we have majority
Nov. 2007
Reconfiguration and Voting
Slide 17
m -out-of-
n ) voting:
Output is 1 if at least
m^ of the
n^ inputs are 1s
Majority voting is a special case of thresholdvoting: (
⎣ n /2⎦^
n^ voting
Agreement or quorum sets { x ,^ x^1
}, { x 2 2 ,^ x }, { 3
x ,^ x^3
} – same as 2-out-of-
{ x ,^ x^1
}, { x 2 1 ,^ x ,^ x 3
}, { x 4 2 ,^ x ,^ x 3
Weighted threshold (
w -out-of-
Σ v^ ) voting: i^
Output is 1 if
Σ v^ x^ i^ i^
is^ w^ or more
x^1 x^2^...^ xn
m Threshold gate
y
x^1 x^2^...^ xn
w Threshold gate
y v^1 v 2^ v^ n
The 2
nd^ example above is weighted voting with v =^ v^1
v =^ v^3
= 1, and threshold 4
w^ = 4
Agreement sets are more general than weighted voting in the sense ofsome agreement sets not being realizable as weighted voting
Nov. 2007
Reconfiguration and Voting
Slide 19
Implement a 4-input threshold voter with^ v
=^ v 1 2 = 2,^ v
=^ v 3 4 = 1, and threshold
w^ = 4
Strategy 1:
If weights are small integers, fan-out each input an appropriate numberof times and use a simple threshold voter
x^1 x (^2) x^3^ x^4
4 Threshold gate
y
Strategy 3:
Convert the problem to agreement sets (discussed next) Strategy 2:
Use table lookup based on comparison results x = x^1
x = x^1
x = x^2
x = x^3
Result
x^
x^
x^
x^1
Error
x^1
x^2
x^
x^
Error
Is this table complete?Why, or why not?
Nov. 2007
Reconfiguration and Voting
Slide 20
Example:
Implement a voter corresponding to the agreement sets { x ,^ x^1
}, { x 2 1 ,^ x ,^ x 3
}, { x 4 2 ,^ x ,^ x 3
Strategy 1:
Implement as weighted threshold voter, if possible Strategy 2:
Implement directly Find a minimal set of comparators that determine the agreement set
Complete this designby producing the“no agreement” signal
x = x^1 2 x = x^1 3 x = x^3 4 x = x^2
x^2 x^1
0 1
y