Combinational Logic Design
Combinational Logic Design
Combinational Logic Design
• If both i/p are the same, the output is 0; otherwise, the output is 1
QN: Design timing diagram of all basic gates, other gates and universal gates.
• Duality Principle:
• Change binary operator ‘+’ to ‘.’ and vice versa
• Inverse all the identity element i.e. ‘0’ and ‘1’
(X + Y) ꞌ = X ꞌ . Yꞌ
ii. The complement of product of two or more variables is equal to the sum of complements of individual
variables
i.e. if ‘X’ and ‘Y’ are two variables then,
(X . Y) ꞌ = X ꞌ + Yꞌ
• State De-Morgan’s first and second theorem. Verify using truth table. Also illustrate by gate equivalences.
• A + 0 Complement
• A Identity.
?
Prepared By: Bishal Khadka
Simplification: A’(A + B) + (B + AA)(A + B’)
Expression Rule(s) Used
A’(A + B) + (B + AA)(A + B’) Original Expression
A’(A + B) + (B + A )(A + B’) Idempotent (AA to A)
A’A + A’B + (B + A)A + (B + A)B’ Distributive, used twice.
A’B + (B + A)A + (B + A)B’ Complement (A’A=0) then Identity (0 +X =X).
A’B + BA + AA + BB’ + AB’ Distributive, two places.
A’B + BA + A + AB’ Idempotent (AA=A),Complement and Identity (BB’=0)
A’B + AB + A1 + AB’ Commutative, Identity; {setting up for the next step}.
A’B + A(B + 1 + B) Distributive.
A’B + A Identity,
A + A’B Commutative.
(A + A’)(A + B) Distributive.
A + B Complement, Identity.
• Minterm: ‘n’ variables forming AND term with each variables being primed or unprimed , provides
2n possible combinations (Note: variables being primed if the corresponding bit of binary no. is ‘0’
& unprimed if bit is ‘1’)
• Maxterm: ‘n’ variables forming OR term with each variables being primed or unprimed , provides
2n possible combinations (Note: variables being primed if the corresponding bit of binary no. is ‘1’
& unprimed if bit is ‘0’)
Prepared By: Bishal Khadka
Contd…
m4 m5 m7 m6 v. F(X,Y,Z)=∑(0,2,4,6) : C'
1 vi. F(X,Y,Z)=∑(0,1,2,4,6) : C' + A'B'
vii. F(X,Y,Z)=∑(1,2,4,6) : BC’+AC’+A'B'C
• Simplify the following Boolean function in SOP and POS form using K-Map
i. F(W,X,Y,Z)=∑(3,4,13,15) and D(W,X,Y,Z)=∑(1,2,5,6,8,10,12,14)
ii. F(W,X,Y,Z)=∑(0,6,8,13,14) and D(W,X,Y,Z)=∑(2,4,10)
iii. F(A,B,C,D)=∏(0,1,3,7,8,12) and D(A,B,C,D)= ∏(5,10,13,14)
iii. F(A,B,C,D)=∏(0,2,4,6,8) and D(A,B,C,D)= ∏(1,12,9,15)
iv. F(A,B,C,D)=∏(0,2,4,6,8,10,12,14) and D(A,B,C,D)= ∏(1,3,9,11)
And design logic diagram
• Logic Diagram
E AB D0 D1 D2 D3
0 XX 0 0 0 0
1 00 1 0 0 0
1 01 0 1 0 0
1 10 0 0 1 0
E 1 11 0 0 0 1
Boolean Expression:
Selection Outputs
inputs
S1 S0 Y0 Y1 Y2 Y3
0 0 I 0 0 0
0 1 0 I 0 0
1 0 0 0 I 0
1 1 0 0 0 I
Y1 , Y2 , Y3 = ??
0 0 1 0
0 1 0 1
1 0 1 1
1 1 1 0