SlideShare a Scribd company logo
1 of 65
Unit 2:
Combinational Circuits
Output is function of input only
i.e. no feedback
When input changes, output may change (after a delay)
•
•
•
•
•
•
n inputs m outputs
Combinational
Circuits

1 / 65
Combinational Circuits
Analysis
● Given a circuit, find out its function
● Function may be expressed as:
♦ Boolean function
♦ Truth table
Design
● Given a desired function, determine its circuit
● Function may be expressed as:
♦ Boolean function
♦ Truth table
A
B
C
A
B
C
A
B
A
C
B
C
F1
F2
?
?
?
2 / 65
3 / 65
Analysis Procedure
Boolean Expression Approach
A
B
C
A
B
C
A
B
A
C
B
C
F1
F2
ABC
A+B+C
AB+AC+BC
(A’+B’)(A’+C’)(B’+C’)
AB'C'+A'BC'+A'B'C
F1=AB'C'+A'BC'+A'B'C+ABC
F2=AB+AC+BC
A = 0
B = 0
C = 0
A = 0
B = 0
C = 0
A = 0
B = 0
A = 0
C = 0
B = 0
C = 0
F1
F2
Analysis Procedure
4 / 65
Truth Table Approach A B C F1 F2
0 0 0 0 0
0
0
0
0
0
0
1
0
0
A = 0
B = 0
C = 1
A = 0
B = 0
C = 1
A = 0
B = 0
A = 0
C = 1
B = 0
C = 1
F1
F2
Analysis Procedure
5 / 65
Truth Table Approach
0
1
0
0
0
0
1
1
1
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
A = 0
B = 1
C = 0
A = 0
B = 1
C = 0
A = 0
B = 1
A = 0
C = 0
B = 1
C = 0
F1
F2
Analysis Procedure
6 / 65
Truth Table Approach
0
1
0
0
0
0
1
1
1
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
A = 0
B = 1
C = 1
A = 0
B = 1
C = 1
A = 0
B = 1
A = 0
C = 1
B = 1
C = 1
F1
F2
Analysis Procedure
7 / 65
Truth Table Approach
0
1
0
0
1
1
0
0
0
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
A = 1
B = 0
C = 0
A = 1
B = 0
C = 0
A = 1
B = 0
A = 1
C = 0
B = 0
C = 0
F1
F2
Analysis Procedure
8 / 65
Truth Table Approach
0
1
0
0
0
0
1
1
1
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
A = 1
B = 0
C = 1
A = 1
B = 0
C = 1
A = 1
B = 0
A = 1
C = 1
B = 0
C = 1
F1
F2
Analysis Procedure
9 / 65
Truth Table Approach
0
1
0
1
0
1
0
0
0
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
A = 1
B = 1
C = 0
A = 1
B = 1
C = 0
A = 1
B = 1
A = 1
C = 0
B = 1
C = 0
F1
F2
Analysis Procedure
10 / 65
Truth Table Approach
0
1
1
0
0
1
0
0
0
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
A = 1
B = 1
C = 1
A = 1
B = 1
C = 1
A = 1
B = 1
A = 1
C = 1
B = 1
C = 1
F1
F2
Analysis Procedure
Truth Table Approach
1
1
1
1
1
1
0
0
1
A B C F1 F2
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
B
0 1 0 1
A 1 0 1 0
C
B
0 0 1 0
A 0 1 1 1
C
F1=AB'C'+A'BC'+A'B'C+ABC
11 / 65
F2=AB+AC+BC
Design Procedure
Given a problem statement:
● Determine the number of inputs and outputs
● Derive the truth table
● Simplify the Boolean expression for each output
● Produce the required circuit
Example:
Design a circuit to convert a “BCD” code to “Excess 3” code
 4-bits
 0-9 values
 4-bits
 Value+3
