Professional Documents
Culture Documents
The "if" and "and" are not included in any phrase; they
show the relationships among the phrases.
We will define a two-valued variable to indicate the
truth or falsity of each phrase:
F = 1 if "Mary watches TV" is true; otherwise, F =0.
A = 1 if "it is Monday night" is true; otherwise, A = 0.
B = 1 if "she has finished her homework" is true;
otherwise B = 0.
Because F is "true" if A and B are both "true", we can
represent the sentence by
F = A·B
and
Z=buy car
A=father gives loan
B=get bank loan
C= graduate
Z=C(A+B)
f=(A+B+C)(A+B+C’)(A+B’+C)
m0 m1 m2 m3 m4 m5 etc…
000 001 010 011 100 101
A’B’C’ A’B’C A’BC’ A’BC AB’C’ AB’C
f(A,B,C)=∑m(3,4,5,6,7) (5.5c)
Each of the sum terms (or factors) in Equation (4-3) is referred to
as a maxterm.
In general, a maxterm of n variables is a sum of n literals in
which each variable appears exactly once in either true or
complemented form, but not both. Table 4-1 lists all of the
maxterms of the three variables A, B, and C Each maxterm has a
value of 0 for exactly one combination of values for A, B, and C
Thus, if A = B = C = 0, A + B + C = 0; if A = B = 0 and C = 1, A + B
+ C' = 0; and so forth. Maxterms are often written in abbreviated
form using M-notation. The maxterm which corresponds to row i
of the truth table is designated Mi. Note that each maxterm is the
complement of the corresponding minterm, that is, Mi = mi'
f(A,B,C)=M0M1M2 (5.6.a)
f(A,B,C)=M(0,1,2) (5.6.a)
f(A,B,C)=∑m(3,4,5,6,7) (5.5c)
f’=m0+m1+m2 (5.7)
Similarly, the maxterm expansion for f' contains those
maxterms not present in f.
From Equation (5-6),
f’=M(3,4,5,6,7)=M3M4M5M6M7 (5.8)
f ' (m3 m4 m5 m6 m7 )' m1, m2, m3, m4, m5, m6, m7,
M 1M 2 M 3 M 4 M 5 M 6 M 7
Similarly, Equation (5-7) can be obtained by complementing
Equation 5-6):
(5.9)
Duplicate terms have been crossed out, because
X + X = X. This expression can then be converted to
decimal notation:
(5-11)
(5.12)
(5.15)
(5.16)
(5.18)
The product is
Don’t care
A B X Y
Sum (Toplam)=X’Y’Cin+XY’Cin’+X’YCin’+XYCin
Sum (Toplam)=Cin’(XY’+X’Y)+Cin(XY+X’Y’)
Sum (Toplam)=CinX Y
Cout=X’YCin+XY’Cin+XYCin’+XYCin
Cout=Cin(XY’+X’Y)+XY
Cout=Cin(X Y)+XY
11/24/2014
Design of Full Adder Circuit
11/24/2014
Design of Full Subtractor Circuit
X Y Bin Bout D
Bin: Barrow in 0 0 0 0 0
Bout: Barrow out 0 0 1 0 1
D: Differece (Fark) 0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
Full Subtractor Circuit and its Truth Table
11/24/2014
Design of Full Subtractor Circuit
Fark=D=X’Y’Bin+X’YBin’+ +XY’Bin’+XYBin
Fark=D=Bin’(XY’+X’Y)+Bin(XY+X’Y’)
Fark=D=BinX Y
Bout=X’Y’Bin+X’YBin’+X’YBin+XYBin
Bout=Bin(X’Y’+XY)+X’Y
Bout=Bin(X Y)’+X’Y
11/24/2014
Design of Full Subtractor Circuit
A B
C D
+
X Y Z
X: carry Y Z: sum
11/24/2014