CH12 COA11e
CH12 COA11e
CH12 COA11e
Chapter 12
Digital Logic
• Is a convenient tool:
– Analysis
▪ It is an economical way of describing the function of digital circuitry
– Design
▪ Given a desired function, Boolean algebra can be applied to develop a
simplified implementation of that function
Copyright © 2022 Pearson Education, Ltd. All Rights Reserved
Table 12.2
Correspondence Between Boolean Algebra
and Operations on Sets
Boolean Sets
• AND
– Yields true (binary value 1) if and only if both of its operands are true
– In the absence of parentheses the AND operation takes precedence over the
OR operation
– When no ambiguity will occur the AND operation is represented by simple
concatenation instead of the dot operator
• OR
– Yields true if either or both of its operands are true
• NOT
– Inverts the value of its operand
Copyright © 2022 Pearson Education, Ltd. All Rights Reserved
Table 12.1
Boolean Operators
(a) Boolean Operators of Two Input Variables
NOT A A AND B A OR B A NAND B A NOR B A XOR B
A B
(A) (A · B) (A + B) (A · B) (A + B) (A B)
0 0 1 0 0 1 1 0
0 1 1 0 1 1 0 1
1 0 0 0 1 1 0 1
1 1 0 1 1 0 0 0
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 0
(for F = ABCD + AB
D 1 0 0 0 1
BD 5 0 1 0 1
BC 6 0 1 1 0
AB 12 1 1 0 0
BCD 7 0 1 1 1
A CD 11 1 0 1 1
ABD 13 1 1 0 1
ABCD 15 1 1 1 1
(for F = ABCD + AB
BD X X X X
D X
BC X
AB X
ACD X
S2 S1 F
0 0 D0
0 1 D1
1 0 D2
1 1 D3
X1 X2 X3 X4 Z1 Z2 Z3 Z4
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0
0 1 0 1 0 1 1 1
0 1 1 0 0 1 0 1
0 1 1 1 0 1 0 0
1 0 0 0 1 0 0 0
1 0 0 1 1 0 0 1
1 0 1 0 1 0 1 1
1 0 1 1 1 0 1 0
1 1 0 0 1 1 1 0
1 1 0 1 1 1 1 1
1 1 1 0 1 1 0 1
1 1 1 1 1 1 0 0
Sequential
Circuit
Makes use of
combinational
circuits
A B Qn+1
Current Current Next
0 0 Qn
Inputs State State
0 1 0
SR Qn Qn+1
1 0 1
00 0 0 1 1 –
00 1 1
01 0 0
01 1 0
10 0 1
10 1 1
11 0 –
11 1 –
t 0 1 2 3 4 5 6 7 8 9
S 1 0 0 0 0 0 0 0 1 0
R 0 0 0 1 0 0 1 0 0 0
Qn+1 1 1 1 0 0 0 0 0 1 1