?
12 / 65
Design Procedure
BCD-to-Excess 3 Converter
A B C D w x y z
0 0 0 0 0 0 1 1
0 0 0 1 0 1 0 0
0 0 1 0 0 1 0 1
0 0 1 1 0 1 1 0
0 1 0 0 0 1 1 1
0 1 0 1 1 0 0 0
0 1 1 0 1 0 0 1
0 1 1 1 1 0 1 0
1 0 0 0 1 0 1 1
1 0 0 1 1 1 0 0
1 0 1 0 x x x x
1 0 1 1 x x x x
1 1 0 0 x x x x
1 1 0 1 x x x x
1 1 1 0 x x x x
1 1 1 1 x x x x
C
1 1 1
B
A
x x x x
1 1 x x
D
C
B
A
1 1 1
1
x x x x
1 x x
D
C
1 1
1 1
B
A
x x x x
1 x x
D
C
B
A
1 1
1 1
x x x x
1 x x
D
w =A+BC+BD
13 / 65
x = B’C+B’D+BC’D’
y = C’D’+CD z = D’
Design Procedure
BCD-to-Excess 3 Converter
A B C D w x y z
0 0 0 0 0 0 1 1
0 0 0 1 0 1 0 0
0 0 1 0 0 1 0 1
0 0 1 1 0 1 1 0
0 1 0 0 0 1 1 1
0 1 0 1 1 0 0 0
0 1 1 0 1 0 0 1
0 1 1 1 1 0 1 0
1 0 0 0 1 0 1 1
1 0 0 1 1 1 0 0
1 0 1 0 x x x x
1 0 1 1 x x x x
1 1 0 0 x x x x
1 1 0 1 x x x x
1 1 1 0 x x x x
1 1 1 1 x x x x
w
x = B’(C+D) + B(C+D)’ z = D’
14 / 65
x
D
C
z
y
B
A
w = A+ B(C+D) y = (C+D)’+ CD
15 / 65
Seven-Segment Decoder
a
b
c
g
e
d
f
?
w
x
y
z
a
b
c
d
e
f
g
w x y z a b c d e f g
0 0 0 0 1 1 1 1 1 1 0
0 0 0 1 0 1 1 0 0 0 0
0 0 1 0 1 1 0 1 1 0 1
0 0 1 1 1 1 1 1 0 0 1
0 1 0 0 0 1 1 0 0 1 1
0 1 0 1 1 0 1 1 0 1 1
0 1 1 0 1 0 1 1 1 1 1
0 1 1 1 1 1 1 0 0 0 0
1 0 0 0 1 1 1 1 1 1 1
1 0 0 1 1 1 1 1 0 1 1
1 0 1 0 x x x x x x x
1 0 1 1 x x x x x x x
1 1 0 0 x x x x x x x
1 1 0 1 x x x x x x x
1 1 1 0 x x x x x x x
1 1 1 1 x x x x x x x
y
1 1 1
1 1 1
x
x x x x
w 1 1 x x
z
BCD code
a = w + y + xz + x’z’ b = . . .
c = . . .
d = . . .
Binary Adder
Half Adder
● Adds 1-bit plus 1-bit
● Produces Sum and Carry
HA
x
y
S
C
x y C S
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
x
+ y
───
C S
x
16 / 65
y
S
C
Binary Adder
Full Adder
● Adds 1-bit plus 1-bit plus 1-bit
● Produces Sum and Carry
x y z C S
0 0 0 0 0
0 0 1 0 1
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
x
+ y
+ z
───
C S
FA
x
y
z
S
C
y
x
0 1 0 1
1 0 1 0
z
0 0 1 0
0 1 1 1
z
S = xy'z'+x'yz'+x'y'z+xyz = x  y  z
y
x
C = xy + xz + yz
17 / 65
Binary Adder
Full Adder
x
y
z
S
C
x
y
z
x
y
z
x
y
z
x
y
z
x
y
x
z
y
z
x
y
z
x
y
x
z
y
z
x
y
z
S
18 / 65
C
S = xy'z'+x'yz'+x'y'z+xyz = x  y  z
C = xy + xz + yz
Binary Adder
Full Adder
x
y
z
S
C
HA
x
y
z
HA S
19 / 65
C
20 / 65
Binary Adder
c c c
3 2 1
+ x3 x2 x1 x0
+ y3 y2 y1 y0
────────
Cy S3 S2 S1 S0
FA
x3 x2
FA
FA
FA
y3 y2
x1
y1
x0
y0
S3 S2 S1 S0
C4 C3 C2 C1
0
BinaryAdder
x3x2x1x0 y3y2y1y0
S3S2S1S0
C0
Cy
Carry
Propagate
Addition
21 / 65
Binary Adder
Carry Propagate Adder
A3 A2 A1 A0 B3 B2 B1 B0
CPA
S3 S2 S1 S0
C0
Cy
A3 A2 A1 A0 B3 B2 B1 B0
CPA
S3 S2 S1 S0
C0
Cy
x3 x2 x1 x0
y3 y2 y1 y0
x7 x6 x5 x4
y7 y6 y5 y4
S3 S2 S1 S0
S7 S6 S5 S4
0
BCD Adder
4-bits plus 4-bits
Operands and Result: 0 to 9
+ x3 x2 x1 x0
+ y3 y2 y1 y0
────────
Cy S3 S2 S1 S0
X +Y x3 x2 x1 x0 y3 y2 y1 y0 Sum Cy S3 S2 S1 S0
0 + 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0
0 + 1 0 0 0 0 0 0 0 1 = 1 0 0 0 0 1
0 + 2 0 0 0 0 0 0 1 0 = 2 0 0 0 1 0
0 + 9 0 0 0 0 1 0 0 1 = 9 0 1 0 0 1
1 + 0 0 0 0 1 0 0 0 0 = 1 0 0 0 0 1
1 + 1 0 0 0 1 0 0 0 1 = 2 0 0 0 1 0
1 + 8 0 0 0 1 1 0 0 0 = 9 0 1 0 0 1
1 + 9 0 0 0 1 1 0 0 1 = A 0 1 0 1 0
2 + 0 0 0 1 0 0 0 0 0 = 2 0 0 0 1 0
9 + 9 1 0 0 1 1 0 0 1 = 12 1 0 0 1 0
Invalid Code
Wrong BCD Value
22 / 65
0001 1000
BCD Adder
X +Y x3 x2 x1 x0 y3 y2 y1 y0 Sum Cy S3 S2 S1 S0 Required BCD Output Value
9 + 0 1 0 0 1 0 0 0 0 = 9 0 1 0 0 1 0 0 0 0 1 0 0 1 = 9
9 + 1 1 0 0 1 0 0 0 1 = 10 0 1 0 1 0 0 0 0 1 0 0 0 0 = 16
9 + 2 1 0 0 1 0 0 1 0 = 11 0 1 0 1 1 0 0 0 1 0 0 0 1 = 17
9 + 3 1 0 0 1 0 0 1 1 = 12 0 1 1 0 0 0 0 0 1 0 0 1 0 = 18
9 + 4 1 0 0 1 0 1 0 0 = 13 0 1 1 0 1 0 0 0 1 0 0 1 1 = 19
9 + 5 1 0 0 1 0 1 0 1 = 14 0 1 1 1 0 0 0 0 1 0 1 0 0 = 20
9 + 6 1 0 0 1 0 1 1 0 = 15 0 1 1 1 1 0 0 0 1 0 1 0 1 = 21
9 + 7 1 0 0 1 0 1 1 1 = 16 1 0 0 0 0 0 0 0 1 0 1 1 0 = 22
9 + 8 1 0 0 1 1 0 0 0 = 17 1 0 0 0 1 0 0 0 1 0 1 1 1 = 23
9 + 9 1 0 0 1 1 0 0 1 = 18 1 0 0 1 0 0 0 0 1 1 0 0 0 = 24
+ 6
23 / 65









BCD Adder
Correct Binary Adder’s Output (+6)
● If the result is between ‘A’ and ‘F’
● If Cy = 1
S3 S2 S1 S0 Err
0 0 0 0 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
S1
S
3
1 1 1 1
1 1
2
S
S0
Err = S3 S2 + S3 S1
24 / 65
BCD Adder
A3 A2 A1 A0 B3 B2 B1 B0
Binary Adder
S3 S2 S1 S0
Cy
A3 A2 A1 A0 B3 B2 B1 B0
Binary Adder
S3 S2 S1 S0
Cy
0 0
Ci 0
Ci 0
S3 S2 S1 S0
25 / 65
Cy
x3 x2 x1 x0 y3 y2 y1 y0
Err
Binary Subtractor
Use 2’s complement with binary adder
● x – y = x + (-y) = x + y’ + 1
x3 x2 x1 x0 y3 y2 y1 y0
A3 A2 A1 A0 B3
Binary Adder
S3 S2 S1 S0
Cy
B2 B1 B0
Ci 1
F3 F2 F1 F0
26 / 65
Binary Adder/Subtractor
A3 A2 A1 A0 B3
Binary Adder
S3 S2 S1 S0
B2 B1 B0
Ci
Cy
M
x3 x2 x1 x0 y3 y2 y1 y0
F3 F2 F1 F0
M: Control Signal (Mode)
27 / 65
● M=0  F = x + y
● M=1  F = x – y
Overflow
Unsigned Binary Numbers
FA
x3 x2 x1
FA
FA
FA
y3 y2 y1
x0
y0
S3 S2 S1 S0
C4 C3 C2 C1
0
Carry
FA
x2 x1
FA
FA
FA
2’s Complement Numbers
x3
y3 y2 y1
x0
y0
S3 S2 S1 S0
C4 C3 C2 C1
0
28 / 65
Overflow
Magnitude Comparator
Compare 4-bit number to 4-bit number
● 3 Outputs: < , = , >
● Expandable to more number of bits
Magnitude
Comparator
A<B A=B A>B
A3A2A1A0 B3B2B1B0
x3  A3 B3  A3 B3
x2  A2 B2  A2 B2
x1  A1 B1  A1 B1
x0  A0 B0  A0 B0
(A  B)  x3 x2 x1 x0
(A  B)  A3 B3  x3 A2 B2  x3 x2 A1 B1  x3 x2 x1 A0 B0
(A  B)  A3 B3  x3 A2 B2  x3 x2 A1 B1  x3 x2 x1 A0 B0
29 / 65
Magnitude Comparator
A3
(A<B)
B3
A2
B2
A1
B1
A0
B0
(A>B)
(A=B)
x3
x2
x1
x0
30 / 65
Magnitude Comparator
3 2 1 0
A A A A B3 B2 B1 B0
I(A>B)
I(A<B)
I Magnitude
(A=B)
Comparator
A<B A=B A>B
A<B A=B A>B
x3 x2 x1 x0
y3 y2 y1 y0
x7 x6 x5 x4
y7 y6 y5 y4
Magnitude
3 2 1 0
A A A A B3 B2 B1 B0
A<B A=B A>B
I(A>B)
I(A=B)
Comparator
I(A<B)
0
1
0
31 / 65
Decoders
Extract “Information” from the code
Binary Decoder
● Example: 2-bit Binary Number
Binary
1
x 0
0 Decoder
x0
Only one
lamp will
turn on
1
0
0
0
32 / 65
Decoders
2-to-4 Line Decoder
I1 I0 Y3 Y2 Y1 Y0
0 0 0 0 0 1
0 1 0 0 1 0
1 0 0 1 0 0
1 1 1 0 0 0
Binary
Decode
r
I1
I0
y3
y2
y1
y0
I1
I0
Y3
Y2
Y1
Y0
Y3  I1 I0
Y1  I1 I0
Y2  I1 I0
Y0  I1 I0
33 / 65
Decoders
3-to-8 Line Decoder
Binary
Decode
r
I2
I1
I0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
I2
I1
I0
Y7
Y6
Y5
Y4
Y
Y2
Y1
Y0
2 1 0
 I I I
 I2 I1 I0
