Professional Documents
Culture Documents
AD 294 919
UNCLASSIFIED
NOTICE: When government or other drawings, speci-
fications or other data are used for any purpose
other than in connection with a definitely related
government procurement operation, the U. S.
Government thereby incurs no responsibility, nor any
obligation whatsoever; and the fact that the Govern-
ment may have formlated, furnished, or in any way
supplied the said drawings, specifications, or other
data is not to be regarded by implication or other-
wise as in any manner licensing the holder or any
other person or corporation, or conveying any rights
or permission to manufacture, use or sell any
patented invention that may in any way be related
thereto.
AIR UNIVERSITY
CD UNITED STATES AIR FORCE
SCHOOL OF ENGINEERING
U, ,
THESIS
Air University
Master of Science
THRESHOLD LOGIC
"40
December 1962
GE/EE/62-2
Preface
revealed that a large and important body of fact, theory, and synthesis
analysis were developed and are presented in Chapter II. Many excel-
ii
GE/EE/62-2
iii
GE/EE/62-2
wife, Barbara Lee, who has endured two years of "widowhood" with
iv
GE;/EE,/6;-2
Contents
Page
v
GE/EE/62-2
Page
Example. .. ................... 41
Determination of the Overall Network Function. .. ... 42
Example. .. ................... 43
Symmetric Threshold Gate Network Analysis. .. ..... 45
General Considerations .. ............. 47
Procedure and Example .. .............. 49
Feedback in Threshold Networks .. .......... 51
Analysis of a Single Threshold Gat e. .. ....... 51
Summary. ...................... 57
Theory. .. ...................... 59
Theorem I .. .................... 61
Theorem 2. ....... ............. 62
Procedure .. .................... 64
Example. .. ................... 65
Conclusion .. ..................... 72
Notation .. ...................... 73
Stuart's Algorithm. .. ................. 75
Procedure .. .................... 76
Example 1 .. .................... 76
Example 2.. .................... 78
Counter Example .. ................. 79
Conclusions. .. .................... 81
Conclusions. .. .................... 83
Recommendations for Further Studies .. ......... 84
Bibliography. ..................................... 85
vi
GE/EE/62-2
Abstract
function is given.
vii
GE/EE/62-2
THRESHOLD LOGIC
has historically been based on the use of gates embodying the elemen-
and NOR - also have had the desirable property of being readily real-
many ways more complex and interesting than conventional gates; un-
like these gates a threshold element can treat its inputs asymmetrical-
ly. Hence a single unit can generate switching functions far more com-
ure to the early work of Karnaugh (Ref 17), who pointed out the logical
of the threshold gate and the neuron. This similarity suggested the
seven years has resulted in a body of fact, theory, and design proce-
dures known as threshold logic. This logic, though not yet as unified
useful and general approach to logical design. Not least among its
I
GE/EE/62-2
Notation
G: exclusive disjunction
+ : inclusive disjunction
* : conjunction
= • logical equivalence
identity
A 9 A =1 (1)
A=1-A
or (2)
= -A
2
GE/EE/62-2
by F where
by T where
set of all such symbols. The lower case letters w and t, subscripted
of a threshold gate; i. e., they are real constants which give the values
assigned to the weights and threshold of the threshold gate. When the
3
GE/EE/62-2
of the symbols > < or > < is limited to conventional algebraic ine-
F 1 -. F 2 then F 1 implies F 2 .
Definitions
term form, whose terms correspond directly to those rows of the truth
table for which the function is true; and a minimal normal disjunctive
dundant normal disjunctive form, " abbreviated INDF (Ref 28:19). For
simplicity, this study will use the term minimal normal form when
4
GE/EE/62-2
(Ref 24:288).
truth is obtained; if the weighted input sum is less than the threshold
level an output representing falsity is obtained.
X2 W t T (5a)
w
xn
5
GE/EE/62-2
or alternatively,
xl
xt (5b)
Xn
n n"w ix i > t
(6a)
i=l
n nwix i < t
(6b)
i= 1
for all valuations for which F is false. This definition could alter-
n
wo + wix i > 0 if F is true, (7a)
i--1
GE/EE/62-2
and
n
wo + - wix i < 0 if F is false. (7b)
i=l
must be greater than the largest weighted false term(s). Thus, the
or
mon usage.
literature existing. Some of the more common terms are given below:
7
GE/EE/62-2
the weighted sum of the input signals (called the "input composite"),
with the turns on the core representing the weights. If the input
obtained during the next phase and the function which "set" the core
from the manner in which the threshold gate performs its summation
function; and the particular valuations for which the function is true
responding to the valuations for which F is true are termed true ver-
8
GE/EE/62-2
(AB) A C) (10)
(A8g) B
(AF)
(ABc)
A
The three"dotted" vertices represent the function and hence are true
their defining Ineqs (7) the following equality can be written for the
w o +W 1 +w 2 x 2 +...+Wnxn = 0 (11)
hyperplane from the origin. This plane separates the true vertices
from the false vertices of the n-dimensional cube. Thus the term
9
GE/EE/62-2
In Eq (10) note that the given function is linearly separable, since the
three true vertices can be separated from the five false vertices by a
widely used.
1 2 H 1
B 2 2 F (12)
10
GE/EE/62-2
by (Ref 9:17):
A # B # C = AB + AC + BC (13)
A
2 T (14)
B
1
motivation for their use. Even though the term majority logic is com-
monly accepted to mean "two out of three" logic, the name is occasion-
General Considerations
since if any set is found that satisfies the defining inequalities, it may
11
GE/EE/62-2
ther, there may be more than one set of n + 1 constants, not linearly-
A
2 F (15)
or
A
7 9 (16)
and many others. Note also that the definition of a threshold function
rational constants which satisfy the defining inequalities; then this set
12
GE/EE/62-2
implicitly assumed that the input and output values of a threshold gate
are:
Actually, of course, the inputs and outputs may be any two voltage
ical realization. It has been shown, however, that any circuit using
the normalized inputs and outputs given by Eqs (17) can be transformed
by a linear transformation into one having more realistic input and out-
put levels (Ref 20:8). Hence no loss of generality results from using
effect must be taken into account during the final phase of logical design.
combined with the required tolerances in input and output signal levels,
such as the number of turns on a ferrite core; the desire to obtain regu-
13
GE/EE/62-2
not be discussed further, not because they are not important, but
is obvious, and in any given design problem the criteria for minimal-
ity are determined in terms of cost, permissable delay, and the function
sum of weights plus threshold values which will realize the given
threshold gates that can be used, each with a minimal sum of weights
a threshold gate, have been the object of intensive study in their own
That the answer is not obvious may be inferred from the following
14
GE/EE/62-2
equations:
F 1 = AB+CD (18)
and
Eq (18) is not a threshold function and hence needs more than one
teen functions of two variables (all but the equivalence and exclusive-or
Table I:
Table I
No. of Arguments: 0 1 2 3 4 5 6 7
36
Boolean Functions 2 4 16 256 65536-4. 3x10l91. 8x10 19-1. 0x10
Threshold 4 6 10
Functions 2 4 14 104 1882'-9.4x4041.5x0 -. OxlO
Symmetry Types 14
Boolean Functions 2 3 6 22 402 -1. 0xi0 6-4.0xl0 --
Symmetry Types
Thres. Functions 2 3 5 10 27 119 1113
(From Her 30:l19)
15
GE/EE/62-2
function is
or
F = BC + A(BC +3C) (20b)
or
F = AC + B(A?7 + AC) (20c)
members of that class are threshold functions (Ref 20:9). This con-
cept has been extended by proving that the property of linear separa-
a threshold function (Ref 16: Ch 3). It has also been shown that duals
16
GE/EE/62-2
where the w's are the weights and t is the threshold of the threshold
that the reverse implication does not hold: a given threshold function
n + 1 real numbers, [P(n), Sl(n - 1), ... , l(2), -l(l); mi], where the
indicated sums are column sums of the function's truth table, summed
over the m true entries only (Ref 7). This is an interesting, but, thus
far, not very useful representation. The meaning of the phrase "posi-
that such an algebraic test will never be found (Ref 30:33). The consis-
the only completely applicable necessary and sufficient test for the
17
GE/EE/62-2
functions
*1 =AB+AC (21)
and
F 2 = AB + AH (22)
definition:
18
GE/EE/62-2
four variables
can be given:
X- (x 1 = T, x 3 = T, x 4 = F) (23)
Similarly, if
Y (x 1 T, x 2 = F, x 3 = F) (25)
Fy-F(l, 0, 0, x 4 , x 5 ) (26)
19
GE/EE/62-2
F I1- .0F 2
or (27)
F2 -F 1
other, checking for any implication between the two restricted functions
necessary to check only for 1-, 2-, and 3-monotonicity of the function.
If at any step the function is found not to be monotonic, then the given
20
GE/EE/62-2
n < 6. For n > 9, it has been proven not to be a sufficient test; its
have proven that a necessary and sufficient condition for linear separa-
bility is that the function's true vertices and its false vertices form two
disjoint convex hulls (Refs 13:225, 14:777). The latter reference tests
the convex hulls representing the respective sets of true and false
hulls are not disjoint and the function is not linearly separable.
ogram (or sub-cube) such that true vertices form one diagonal pair
and false vertices the other diagonal pair. The meaning of diagonal
21
GE/EE/62-2
a b
ee
b a d
Fig. 1
Diagonal Vertices
threshold elements.
22
GE/EE/62-2
n increases; and
function.
synthesis, and then converts the realization obtained for the transformed
can be written
WX lI + w 2x2 +... +wnx n > t (28)
23
GE/EE/62-2
Assume that the given function F is positively unate in all but one
transformed function is
weights and threshold that realize F': then the realization for the orig-
the realization of F:
or
w x1 - w 2 x 2 +... + wnxn > t - w2 (31)
The basis for this procedure is, of course, the Boolean difference
operation which has been defined. Thus any function can be transformed
function F by:
24
GE/EE/62-2
and
procedure.
defined:
on the n variables of F. Then by definition, X < X' if and only if, for
every i, a i < ail. This ordering is a partial ordering only since some
vertices are not comparable. Thus, (10001) < (10101) but (10001) and
and the vertices (00... 0) and (11... 1) are respectively the least vertex
and the greatest vertex for positive unate functions. The defining
partial ordering of the vertices defined above, the leastterms found will
have the smallest weighted sums, and the greatest terms found will have
25
GE/EE/62-2
vertices are foULid and the greatest false vertices are found, then a
established between the weighted least true vertices and the weighted
least true terms represent a smaller weighted sum than any other true
term, and the greatest false terms represent a greater weighted sum
The least true terms can be found from the truth table for the
terms that finally remain are those not comparable and they constitute
the set of least true terms. Similarly, the greatest false terms are
eliminated. The false terms remaining are those not comparable and
greatest false set of vertices uses the minimal normal forms of the
given function F and its complement F. Recall that this form of a thresh-
old function is unique and contains all of the prime implicants of the
function. It has been shown (Refs 19, 27, 28) that the prime implicants
26
GE/EE/62-2
must be greater than each of the weighted greatest false terms of Eq (36)
w + w2 + w 3 > w2 + w3 (37)
wl +w 2 +w 3 >w I +w 3 +w 4 (38)
w 2 + w 3 +w 4 >w 2 +w 3 (40)
27
GE/EE/62-2
w2 +W 3 +W 4 >w 1 +W 3 +w 4 (41)
2 +w 3 +w 4 >w 1 +w 2 +w 4 (42)
w 1 = w4 = 1 (43)
and
w2 = w 3 = 2 (44)
Ineq (37),
1(x 1 ) + 2(x 2 ) + 2(x 3 ) + 1(x4 ) > t' > (-I1 ) + 2(x 2 ) + 2(x 3 ) + 1(- 4 ) (45)
or
1(1) + 2(1) + 2(1) + 1(0) > t' > 1(0) + 2(1) + 2(1) + 1(0) (46)
(1, 2, 2, 1;5). Note that any other of the reduced set of inequalities
could have been used in place of Ineq (37) to determine t'. To obtain
the realization for F we apply the rules previously given: Change the
28
GE/EE/62-2
w = -2 (48)
w 4 = -1 (49)
and
t = 5- 2 -1 = 2 (50)
It should be noted that the procedure was applied to the given function
28, and 30. For many functions the reduced set of inequalities obtained
may still be uncomfortably large. This set can be reduced still further
follows.
forms (Refs 5, 12, 16, 27, 28), that the relative magnitudes of the
Boolean expressions for T. The canonical minterm form and the mini-
mal normal form are generally used. Using first the canonical minterm
form, the procedure for obtaining the relative ordering of the weights is
as follows:
29
GE/EE/62-2
set of inequalities.
Example. Given the function
and this ordering can now be applied to the reduced set of inequalities
their number.
from the minimal normal form for F. Recall that the smaller the
30
GE/EE/62
equality exists in the ordering of step 1; if this is the case, then the
normal form:
31
GE/EE/62-2
twice, B and H appear once; the equalities of Ineq (54) can now be
This ordering can now be used to further reduce the set of inequalities
still further reductions in the reduced set obtained after applying the
factoring which forms a function "tree. " The relative order of the
32
GE/EE/62-2
weights of the symmetry groups is used to reduce this basic set still
Winder (Refs 28, 29, 30) uses the results of previous checks for
to obtain a solution.
functions.
33
GE/EE/62-2
34
GE!EE/62-2
continued until all true vertices have been included in at least one
realizable sub-function.
gives a "truth table" method for such synthesis which can handle
35
GE/EE/62-2
gates with any number of inputs and does not require any auxiliary table
of reference functions.
necessary to realize a function are set up, and their solution yields a
realization.
Summary
for general Boolean functions. This chapter has briefly discussed each
36
GE/EE/62-2
under which a signal appears at the output of any gate is not as easily
Theory
The final output of any threshold network is always the output from a
ual variables and other threshold functions, Tl, T 2 ,..., Tk, all of
37
GE/EE/62-2
XnjF (56)
Tjw
Tk
n inputs:
xl
x2 T (57)
(5t
xn
n
w.x. >t, x. = 1 or 0 (58)
i=l -.
38
GE/EE/62-2
F = x 1 + x 2x 3 + x4 x 5 x 6 +... (59)
x, are true vertices; and since exactly half of all of the vertices con-
'l
2 n/2 or 2 n
tain x, (the other half containing ]I), F is true for these
wi > t (60)
39
GE/EE/62-2
then xjxk is also a prime implicant of T, and the number of input com-
be compared to t.
40
GE/EE/62-2
comparisons.
C21
2 (62)
E
6
H
D (63)
J K
2. Check for wi, w + wk* t
Combinations Prime Implicants_
a. singles > t: H (64)
G1
b. pairs > t: AK, BK, CK, UK, EK, UK, JK, EJ, GJ
41
GE/EE/62-2
or
T =H +K(A +B +C +13+ E +G +J)
+ J(E + C+(A+B)(C +D) + C13)
+ G(AB(C + 1) + E(A + B +C +D) + CD) + ABCDE (70)
and others for which n is small, do not require the procedure given
42
GE/EE/62-2
By substituting the expressions for Ti, T,... into this equation the
function F:
. T 1 =C(A+B) (73)
2. T 2 =T 1 DE--DE(AC +BG)
which simplifies to
43
GE/EE/62-2
which simplifies to
4. T4 = C(GT 2 + GT 3 + T 2 T 3 ) + CGT 2 T 3
= T 2 T 3 (C + G) + (T 2 + T 3 )CG
which simplifies to
5. F = T3 (H(T 2 + TO) + T2 T 4 ) + HT 2 T 3 T 4
T 3 = A + B+CD (78)
44
GE/EE/62-2
which reduces to
gates with inputs consisting of variables only to the final output gate.
45
GE/EE/62-2
given,
F (80)
B 1
C
D3 F(81)
E
GV
The threshold function realized by this gate can be written, but the
unwieldiness of the expression can be demonstrated by recalling that
In this case the expression for the function would have thirty-five
46
GE/EE/62-2
(two out of three), the analysis may make use of majority logic. Since
majority logic requires specialized knowledge of Boolean algebra which
has been extended to include the majority operator #, this case will not
lating the Boolean expression for the function, relying instead on the
Xl _ll4 T1
x_
1 1-(83)
47-
47
GE /EE/62-2
gate and each input variable is assigned a unit weight. The leads for
the input vectors are termed "input vector leads" and the input leads
representing outputs from other gates are termed "threshold leads. "
where 0 < N < n. Since each variable has a weight of 1, N also repre-
sents the weighted input sum for the input vector leads. Thus if N = 3,
three input variables have a truth value of 1, and the weighted vector
input sum is 3.
each gate is fed to one or more succeeding gates until the output gate
terminates the process. The output gate is termed the lowest level
gate, and the gate having input vector leads only (the input gate) is
Ineqs (6), can be written in the following simple form for those
from higher level gates: For all possible values of N, the following
and
wTiT i + wT T j ... + N < t whenever F is false (84b)
48
GE/EE/62-2
T. and T. are used as binary variables in Ineqs (84). Since there are
ric threshold gates, Ineqs (84) can be easily used to determine the
output truth value for any threshold gate in the network. This fact
provides the basis for the simple "truth table" method for determining
gate, ordered from the highest level gate to the lowest level gate. Thus
table. The first column is the vector (0, 1, 2,..., n) which represents
N T1 T2 F
3
(85)
4
algebraic inequality given by Ineq (83a) for each gate. For the example
49
GE/EE/62-2
a. T 1 is true whenever
N > 4 (86)
b. T 2 is true whenever
c. F is true whenever
in the truth table. F will now be defined by the last column of the
N T, T2 F
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1 (89)
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
50
GE/EE/62-2
symmetric functions.
be examined.
both of which are areas outside the scope of this study. Investigation
some attention must now be paid to tae timing involved in the operation
windings during phase one and the output pulse, if any, appearing on
advent of the advance pulse during phase two. Other types of threshold
gates can have the output signal appear simultaneously (for all practical
that the signal level representing truth is the same in both input and
51
GE/EE/62-2
output circuits:
. 1tF(90)
n
-wix i >t , x i - I or 0 (91)
i=1
Assume that the input signals are such that an output signal appears;
then there is feedback present and its effect depends on the value
assigned to wF. Only two limiting cases need be examined, since the
A
A(S)
(92)
A(R)
52
GE/EE/62-2
that the output signal, if any, appears simultaneously with the appli-
cation of the input signals:
xl F (93)
x 5w
Assume now that in the initial clock period the input composite is
such that an output F 1 appears, where F 1 is uniquely determined by
(wl ... , wn;t). Since the feedback is delayed until the next clock
In the second clock period, the effect is contingent upon the value
locked up.
n
b. wF <-( Wi - t): This will cut off operation of the threshold
gate gate for the current clock period; with no output signal, there will
its value t to a new value, t - wF, for the next clock period. The effect
53
GE/EE/62-2
the threshold gate can best be described in terms of the state variables
table" where* for Q and Q', a value of 0 denotes the state which can
0 0 0 0 0
0 0 1 0 0
0 1 0 X X
0 1 1 1 1
(95)
1 0 0 0 0
1 0 1 1 1
1 1 0 X X
1 1 1 1 1
54
GE/EE/62-2
used for F and Q' for these combinations to denote a "don't care"
Q1: (Ewx) 1
(96)
x 1 0 10
(ywx) 2
A state diagram can be drawn for this circuit, using the following
notation:
55
GE/EE/62-2
Thus it is clear that the feedback and delay causes the threshold gate
table:
Clock 1: (1: 1 0 0
02: 0 1 0
Clock 2: 01: 1 0 1
S2: 0 0 0 (104)
Clock 3: (I: 1 0 0
o
02: 1 0
Clock 4: 0 1: 1 0 1
9.: 0 0 0
56
GE/EE/62-2
Summary
57
GE/EE/62-2
can be realized by the use of AND, OR, and NOT gates, or one
Then
T= (B + C) (106a)
T 2 = (C + D) (106b)
T3 - T 1T 2 (106c)
T 4 =KLM (106d)
T 5 = (T 3 + T4) (106e)
T6 - F AT 5 (106f)
(107)
58
GE/EE/62-2
3 F7(108)
has been noted in the literature, but no synthesis procedure has been
Theory
and NAND logic gates comprise a subset of the set of all threshold
t is given by
Therefore, if
T = yl + y2
+"°+ Ym (110)
59
GE/EE/62-2
r2ninwt T(1)
Ym
where t is given by
m
t = wi (112)
i=1
Therefore, if
it is realized as shown:
Y2T (114)
T2 = T 1 + + x 2 +...+x(115a)
or
T 2 = TlX 1 X ... x (115b)
60
GE/EE/62-2
fication of the threshold gate used to realize T The basis for such
such that
weight wc , given by
w =t (116)
c 1
for the additional n inputs to T 2 ; and a threshold t 2 given by
t 2 = t1 (117)
follows:
Y 2 (118)
xl-
-M T
Xn
requires that
m
'wry i > t2 when T 1 is true, (119)
i=1 1
61
GE/EE/62-2
and
w c _tt 2 (120)
wc = t 1 (116)
and
t2 -t 1 (117)
T2 = T 1 x 1 x 2.. Xn (115b)
given by
m
-w.-t
wc = L=l 1 +1 (121)
t 2 =t 1 + nw (122)
2(123)
62
GE/EE/62-2
that T I is true, and if all x's are true, then T 2 is true. This requires
that
t 2 <t I + nw c (124)
false. Hence,
m
t > Y=wi + (n - 1)wc (125)
or,
Wc =iwi - t1 + 1 (121)
and
and the threshold function T 2 is realized. These results are now used
63
GE/EE/62-2
Procedure
follows:
1 23 33 3 3 321
F = (A((B + C)(C + D) + (KLM))) (105)
to Eq (105), the 3rd order terms are realized first, then the 2nd
a.
Simple AND or OR functions: These are realized using
m
a common weight of 1, and a threshold of .w i or 1, respectively.
i=1
b. Functions of the forms given by Eqs (115): These are
64
GE/EE/62-2
this rule comes only when one function, say TI, is a simple (i. e.,
T 3 = T 1 T 2 = YlY2'..YmT 2 (127)
F = I(AB + CD(E +G + H)
+ JKL(M(N +0) + (0 + P)(QR(S + T + U) + V) + WXY + Z)) (129)
65
GE/EE/62-2
123 3 34 44 43 34 445 6 65
F = (I((AB) + ((CD)(E + G + H)) + ((JKL)((M(N + 0))
56 6678 88 87 65 5 5 4321
+ ((0 + P)(((QR)(S + T + U)) + V)) + (WXY) + Z)))) (129)
Q
T1 =TQR: 1 (130)
S
T 2 = S +T +U: T 2 (131)
*w 33 =:
. w 23- 2t 2 + 1
= 3 - 1 + 1 3 (132)
and S3 t 2 + nw 3
= + (2)(3) =7 - U 11 (133)
66
GE/EE/62-2
N 1
T4 N +O: 1 T4 (135)
0
0 rp
T5 0 + P: 1 1 5 (136)
w6 = t 3 = 7 (137)
and
t6 = t 3 = 7 TS 1 (138)
U 1
Thus T 6 is realized by: 33 T6 (139)
Q 3
T 7 = Mr 4 : Apply Th 2 toT 4 .
w 7 =,FA-W4 - t 4 + 1
= 2 - 1 +1 =2 (140)
and
t 7 = t 4 + nw
-1 + (1)(2) = 3 (141)
67
GE!EE/62-2
N 1
T7 (12
Thus T7 is realized by: 0 1 3 12
W8 .I.w 5 ,- t 5+ 1
= 2- 1 + 12 (143)
and
= t 5 + nw(144)
=1 + (1)(2) =3
01
T9 = WXY: x 1 3 9 (146)
T CD: (147)
10 1
68
GE/EE/62-2
E
Tll=E+G+H: G 1 (148)
1 1
1
H
Ji1
T12 JKL: K 1 T 12 (149)
121
T 13 T 7 + T 8 +T 9 + Z: ApplyTh 1 to T9
w 13 = 9 =3 (150)
and
t 13 =to -
(151)
y 1
A 1
T = AB: 1T 14 (153)
B 14
w1 5 =.WIll - tll + 1
= 3 - 1 + 1 =3 (154)
69
GE/EE/62-2
and
t1 5 tt11 + lwl15
1(2)(3) = 7 E (155)
1
G
Thus T 1 5 is realized by: H 1 7 5 (156)
3
C 3
D
T 16 T 12T 13: Apply Th 2toT 1
il
KL
8. Realize 2nd order term:
w 17t =2 (160)
ad t 17t 142
(161)
17 14 (12
17; T T
T1 6
70
GE/EE/62-2
= 6 - 2+1= 5 (163)
and
t18 =t17 + w18
= 1()=7A (164)
BlF
Thus F is realized by: T,2 2F 7(165)
T 146
I
1
Gi1
H 1
C33 7
D 1
1 T6 1 7 F (166)
37 371
GE/EE/62-2
up to 51'.
Note that the manner in which the function was originally factored
Conclusion
on a digital computer.
72
GE/EE/62-2
algorithm and counter example are presented below after first devel-
Notation
F true are termed "true valuations;" all valuations not true valuations
are termed "false valuations. " Rows of F's truth table corresponding
the rows of F's truth table so as to have the first m rows of the truth
table be the m true rows. This truth table is called the "altered truth
table. " Define a truth table matrix P whose elements are those of the
altered truth table; partition this matrix so that the m true rows form
the sub-matrix PT and the false rows form the sub-matrix PF:
P - (167)
73
GE/EE/62-2
f -- --- (168)
i.e., T
wj=1 q. (171)
gi = piW (173)
Then
gg T( T1 (174)
that the first m rows (which comprise P T) are true rows which
74
GE/EE/62-2
n
correspond to the minterms of F; and the remaining 2 - m rows
and each column of QT is summed. Each column sum gives the weight
w to be assigned to the variable represented by that column. The row
J T
vector W contains these weights for all variables. Each minterm of
Stuart's Algorithm
75
GE/EE/62-2
given function.
A: A: D
19
(179)
7 23
-- C - -C
15 29 31 30
11 27
E E
76
GE/EE/62-2
The numbers on the map are the conventional truth table designations
column from the number of l's in each column gives the same weight
PT: # A B C D E
7 0 0 1 1 1
11 0 1 0 1 1
15 0 1 1 1 1
19 1 0 0 1 1
23 1 0 1 1 1 (180)
27 1 1 0 1 1
29 1 1 1 0 1
30 1 1 1 1 0
31 1 1 1 1 1
wj 3 3 3 7 7
0 7 14 7 3 10 17 10
3 10 10 6 13 20 13(181)
6 13 20 13 9 16 23 16
3 10 17 10 6 13 20 13
77
GE/EE/62-2
By inspection, since
= 14 (182)
IgTI= 16 >maxg
T
W = (3, 3, 3, 7, 7) (183)
and
t = 16 (184)
A: DA:
3 19
7 21 23
C C (186)
B 29 31
E E
PT: # A B C D E
3 0 0 0 0 0
7 0 0 1 1 1
19 1 0 0 1 1
21 1 0 1 0 1 (187)
23 1 0 1 1 1
29 1 1 1 0 1
31 1 1 1 1 1
wj 3 -3 3 3 7
78
GE/EE/62-2
0 7 10 3 3 10 13 6
310\13 6 6 13 16 9 (188)
o 710 3 3 10o13 6
-3 4 7 0 0 7 10 3
Counter Example
=
F ABC +D(A-+ B+C) (190)
5 7
(191)
13 15 8
9 11
79
GE/EE/62-2
PT # A B C D
3 0 0 1 1
5 0 1 0 1
7 0 1 1 1
9 1 0 0 1
(192)
11 1 0 1 1
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
wi 2 2 2 6
w./2 1 1 1 3
0 3 4 1
1 r4 5 2(13
(193)
2 5 6
1 4 52
min
f9_TJ / max (_gF} (194)
80
GE/EE/62-2
T (195)
realized by
w= (1,1,1,2)
and a threshold
t = 3 (196)
A
B 1F (197)
Conclusions
81
GE/EE/62-2
six variables.
which list all linearly separable functions, and the weights and
82
GE/EE/62-2
Conclusions
optimal;
variables; and
83
GE/EE/62-2
logic, given above, indicates many areas for interesting and useful
contribution.
further investigated.
84
GE/EE/62-2
Bibliography
1. Akers, S. B., Jr. "A Truth Table Method for the Synthesis of
Combinational Logic. " IRE Transactions on Electronic Computers,
EC-10:604-614 (December 1961).
85
GE/EE/62-2
23. Phister, M., Jr. Logical Desig of Digita Computers. New York:
John Wiley and Sons, Inc., 1-58.
86
GE/EE/62-2
87