Analog and digital electronics�18CS33�
Module 3
Combinational Circuit Design
1
Referred Books/Sources
2
9:45 AM
Module-3
Combinational circuit design and simulation using gates
&
Multiplexers, Decoders and Programmable Logic Devices
3
Objectives
4
COMBINATIONAL CIRCUIT DESIGN AND SIMULATION USING GATES
5
Review of Combinational Circuit Design
6
Review of Combinational Circuit Design
7
Review of Combinational Circuit Design
8
Review of Combinational Circuit Design
9
Design of Circuits with Limited Gate Fan-In
10
Design of Circuits with Limited Gate Fan-In
11
Design of Circuits with Limited Gate Fan-In
f′ = a′b′c′d + ab′cd + abc′ + a′bc + a′cd′
f ′ = b′d(a′c′ + ac) + a′c(b + d′) + abc′
f = [b + d′ + (a + c)(a′ + c′)][a + c′ + b′d][a′ + b′ + c]
12
Design of Circuits with Limited Gate Fan-In
13
Design of Circuits with Limited Gate Fan-In
14
Design of Circuits with Limited Gate Fan-In
f1 = b′c′ + ab′ + a′b
f2 = b′c′ + bc + a′b
f3 = a′b′c + ab + bc′
f1 = b′(a + c′) + a′b
f2 = b(a′ + c) + b′c′ or f2 = (b′ + c)(b + c′) + a′b
f3 = a′b′c + b(a + c′)
a′b′c = a′(b′c) = a′(b + c′)′
15
Design of Circuits with Limited Gate Fan-In
16
Gate Delays and Timing Diagrams
17
Gate Delays and Timing Diagrams
18
Gate Delays and Timing Diagrams
19
Gate Delays and Timing Diagrams
20
Gate Delays and Timing Diagrams
21
Gate Delays and Timing Diagrams
22
Hazards in Combinational Logic
23
Hazards in Combinational Logic
24
Hazards in Combinational Logic Static 1-hazard
25
Hazards in Combinational Logic Static 1-hazard
26
Hazards in Combinational Logic Static 1-hazard
27
Hazards in Combinational Logic Static 1-hazard
28
Hazards in Combinational Logic Static 1-hazard
29
Hazards in Combinational Logic Static 1-hazard
30
Hazards in Combinational Logic Static 1-hazard
31
Hazards in Combinational Logic Static 1-hazard
32
Hazards in Combinational Logic Static 0-hazard
33
Hazards in Combinational Logic Static 0-hazard
34
Hazards in Combinational Logic Static 0-hazard
F = (A + C)(A′ + D′)(B′ + C′ + D)(C + D′)(A + B′ + D)(A′ + B′ + C′)
35
Hazards in Combinational Logic Dynamic hazard
36
Hazards in Combinational Logic Dynamic hazard
37
Hazards in Combinational Logic Dynamic hazard
38
Hazards in Combinational Logic Dynamic hazard
39
Hazards in Combinational Logic Dynamic hazard
POS Expression
f= (c′ + ad′ + bd′)(c + a′d + bd)
= cc′ + acd′ + bcd′ + a′c′d + aa′dd′ + a′bdd′ + bc′d + abdd′ + bdd′ = cc′ + acd′ + bcd′ + a′c′d + aa′dd′ + bc′d + bdd′
40
Hazards in Combinational Logic Dynamic hazard
41
Hazards in Combinational Logic Dynamic hazard
42
Hazards in Combinational Logic Dynamic hazard
43
Hazards in Combinational Logic Dynamic hazard
44
Hazards in Combinational Logic Dynamic hazard
45
Hazards in Combinational Logic Dynamic hazard
46
Hazards in Combinational Logic Dynamic hazard
47
Hazards in Combinational Logic Dynamic hazard
48
Hazards in Combinational Logic Dynamic hazard
49
Hazards in Combinational Logic Dynamic hazard
50
Hazards in Combinational Logic Dynamic hazard
51
Simulation and Testing of Logic Circuits
52
Simulation and Testing of Logic Circuits
53
Simulation and Testing of Logic Circuits
54
Simulation and Testing of Logic Circuits
55
Simulation and Testing of Logic Circuits
56
Simulation and Testing of Logic Circuits
57
Simulation and Testing of Logic Circuits
58
Simulation and Testing of Logic Circuits
59
Simulation and Testing of Logic Circuits
60
Simulation and Testing of Logic Circuits
61
Simulation and Testing of Logic Circuits
62
MULTIPLEXERS, DECODERS AND PROGRAMMABLE LOGIC DEVICES
63
Objective
64
Inroduction
65
MULTIPLEXERS-1
66
MULTIPLEXERS-2
67
MULTIPLEXERS-2
68
MULTIPLEXERS-3
69
MULTIPLEXERS-3
70
MULTIPLEXERS-4
71
MULTIPLEXERS-4
72
MULTIPLEXERS-4
73
Select/Control Input | Output | ||
A | B | C | Z |
0 | 0 | 0 | I0 |
0 | 0 | 1 | I1 |
0 | 1 | 0 | I2 |
0 | 1 | 1 | I3 |
1 | 0 | 0 | I4 |
1 | 0 | 1 | I5 |
1 | 1 | 0 | I6 |
1 | 1 | 1 | I7 |
MULTIPLEXERS-4
74
MULTIPLEXERS-4
75
MULTIPLEXERS-4
76
MULTIPLEXERS-4
77
MULTIPLEXERS-4
78
MULTIPLEXERS-4
79
MULTIPLEXERS-6
80
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
D3
D2
D1
D0
Y5
GND
VCC
D4
D5
D6
D7
S0
S1
S2
I
C
7
4
1
5
1
MULTIPLEXERS-7
81
| Select Inputs |
| Output Y5 | ||||
Minterm in decimals | a | b | c | d | f | EVM Entry | |
0 | 0 1 | 0 0 | 0 0 | 0 0 | 0 1 | 0 0 | 0 (D0) |
1 | 2 3 | 0 0 | 0 0 | 1 1 | 0 1 | 1 1 | 1 (D1) |
2 | 4 5 | 0 0 | 1 1 | 0 0 | 0 1 | 1 1 | 1 (D2) |
3 | 6 7 | 0 0 | 1 1 | 1 1 | 0 1 | 0 0 | 0 (D3) |
4 | 8 9 | 1 1 | 0 0 | 0 0 | 0 1 | X X | X (D4) |
5 | 10 11 | 1 1 | 0 0 | 1 1 | 0 1 | X X | X (D5) |
6 | 12 13 | 1 1 | 1 1 | 0 0 | 0 1 | 0 1 | d (D6) |
7 | 14 15 | 1 1 | 1 1 | 1 1 | 0 1 | 0 1 | d (D7) |
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
D3
D2
D1
D0
Y5
GND
VCC
D4
D5
D6
D7
S0
S1
S2
I
C
7
4
1
5
1
MULTIPLEXERS-8
82
04,D0
03,D1
02,D2
01,D3
15,D4
14,D5
13,D6
12,D7
0
1
d
07,E
0
09,S2
10,S1
11,S0
a
b
c
16,VCC
08,GND
05,Y5
O/P
8:1
MUX
I
C
7
4
1
5
1
| Select Inputs |
| Output Y5 | ||||
Minterm in decimals | a | b | c | d | f | EVM Entry | |
0 | 0 1 | 0 0 | 0 0 | 0 0 | 0 1 | 0 0 | 0 (D0) |
1 | 2 3 | 0 0 | 0 0 | 1 1 | 0 1 | 1 1 | 1 (D1) |
2 | 4 5 | 0 0 | 1 1 | 0 0 | 0 1 | 1 1 | 1 (D2) |
3 | 6 7 | 0 0 | 1 1 | 1 1 | 0 1 | 0 0 | 0 (D3) |
4 | 8 9 | 1 1 | 0 0 | 0 0 | 0 1 | X X | X (D4) |
5 | 10 11 | 1 1 | 0 0 | 1 1 | 0 1 | X X | X (D5) |
6 | 12 13 | 1 1 | 1 1 | 0 0 | 0 1 | 0 1 | d (D6) |
7 | 14 15 | 1 1 | 1 1 | 1 1 | 0 1 | 0 1 | d (D7) |
MULTIPLEXERS-9
83
MULTIPLEXERS-10
84
MULTIPLEXERS-11
85
MULTIPLEXERS-12
86
Three-State Buffers
87
Three-State Buffers
88
Three-State Buffers
89
Three-State Buffers
90
Three-State Buffers
91
Three-State Buffers
92
Three-State Buffers
93
Three-State Buffers
94
Three-State Buffers
95
DECODER-1
96
DECODER-2
97
DECODER-3
98
Input | Output | ||||
A | B | Y0 | Y1 | Y2 | Y3 |
0 | 0 | 1 | 0 | 0 | 0 |
0 | 1 | 0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 | 1 | 0 |
1 | 1 | 0 | 0 | 0 | 1 |
DECODER-4
99
A | B | C | Y0 | Y1 | Y2 | Y3 | Y4 | Y5 | Y6 | Y7 |
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
DECODER-5
100
DECODER-5
101
DECODER-5
102
DECODER-5
103
DECODER-6
yi = mi = Mi ′, i = 0 to 2n − 1 (noninverted outputs)
or
yi = mi ′ = Mi, i = 0 to 2n − 1 (inverted outputs)
104
DECODER-6
105
DECODER-6
106
DECODER-6
107
DECODER-7
F1 (A, B, C) = ∑m(0, 4, 6);
F2(A, B, C) = ∑m(0, 5);
F3(A, B, C) = ∑m(1, 2, 3, 7)
108
DECODER-8
109
DECODER-9
110
DECODER-10
111
ENCODERS-1
112
ENCODERS-2
113
ENCODERS-3
114
ENCODERS-3
115
ENCODERS-3
116
ENCODERS-4
117
ENCODERS-4
118
Read-Only Memories
119
Read-Only Memories
120
Read-Only Memories
121
Read-Only Memories
122
Read-Only Memories
123
Read-Only Memories
124
Read-Only Memories
125
Read-Only Memories
126
Read-Only Memories
127
Read-Only Memories
128
Read-Only Memories
129
The switching elements at the intersections of the rows and columns of the memory array are indicated using X’s. An X indicates that the switching element is present and connected, and no X indicates that the corresponding element is absent or not connected.
Read-Only Memories
130
Programmable Logic Devices (PLDs)
131
Programmable Array Logic (PAL)-1
132
Programmable Array Logic (PAL)-1
133
Programmable Array Logic (PAL)-1
134
Programmable Array Logic (PAL)-1
135
Programmable Array Logic (PAL)-2
136
Programmable Array Logic (PAL)-3
137
Programmable Logic Devices (PLDs)
138
Programmable Logic Arrays (PLAs)-1
139
Programmable Logic Arrays (PLAs)-1
140
Programmable Logic Arrays (PLAs)-1
141
Programmable Logic Arrays (PLAs)-1
142
Programmable Logic Arrays (PLAs)-1
143
A cross mark at the intersection of a word line and an input or output line indicates the presence of a switching element in the array.
Programmable Logic Arrays (PLAs)-1
144
Programmable Logic Arrays (PLAs)-2
145
Programmable Logic Arrays (PLAs)-3
146
Programmable Logic Arrays (PLAs)-4
147