2 1 0
 I I I
 I2 I1 I0
3  I2 I1 I0
 I2 I1 I0
2 1 0
 I I I
 I2 I1 I0
34 / 65
Decoders
“Enable” Control
Binary
Decode
r
I1
I0
E
Y3
Y2
Y1
Y0
E I1 I0 Y3 Y2 Y1 Y0
0 x x 0 0 0 0
1 0 0 0 0 0 1
1 0 1 0 0 1 0
1 1 0 0 1 0 0
1 1 1 1 0 0 0
I1
I0
E
Y3
35 / 65
Y2
Y1
Y0
Decoders
Expansion
I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
0 0 0 0 0 0 0 0 0 0 1
0 0 1 0 0 0 0 0 0 1 0
0 1 0 0 0 0 0 0 1 0 0
0 1 1 0 0 0 0 1 0 0 0
1 0 0 0 0 0 1 0 0 0 0
1 0 1 0 0 1 0 0 0 0 0
1 1 0 0 1 0 0 0 0 0 0
1 1 1 1 0 0 0 0 0 0 0
I2 I1 I0
Binary
Decode
r
I0
I1
E Y0
Y3 Y7
Y2 Y6
Y1 Y5
Y4
Y3
Y2
Y1
Y0
Binary
Decode
r
I0
I1
E
Y3
Y2
Y1
Y0
36 / 65
Decoders
Active-High / Active-Low
I1 I0 Y3 Y2 Y1 Y0
0 0 0 0 0 1
0 1 0 0 1 0
1 0 0 1 0 0
1 1 1 0 0 0
I1 I0 Y3 Y2 Y1 Y0
0 0 1 1 1 0
0 1 1 1 0 1
1 0 1 0 1 1
1 1 0 1 1 1
Binary
Decode
r
I1
I0
Y3
Y2
Y1
Y0
I1
I0
Y3
Y2
Y1
Y0
Binary
Decode
r
I1
I0
Y3
Y2
Y1
Y0
37 / 65
38 / 65
Implementation Using Decoders
Each output is a minterm
All minterms are produced
Sum the required minterms
Example: Full Adder
S(x, y, z) = ∑(1, 2, 4, 7)
C(x, y, z) = ∑(3, 5, 6, 7)
I2
I1
I0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Binary
Decoder
x
y
z
S C
Implementation Using Decoders
I2
I1
I0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Binary
Decoder
x
y
z
S C
I2
I1
I0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Binary
Decoder
39 / 65
x
y
z
S C
Encoders
Put “Information” into code
Binary Encoder
● Example: 4-to-2 Binary Encoder
x3 x2 x1 y1 y0
0 0 0 0 0
0 0 1 0 1
0 1 0 1 0
1 0 0 1 1
Binary
Encoder
y1
y0
x1
x2
x3
Only one
switch
should be
activated
at a time
40 / 65
Encoders
Octal-to-Binary Encoder (8-to-3)
I7 I6 I5 I4 I3 I2 I1 I0 Y2 Y1 Y0
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 1 0 0 0 1
0 0 0 0 0 1 0 0 0 1 0
0 0 0 0 1 0 0 0 0 1 1
0 0 0 1 0 0 0 0 1 0 0
0 0 1 0 0 0 0 0 1 0 1
0 1 0 0 0 0 0 0 1 1 0
1 0 0 0 0 0 0 0 1 1 1
Binary
Encode
r
Y2
Y1
Y0
I7
I6
I5
I4
I3
I2
I1
I0
Y2  I7  I6  I5  I4
Y1  I7  I6  I3  I2
Y0  I7  I5  I3  I1
I
41 / 65
7
I6
I5
I4
I3
I2
I1
I0
Y2
Y1
Y0
Priority Encoders
4-Input Priority Encoder
I3 I2 I1 I0 Y1 Y0 V
0 0 0 0 0 0 0
0 0 0 1 0 0 1
0 0 1 x 0 1 1
0 1 x x 1 0 1
1 x x x 1 1 1
Priority
Encode
r
V
Y
Y
1
0
I3
I2
I1
I0
I0
I3
I2
I1
Y1
Y0
V
0
1
V  I3  I2  I  I
Y0  I3  I2 I1
2
Y1  I3  I
Y1
42 / 65
I2
I3
I1
1 1 1 1
1 1 1 1
1 1 1 1
I0
Encoder / Decoder Pairs
Y2
Y1
Y0
I7
I6
I5
I4
I3
I2
I
I
1
0
I2
I1
I0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Binary
Encoder
Binary
Decoder
43 / 65
Multiplexers
MUX Y
I0
I1
I2
I3
S S
1 0
S1 S0 Y
0 0 I0
0 1 I1
1 0 I2
1 1 I3
44 / 65
45 / 65
Multiplexers
2-to-1 MUX
4-to-1 MUX
Y
I0
I1
MUX
S
I1
I0
Y
MUX Y
I0
I1
I2
I3
S S
1 0
S
I0
I1
S1 S0
Y
I2
I3
46 / 65
Multiplexers
Quad 2-to-1 MUX
Y
I0 MUX
I1 S
I0 MUX Y
I1 S
Y
I0 MUX
I1 S
I0 MUX Y
I1 S
x3
x2
x1
x
y3
y2
y1
0
y0
S
Y3
Y2
Y1
Y0
S E
A3
A2
A1
A0
B3
B2
B1
B0
MUX
A3
A2
A1
A0
S E
Y3
Y2
Y1
Y0
3
B
B2
B1
B0
47 / 65
Multiplexers
Quad 2-to-1 MUX
Y3
Y2
Y1
Y0
S E
A3
A2
A1
A0
B3
B2
B1
B0
MUX
A3
A2
A1
A0
S E
Y3
Y2
Y1
Y0
B3
B2
B1
B0
Extra
Buffers
Implementation Using Multiplexers
MUX Y
I0
I1
I2
I3
S S
1 0
x y F
0 0 1
0 1 1
1 0 0
1 1 1
Example
F(x, y) = ∑(0, 1, 3)
x y
48 / 65
F
1
1
0
1
Implementation Using Multiplexers
x y z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
Example
F(x, y, z) = ∑(1, 2, 6, 7)
MUX Y
49 / 65
I0
I1
I2
I3
I4
I5
I6
I7
S2 S1 S0
x y z
0
1
1
0
0
0
1
1
F
Implementation Using Multiplexers
MUX Y
I0
I1
I2
I3
S S
1 0
x y z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
Example
F(x, y, z) = ∑(1, 2, 6, 7)
x y
F
F = z
F = z
z
z
0
1
F = 0
F = 1
50 / 65
MUX Y
I0
I1
I2
I3
I4
I5
I6
I7
S S S
2 1 0
Implementation Using Multiplexers
A B C D F
0 0 0 0 0
0 0 0 1 1
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
Example
F(A, B, C, D) = ∑(1, 3, 4, 11, 12, 13, 14, 15)
A B C
F
F = D
F = D
F = D
F = 0
D
D
D
0
0
D
1
1
51 / 65
F = 0
F = D
F = 1
F = 1
52 / 65
Y
I0
I1
I2
I3
I4
I5
I6
I7
S2 S1 S0
Multiplexer Expansion
8-to-1 MUX using Dual 4-to-1 MUX
MUX Y
I0
I1
I2
I3
S S
1 0
MUX Y
I0
I1
I2
I3
S1 S0
Y
I0
I1
MUX
S
1 0 0
DeMultiplexers
I
Y3
DeMUX
Y2
Y1
Y0
S1 S0
S1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 I
0 1 0 0 I 0
1 0 0 I 0 0
1 1 I 0 0 0
I
Y3
Y2
Y1
Y0
S0
S1
53 / 65
Multiplexer / DeMultiplexer Pairs
Y
I7
I6
I5
I4
I3
I2
I1
I0
I
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
MUX DeMUX
S2 S1 S0 S2 S1 S0
x2 x1 x0
54 / 65
y2 y1 y0
Synchronize
DeMultiplexers / Decoders
Binary
Decoder
I1
I0
E
Y3
Y2
Y1
Y0
E I1 I0 Y3 Y2 Y1 Y0
0 x x 0 0 0 0
1 0 0 0 0 0 1
1 0 1 0 0 1 0
1 1 0 0 1 0 0
1 1 1 1 0 0 0
I
Y3
DeMUX
Y2
Y1
Y0
S S
1 0
S1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 I
0 1 0 0 I 0
1 0 0 I 0 0
1 1 I 0 0 0
55 / 65
Three-State Gates
Tri-State Buffer
Tri-State Inverter
A Y
C
C A Y
0 x Hi-Z
1 0 0
1 1 1
A Y
C
56 / 65
Three-State Gates
A
Y
C
B
D
C D Y
0 0 Hi-Z
0 1 B
1 0 A
1 1 ?
NotAllowed
Y=
A
C
B
A. if C = 1
B. if C = 0
57 / 65
Three-State Gates
I1
I0
Y
S1
I3
I2
Binary
Decode
r
I1
I0
E
Y3
Y2
Y1
Y0
S0
E
58 / 65
Homework
4-2 Obtain the simplified Boolean expressions for output F
and G in terms of the input variables in the circuit:
A
59 / 65
B
C
D
F
G
Homework
60 / 65
4-3 For the circuit shown in the “Quad 2-to-1 MUX”:
(a) Write the Boolean functions for the four outputs
in terms of the input variables
(b) If the circuit is listed in a truth table, how many rows
and columns would there be in the truth table?
4-5 Design a combinational circuit with three inputs, x, y, and
z, and three outputs, A, B, and C. When the binary input
is 0, 1, 2, or 3, the binary output is one greater than the
input. When the binary input is 4, 5, 6, or 7, the binary
output is one less than the input.
Homework
61 / 65
4-11 Design a 4-bit combinational circuit incrementer. (A
circuit that adds one to a 4-bit binary number.) The
circuit can be designed using four half-adders.
4-13 The adder-subtractor circuit has the following values for
mode input M and data inputs A and B. In each case,
determine the values of the four SUM outputs and the
carry C.
M A B
(a) 0 0111 0110
(b) 0 1000 1001
(c) 1 1100 1000
(d) 1 0101 1010
(e) 1 0000 0001
Homework
62 / 65
4-27 A combinational circuit is specified by the following three
Boolean functions:
F1(A, B, C) = ∑(2, 4, 7)
F2(A, B, C) = ∑(0, 3)
F3(A, B, C) = ∑(0, 2, 3, 4, 7)
Implement the circuit with a decoder constructed with
NAND gates and NAND or AND gates connected to the
decoder outputs. Use a block diagram for the decoder.
Minimize the number of inputs in the external gates.
Homework
63 / 65
4-28 A combinational circuit is defined by the following three
Boolean functions:
F1 = x’ y’ z’ + x z
F2 = x y’ z’ + x’ y
F3 = x’ y’ z + x y
Design the circuit with a decoder and external gates.
4-31 Construct a 16  1 multiplexer with two 8  1 and one
2  1 multiplexers. Use block diagrams.
4-32 Implement the following Boolean function with a
multiplexer:
F(A, B, C, D) = ∑(0, 1, 3, 4, 8, 9, 15)
Homework
64 / 65
4-33 Implement a full adder with two 4  1 multiplexers:
4-35 Implement the following Boolean function with a 4  1
multiplexer and external gates. Connect inputs A and B to
the selection lines. The input requirements for the four
data lines will be a function of variables C and D. These
values are obtained by expressing F as a function of C and
D for each of the four cases when AB = 00, 01, 10, and 11.
These functions may have to be implemented with
external gates.
F(A, B, C, D) = ∑(1, 3, 4, 11, 12, 13, 14, 15)

More Related Content

Similar to Combinational Circuits Unit: Output Functions of Inputs

Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronicsIIT, KANPUR INDIA
 
Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronicsKamil Hussain
 
Basic electronics
Basic electronicsBasic electronics
Basic electronicsMantra VLSI
 
Combinational circuit (7-Segment display)
Combinational circuit (7-Segment display)Combinational circuit (7-Segment display)
Combinational circuit (7-Segment display)ali9753
 
Binary code decimal Adder
Binary code decimal AdderBinary code decimal Adder
Binary code decimal AdderHaya Butt
 
Chapter 04 - ALU Operation.ppt
Chapter 04 - ALU Operation.pptChapter 04 - ALU Operation.ppt
Chapter 04 - ALU Operation.pptMonirJihad1
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxssuser6feece1
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxSanjaiPrasad
 
dd_sampleslides.ppt
dd_sampleslides.pptdd_sampleslides.ppt
dd_sampleslides.pptwafawafa52
 
COA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.pptCOA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.pptRuhul Amin
 
Electrónica digital: Display de 7 segmentos con compuertas lógicas
Electrónica digital: Display de 7 segmentos con compuertas lógicasElectrónica digital: Display de 7 segmentos con compuertas lógicas
Electrónica digital: Display de 7 segmentos con compuertas lógicasSANTIAGO PABLO ALBERTO
 
boolean algebra exercises
boolean algebra exercisesboolean algebra exercises
boolean algebra exercisesi i
 
Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...
Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...
Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...Hsien-Hsin Sean Lee, Ph.D.
 
sequential and combinational circuits exam
sequential and combinational circuits examsequential and combinational circuits exam
sequential and combinational circuits exami i
 

Similar to Combinational Circuits Unit: Output Functions of Inputs (20)

Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronics
 
Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronics
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
 
Tirgul7
Tirgul7Tirgul7
Tirgul7
 
Basic electronics
Basic electronicsBasic electronics
Basic electronics
 
Combinational circuit (7-Segment display)
Combinational circuit (7-Segment display)Combinational circuit (7-Segment display)
Combinational circuit (7-Segment display)
 
Binary code decimal Adder
Binary code decimal AdderBinary code decimal Adder
Binary code decimal Adder
 
Chapter 04 - ALU Operation.ppt
Chapter 04 - ALU Operation.pptChapter 04 - ALU Operation.ppt
Chapter 04 - ALU Operation.ppt
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
 
dd_sampleslides.ppt
dd_sampleslides.pptdd_sampleslides.ppt
dd_sampleslides.ppt
 
COA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.pptCOA-unit-2-Arithmetic.ppt
COA-unit-2-Arithmetic.ppt
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 
Presentation on bcd adder
Presentation on bcd adderPresentation on bcd adder
Presentation on bcd adder
 
Electrónica digital: Display de 7 segmentos con compuertas lógicas
Electrónica digital: Display de 7 segmentos con compuertas lógicasElectrónica digital: Display de 7 segmentos con compuertas lógicas
Electrónica digital: Display de 7 segmentos con compuertas lógicas
 
boolean algebra exercises
boolean algebra exercisesboolean algebra exercises
boolean algebra exercises
 
Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...
Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...
Lec11 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- De...
 
Adders
AddersAdders
Adders
 
sequential and combinational circuits exam
sequential and combinational circuits examsequential and combinational circuits exam
sequential and combinational circuits exam
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 

Recently uploaded (20)

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 

Combinational Circuits Unit: Output Functions of Inputs

  • 2. Combinational Circuits Output is function of input only i.e. no feedback When input changes, output may change (after a delay) • • • • • • n inputs m outputs Combinational Circuits  1 / 65
  • 3. Combinational Circuits Analysis ● Given a circuit, find out its function ● Function may be expressed as: ♦ Boolean function ♦ Truth table Design ● Given a desired function, determine its circuit ● Function may be expressed as: ♦ Boolean function ♦ Truth table A B C A B C A B A C B C F1 F2 ? ? ? 2 / 65
  • 4. 3 / 65 Analysis Procedure Boolean Expression Approach A B C A B C A B A C B C F1 F2 ABC A+B+C AB+AC+BC (A’+B’)(A’+C’)(B’+C’) AB'C'+A'BC'+A'B'C F1=AB'C'+A'BC'+A'B'C+ABC F2=AB+AC+BC
  • 5. A = 0 B = 0 C = 0 A = 0 B = 0 C = 0 A = 0 B = 0 A = 0 C = 0 B = 0 C = 0 F1 F2 Analysis Procedure 4 / 65 Truth Table Approach A B C F1 F2 0 0 0 0 0 0 0 0 0 0 0 1 0 0
  • 6. A = 0 B = 0 C = 1 A = 0 B = 0 C = 1 A = 0 B = 0 A = 0 C = 1 B = 0 C = 1 F1 F2 Analysis Procedure 5 / 65 Truth Table Approach 0 1 0 0 0 0 1 1 1 A B C F1 F2 0 0 0 0 0 0 0 1 1 0
  • 7. A = 0 B = 1 C = 0 A = 0 B = 1 C = 0 A = 0 B = 1 A = 0 C = 0 B = 1 C = 0 F1 F2 Analysis Procedure 6 / 65 Truth Table Approach 0 1 0 0 0 0 1 1 1 A B C F1 F2 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0
  • 8. A = 0 B = 1 C = 1 A = 0 B = 1 C = 1 A = 0 B = 1 A = 0 C = 1 B = 1 C = 1 F1 F2 Analysis Procedure 7 / 65 Truth Table Approach 0 1 0 0 1 1 0 0 0 A B C F1 F2 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1
  • 9. A = 1 B = 0 C = 0 A = 1 B = 0 C = 0 A = 1 B = 0 A = 1 C = 0 B = 0 C = 0 F1 F2 Analysis Procedure 8 / 65 Truth Table Approach 0 1 0 0 0 0 1 1 1 A B C F1 F2 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0
  • 10. A = 1 B = 0 C = 1 A = 1 B = 0 C = 1 A = 1 B = 0 A = 1 C = 1 B = 0 C = 1 F1 F2 Analysis Procedure 9 / 65 Truth Table Approach 0 1 0 1 0 1 0 0 0 A B C F1 F2 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1
  • 11. A = 1 B = 1 C = 0 A = 1 B = 1 C = 0 A = 1 B = 1 A = 1 C = 0 B = 1 C = 0 F1 F2 Analysis Procedure 10 / 65 Truth Table Approach 0 1 1 0 0 1 0 0 0 A B C F1 F2 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1
  • 12. A = 1 B = 1 C = 1 A = 1 B = 1 C = 1 A = 1 B = 1 A = 1 C = 1 B = 1 C = 1 F1 F2 Analysis Procedure Truth Table Approach 1 1 1 1 1 1 0 0 1 A B C F1 F2 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 B 0 1 0 1 A 1 0 1 0 C B 0 0 1 0 A 0 1 1 1 C F1=AB'C'+A'BC'+A'B'C+ABC 11 / 65 F2=AB+AC+BC
  • 13. Design Procedure Given a problem statement: ● Determine the number of inputs and outputs ● Derive the truth table ● Simplify the Boolean expression for each output ● Produce the required circuit Example: Design a circuit to convert a “BCD” code to “Excess 3” code  4-bits  0-9 values  4-bits  Value+3 ? 12 / 65
  • 14. Design Procedure BCD-to-Excess 3 Converter A B C D w x y z 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 0 1 1 1 0 0 1 0 1 0 x x x x 1 0 1 1 x x x x 1 1 0 0 x x x x 1 1 0 1 x x x x 1 1 1 0 x x x x 1 1 1 1 x x x x C 1 1 1 B A x x x x 1 1 x x D C B A 1 1 1 1 x x x x 1 x x D C 1 1 1 1 B A x x x x 1 x x D C B A 1 1 1 1 x x x x 1 x x D w =A+BC+BD 13 / 65 x = B’C+B’D+BC’D’ y = C’D’+CD z = D’
  • 15. Design Procedure BCD-to-Excess 3 Converter A B C D w x y z 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 0 1 1 1 0 0 1 0 1 0 x x x x 1 0 1 1 x x x x 1 1 0 0 x x x x 1 1 0 1 x x x x 1 1 1 0 x x x x 1 1 1 1 x x x x w x = B’(C+D) + B(C+D)’ z = D’ 14 / 65 x D C z y B A w = A+ B(C+D) y = (C+D)’+ CD
  • 16. 15 / 65 Seven-Segment Decoder a b c g e d f ? w x y z a b c d e f g w x y z a b c d e f g 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 1 1 0 1 1 0 1 0 0 1 1 1 1 1 1 0 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 0 0 0 1 0 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 0 1 1 1 0 1 0 x x x x x x x 1 0 1 1 x x x x x x x 1 1 0 0 x x x x x x x 1 1 0 1 x x x x x x x 1 1 1 0 x x x x x x x 1 1 1 1 x x x x x x x y 1 1 1 1 1 1 x x x x x w 1 1 x x z BCD code a = w + y + xz + x’z’ b = . . . c = . . . d = . . .
  • 17. Binary Adder Half Adder ● Adds 1-bit plus 1-bit ● Produces Sum and Carry HA x y S C x y C S 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0 x + y ─── C S x 16 / 65 y S C
  • 18. Binary Adder Full Adder ● Adds 1-bit plus 1-bit plus 1-bit ● Produces Sum and Carry x y z C S 0 0 0 0 0 0 0 1 0 1 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 x + y + z ─── C S FA x y z S C y x 0 1 0 1 1 0 1 0 z 0 0 1 0 0 1 1 1 z S = xy'z'+x'yz'+x'y'z+xyz = x  y  z y x C = xy + xz + yz 17 / 65
  • 19. Binary Adder Full Adder x y z S C x y z x y z x y z x y z x y x z y z x y z x y x z y z x y z S 18 / 65 C S = xy'z'+x'yz'+x'y'z+xyz = x  y  z C = xy + xz + yz
  • 21. 20 / 65 Binary Adder c c c 3 2 1 + x3 x2 x1 x0 + y3 y2 y1 y0 ──────── Cy S3 S2 S1 S0 FA x3 x2 FA FA FA y3 y2 x1 y1 x0 y0 S3 S2 S1 S0 C4 C3 C2 C1 0 BinaryAdder x3x2x1x0 y3y2y1y0 S3S2S1S0 C0 Cy Carry Propagate Addition
  • 22. 21 / 65 Binary Adder Carry Propagate Adder A3 A2 A1 A0 B3 B2 B1 B0 CPA S3 S2 S1 S0 C0 Cy A3 A2 A1 A0 B3 B2 B1 B0 CPA S3 S2 S1 S0 C0 Cy x3 x2 x1 x0 y3 y2 y1 y0 x7 x6 x5 x4 y7 y6 y5 y4 S3 S2 S1 S0 S7 S6 S5 S4 0
  • 23. BCD Adder 4-bits plus 4-bits Operands and Result: 0 to 9 + x3 x2 x1 x0 + y3 y2 y1 y0 ──────── Cy S3 S2 S1 S0 X +Y x3 x2 x1 x0 y3 y2 y1 y0 Sum Cy S3 S2 S1 S0 0 + 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 + 1 0 0 0 0 0 0 0 1 = 1 0 0 0 0 1 0 + 2 0 0 0 0 0 0 1 0 = 2 0 0 0 1 0 0 + 9 0 0 0 0 1 0 0 1 = 9 0 1 0 0 1 1 + 0 0 0 0 1 0 0 0 0 = 1 0 0 0 0 1 1 + 1 0 0 0 1 0 0 0 1 = 2 0 0 0 1 0 1 + 8 0 0 0 1 1 0 0 0 = 9 0 1 0 0 1 1 + 9 0 0 0 1 1 0 0 1 = A 0 1 0 1 0 2 + 0 0 0 1 0 0 0 0 0 = 2 0 0 0 1 0 9 + 9 1 0 0 1 1 0 0 1 = 12 1 0 0 1 0 Invalid Code Wrong BCD Value 22 / 65 0001 1000
  • 24. BCD Adder X +Y x3 x2 x1 x0 y3 y2 y1 y0 Sum Cy S3 S2 S1 S0 Required BCD Output Value 9 + 0 1 0 0 1 0 0 0 0 = 9 0 1 0 0 1 0 0 0 0 1 0 0 1 = 9 9 + 1 1 0 0 1 0 0 0 1 = 10 0 1 0 1 0 0 0 0 1 0 0 0 0 = 16 9 + 2 1 0 0 1 0 0 1 0 = 11 0 1 0 1 1 0 0 0 1 0 0 0 1 = 17 9 + 3 1 0 0 1 0 0 1 1 = 12 0 1 1 0 0 0 0 0 1 0 0 1 0 = 18 9 + 4 1 0 0 1 0 1 0 0 = 13 0 1 1 0 1 0 0 0 1 0 0 1 1 = 19 9 + 5 1 0 0 1 0 1 0 1 = 14 0 1 1 1 0 0 0 0 1 0 1 0 0 = 20 9 + 6 1 0 0 1 0 1 1 0 = 15 0 1 1 1 1 0 0 0 1 0 1 0 1 = 21 9 + 7 1 0 0 1 0 1 1 1 = 16 1 0 0 0 0 0 0 0 1 0 1 1 0 = 22 9 + 8 1 0 0 1 1 0 0 0 = 17 1 0 0 0 1 0 0 0 1 0 1 1 1 = 23 9 + 9 1 0 0 1 1 0 0 1 = 18 1 0 0 1 0 0 0 0 1 1 0 0 0 = 24 + 6 23 / 65         
  • 25. BCD Adder Correct Binary Adder’s Output (+6) ● If the result is between ‘A’ and ‘F’ ● If Cy = 1 S3 S2 S1 S0 Err 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 S1 S 3 1 1 1 1 1 1 2 S S0 Err = S3 S2 + S3 S1 24 / 65
  • 26. BCD Adder A3 A2 A1 A0 B3 B2 B1 B0 Binary Adder S3 S2 S1 S0 Cy A3 A2 A1 A0 B3 B2 B1 B0 Binary Adder S3 S2 S1 S0 Cy 0 0 Ci 0 Ci 0 S3 S2 S1 S0 25 / 65 Cy x3 x2 x1 x0 y3 y2 y1 y0 Err
  • 27. Binary Subtractor Use 2’s complement with binary adder ● x – y = x + (-y) = x + y’ + 1 x3 x2 x1 x0 y3 y2 y1 y0 A3 A2 A1 A0 B3 Binary Adder S3 S2 S1 S0 Cy B2 B1 B0 Ci 1 F3 F2 F1 F0 26 / 65
  • 28. Binary Adder/Subtractor A3 A2 A1 A0 B3 Binary Adder S3 S2 S1 S0 B2 B1 B0 Ci Cy M x3 x2 x1 x0 y3 y2 y1 y0 F3 F2 F1 F0 M: Control Signal (Mode) 27 / 65 ● M=0  F = x + y ● M=1  F = x – y
  • 29. Overflow Unsigned Binary Numbers FA x3 x2 x1 FA FA FA y3 y2 y1 x0 y0 S3 S2 S1 S0 C4 C3 C2 C1 0 Carry FA x2 x1 FA FA FA 2’s Complement Numbers x3 y3 y2 y1 x0 y0 S3 S2 S1 S0 C4 C3 C2 C1 0 28 / 65 Overflow
  • 30. Magnitude Comparator Compare 4-bit number to 4-bit number ● 3 Outputs: < , = , > ● Expandable to more number of bits Magnitude Comparator A<B A=B A>B A3A2A1A0 B3B2B1B0 x3  A3 B3  A3 B3 x2  A2 B2  A2 B2 x1  A1 B1  A1 B1 x0  A0 B0  A0 B0 (A  B)  x3 x2 x1 x0 (A  B)  A3 B3  x3 A2 B2  x3 x2 A1 B1  x3 x2 x1 A0 B0 (A  B)  A3 B3  x3 A2 B2  x3 x2 A1 B1  x3 x2 x1 A0 B0 29 / 65
  • 32. Magnitude Comparator 3 2 1 0 A A A A B3 B2 B1 B0 I(A>B) I(A<B) I Magnitude (A=B) Comparator A<B A=B A>B A<B A=B A>B x3 x2 x1 x0 y3 y2 y1 y0 x7 x6 x5 x4 y7 y6 y5 y4 Magnitude 3 2 1 0 A A A A B3 B2 B1 B0 A<B A=B A>B I(A>B) I(A=B) Comparator I(A<B) 0 1 0 31 / 65
  • 33. Decoders Extract “Information” from the code Binary Decoder ● Example: 2-bit Binary Number Binary 1 x 0 0 Decoder x0 Only one lamp will turn on 1 0 0 0 32 / 65
  • 34. Decoders 2-to-4 Line Decoder I1 I0 Y3 Y2 Y1 Y0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 1 1 0 0 0 Binary Decode r I1 I0 y3 y2 y1 y0 I1 I0 Y3 Y2 Y1 Y0 Y3  I1 I0 Y1  I1 I0 Y2  I1 I0 Y0  I1 I0 33 / 65
  • 35. Decoders 3-to-8 Line Decoder Binary Decode r I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 I2 I1 I0 Y7 Y6 Y5 Y4 Y Y2 Y1 Y0 2 1 0  I I I  I2 I1 I0 2 1 0  I I I  I2 I1 I0 3  I2 I1 I0  I2 I1 I0 2 1 0  I I I  I2 I1 I0 34 / 65
  • 36. Decoders “Enable” Control Binary Decode r I1 I0 E Y3 Y2 Y1 Y0 E I1 I0 Y3 Y2 Y1 Y0 0 x x 0 0 0 0 1 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 0 0 1 1 1 1 0 0 0 I1 I0 E Y3 35 / 65 Y2 Y1 Y0
  • 37. Decoders Expansion I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 I2 I1 I0 Binary Decode r I0 I1 E Y0 Y3 Y7 Y2 Y6 Y1 Y5 Y4 Y3 Y2 Y1 Y0 Binary Decode r I0 I1 E Y3 Y2 Y1 Y0 36 / 65
  • 38. Decoders Active-High / Active-Low I1 I0 Y3 Y2 Y1 Y0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 1 1 0 0 0 I1 I0 Y3 Y2 Y1 Y0 0 0 1 1 1 0 0 1 1 1 0 1 1 0 1 0 1 1 1 1 0 1 1 1 Binary Decode r I1 I0 Y3 Y2 Y1 Y0 I1 I0 Y3 Y2 Y1 Y0 Binary Decode r I1 I0 Y3 Y2 Y1 Y0 37 / 65
  • 39. 38 / 65 Implementation Using Decoders Each output is a minterm All minterms are produced Sum the required minterms Example: Full Adder S(x, y, z) = ∑(1, 2, 4, 7) C(x, y, z) = ∑(3, 5, 6, 7) I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Binary Decoder x y z S C
  • 40. Implementation Using Decoders I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Binary Decoder x y z S C I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Binary Decoder 39 / 65 x y z S C
  • 41. Encoders Put “Information” into code Binary Encoder ● Example: 4-to-2 Binary Encoder x3 x2 x1 y1 y0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 1 1 Binary Encoder y1 y0 x1 x2 x3 Only one switch should be activated at a time 40 / 65
  • 42. Encoders Octal-to-Binary Encoder (8-to-3) I7 I6 I5 I4 I3 I2 I1 I0 Y2 Y1 Y0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 1 1 1 Binary Encode r Y2 Y1 Y0 I7 I6 I5 I4 I3 I2 I1 I0 Y2  I7  I6  I5  I4 Y1  I7  I6  I3  I2 Y0  I7  I5  I3  I1 I 41 / 65 7 I6 I5 I4 I3 I2 I1 I0 Y2 Y1 Y0
  • 43. Priority Encoders 4-Input Priority Encoder I3 I2 I1 I0 Y1 Y0 V 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 x 0 1 1 0 1 x x 1 0 1 1 x x x 1 1 1 Priority Encode r V Y Y 1 0 I3 I2 I1 I0 I0 I3 I2 I1 Y1 Y0 V 0 1 V  I3  I2  I  I Y0  I3  I2 I1 2 Y1  I3  I Y1 42 / 65 I2 I3 I1 1 1 1 1 1 1 1 1 1 1 1 1 I0
  • 44. Encoder / Decoder Pairs Y2 Y1 Y0 I7 I6 I5 I4 I3 I2 I I 1 0 I2 I1 I0 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Binary Encoder Binary Decoder 43 / 65
  • 45. Multiplexers MUX Y I0 I1 I2 I3 S S 1 0 S1 S0 Y 0 0 I0 0 1 I1 1 0 I2 1 1 I3 44 / 65
  • 46. 45 / 65 Multiplexers 2-to-1 MUX 4-to-1 MUX Y I0 I1 MUX S I1 I0 Y MUX Y I0 I1 I2 I3 S S 1 0 S I0 I1 S1 S0 Y I2 I3
  • 47. 46 / 65 Multiplexers Quad 2-to-1 MUX Y I0 MUX I1 S I0 MUX Y I1 S Y I0 MUX I1 S I0 MUX Y I1 S x3 x2 x1 x y3 y2 y1 0 y0 S Y3 Y2 Y1 Y0 S E A3 A2 A1 A0 B3 B2 B1 B0 MUX A3 A2 A1 A0 S E Y3 Y2 Y1 Y0 3 B B2 B1 B0
  • 48. 47 / 65 Multiplexers Quad 2-to-1 MUX Y3 Y2 Y1 Y0 S E A3 A2 A1 A0 B3 B2 B1 B0 MUX A3 A2 A1 A0 S E Y3 Y2 Y1 Y0 B3 B2 B1 B0 Extra Buffers
  • 49. Implementation Using Multiplexers MUX Y I0 I1 I2 I3 S S 1 0 x y F 0 0 1 0 1 1 1 0 0 1 1 1 Example F(x, y) = ∑(0, 1, 3) x y 48 / 65 F 1 1 0 1
  • 50. Implementation Using Multiplexers x y z F 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 Example F(x, y, z) = ∑(1, 2, 6, 7) MUX Y 49 / 65 I0 I1 I2 I3 I4 I5 I6 I7 S2 S1 S0 x y z 0 1 1 0 0 0 1 1 F
  • 51. Implementation Using Multiplexers MUX Y I0 I1 I2 I3 S S 1 0 x y z F 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 Example F(x, y, z) = ∑(1, 2, 6, 7) x y F F = z F = z z z 0 1 F = 0 F = 1 50 / 65
  • 52. MUX Y I0 I1 I2 I3 I4 I5 I6 I7 S S S 2 1 0 Implementation Using Multiplexers A B C D F 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 1 1 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 Example F(A, B, C, D) = ∑(1, 3, 4, 11, 12, 13, 14, 15) A B C F F = D F = D F = D F = 0 D D D 0 0 D 1 1 51 / 65 F = 0 F = D F = 1 F = 1
  • 53. 52 / 65 Y I0 I1 I2 I3 I4 I5 I6 I7 S2 S1 S0 Multiplexer Expansion 8-to-1 MUX using Dual 4-to-1 MUX MUX Y I0 I1 I2 I3 S S 1 0 MUX Y I0 I1 I2 I3 S1 S0 Y I0 I1 MUX S 1 0 0
  • 54. DeMultiplexers I Y3 DeMUX Y2 Y1 Y0 S1 S0 S1 S0 Y3 Y2 Y1 Y0 0 0 0 0 0 I 0 1 0 0 I 0 1 0 0 I 0 0 1 1 I 0 0 0 I Y3 Y2 Y1 Y0 S0 S1 53 / 65
  • 55. Multiplexer / DeMultiplexer Pairs Y I7 I6 I5 I4 I3 I2 I1 I0 I Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 MUX DeMUX S2 S1 S0 S2 S1 S0 x2 x1 x0 54 / 65 y2 y1 y0 Synchronize
  • 56. DeMultiplexers / Decoders Binary Decoder I1 I0 E Y3 Y2 Y1 Y0 E I1 I0 Y3 Y2 Y1 Y0 0 x x 0 0 0 0 1 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 0 0 1 1 1 1 0 0 0 I Y3 DeMUX Y2 Y1 Y0 S S 1 0 S1 S0 Y3 Y2 Y1 Y0 0 0 0 0 0 I 0 1 0 0 I 0 1 0 0 I 0 0 1 1 I 0 0 0 55 / 65
  • 57. Three-State Gates Tri-State Buffer Tri-State Inverter A Y C C A Y 0 x Hi-Z 1 0 0 1 1 1 A Y C 56 / 65
  • 58. Three-State Gates A Y C B D C D Y 0 0 Hi-Z 0 1 B 1 0 A 1 1 ? NotAllowed Y= A C B A. if C = 1 B. if C = 0 57 / 65
  • 60. Homework 4-2 Obtain the simplified Boolean expressions for output F and G in terms of the input variables in the circuit: A 59 / 65 B C D F G
  • 61. Homework 60 / 65 4-3 For the circuit shown in the “Quad 2-to-1 MUX”: (a) Write the Boolean functions for the four outputs in terms of the input variables (b) If the circuit is listed in a truth table, how many rows and columns would there be in the truth table? 4-5 Design a combinational circuit with three inputs, x, y, and z, and three outputs, A, B, and C. When the binary input is 0, 1, 2, or 3, the binary output is one greater than the input. When the binary input is 4, 5, 6, or 7, the binary output is one less than the input.
  • 62. Homework 61 / 65 4-11 Design a 4-bit combinational circuit incrementer. (A circuit that adds one to a 4-bit binary number.) The circuit can be designed using four half-adders. 4-13 The adder-subtractor circuit has the following values for mode input M and data inputs A and B. In each case, determine the values of the four SUM outputs and the carry C. M A B (a) 0 0111 0110 (b) 0 1000 1001 (c) 1 1100 1000 (d) 1 0101 1010 (e) 1 0000 0001
  • 63. Homework 62 / 65 4-27 A combinational circuit is specified by the following three Boolean functions: F1(A, B, C) = ∑(2, 4, 7) F2(A, B, C) = ∑(0, 3) F3(A, B, C) = ∑(0, 2, 3, 4, 7) Implement the circuit with a decoder constructed with NAND gates and NAND or AND gates connected to the decoder outputs. Use a block diagram for the decoder. Minimize the number of inputs in the external gates.
  • 64. Homework 63 / 65 4-28 A combinational circuit is defined by the following three Boolean functions: F1 = x’ y’ z’ + x z F2 = x y’ z’ + x’ y F3 = x’ y’ z + x y Design the circuit with a decoder and external gates. 4-31 Construct a 16  1 multiplexer with two 8  1 and one 2  1 multiplexers. Use block diagrams. 4-32 Implement the following Boolean function with a multiplexer: F(A, B, C, D) = ∑(0, 1, 3, 4, 8, 9, 15)
  • 65. Homework 64 / 65 4-33 Implement a full adder with two 4  1 multiplexers: 4-35 Implement the following Boolean function with a 4  1 multiplexer and external gates. Connect inputs A and B to the selection lines. The input requirements for the four data lines will be a function of variables C and D. These values are obtained by expressing F as a function of C and D for each of the four cases when AB = 00, 01, 10, and 11. These functions may have to be implemented with external gates. F(A, B, C, D) = ∑(1, 3, 4, 11, 12, 13, 14, 15)