Professional Documents
Culture Documents
Eet202 - Revision On Digit1-Part 2
Eet202 - Revision On Digit1-Part 2
Logic Gates
Boolean Algebra
Map Simplification
Combinational Circuits
Flip-Flops
Sequential Circuits
3 Logic Gates
Binary Binary
Digital Digital
. Gate Output
Input .
Signal . Signal
- Truth Table
- Boolean Function
- Karnaugh Map
4 Logic Gates
COMBINATIONAL GATES
Name Symbol Function Truth Table
A B X
A X=A•B 0 0 0
AND B
X or
X = AB
0
1
1
0
0
0
1 1 1
A B X
A 0 0 0
OR X X=A+B 0 1 1
B 1 0 1
1 1 1
A X
NOT A X X=A 0
1
1
0
A X
Buffer A X X=A 0
1
0
1
A B X
A 0 0 1
NAND X X = (AB) 0
1
1
0
1
1
B 1 1 0
A B X
A 0 0 1
NOR X X= A+B 0 1 0
B 1 0 0
1 1 0
A X=AB A B X
XOR X or 0 0 0
Exclusive OR 0 1 1
B X = A B + AB 1 0 1
1 1 0
A B X
A X= AB
XNOR X or
0
0
0
1
1
0
Exclusive NOR
or Equivalence B X = A B + AB 1 0 0
1 1 1
5 Boolean Algebra
BOOLEAN ALGEBRA
Boolean Algebra
x y z F
0 0 0 0
0 0 1 1
Truth 0 1 0 0
Table 0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Boolean
Function F = x + yz
x
Logic F
y
Diagram
z
7 Boolean Algebra
SIMPLIFICATION
Truth Boolean
Table Function
Unique Many different expressions exist
Simplification from Boolean function
Truth
Table
Simplified
Karnaugh Boolean
Map Function
Boolean
function
9 Map Simplification
KARNAUGH MAP
Karnaugh Map for an n-input digital logic circuit (n-variable sum-of-products
form of Boolean Function, or Truth Table) is
- Rectangle divided into 2n cells
- Each cell is associated with a Minterm
- An output(function) value for each input value associated with a
mintern is written in the cell representing the minterm
→ 1-cell, 0-cell
1 0 1 1 1 1
F(a) =m (1)
1-cell
b
a b F
a 0 1 b0 1
0 0 0
0 0 1 a
0 1 1 0 0 1
1 0 1 1 2 3
1 1 1 1 1 0
F(a,b) = m(1,2)
10 Map Simplification
IMPLEMENTATION OF K-MAPS
- Don’t-Care Conditions -
In some logic circuits, the output responses
for some input conditions are don’t care
whether they are 1 or 0.
Multiplexer
Encoder
Decoder
etc
13 Combinational Logic Circuits
MULTIPLEXER
Select Output
S1 S 0 Y
0 0 I0
0 1 I1
1 0 I2
1 1 I3
14 Combinational Logic Circuits
DECODER
2-to-4 Decoder
E A1 A0 D0 D1 D2 D3
0 0 0 0 1 1 1
0 0 1 1 0 1 1
0 1 0 1 1 0 1
0 1 1 1 1 1 0
1 d d 1 1 1 1
15 Combinational Logic Circuits
ENCODER
Octal-to-Binary Encoder
16 Flip Flops
FLIP FLOPS
• Types of flip-flop
D Flip-Flop
T Flip-Flop
JK Flip-Flop
SR Flip-Flop
D Flip-Flop JK Flip-Flop
• Characteristic • J K Q(t+1) Table
Characteristic Operation
D Q( 1)Table
t+ Operation
0 Reset 0 0 Q(t) No change
1 1 Set 0 1 0 Reset
0
1 0 1 Set
1 1 Q(t) Complement
• Characteristic Equation
Q(t+1) = D • Characteristic Equation
• Excitation Table Q(t+1) = J Q + K Q
• Excitation
Q(t) Q(t Table
+1) J K Operation
Q(t +1) D Operation
0 0 0 X No change
0 0 Reset
1 1 Set 0 1 1 X Set
1 0 X 1 Reset
1 1 X 0 No Change
18 Flip Flops
T Flip-Flop SR Flip-Flop
• S R Q(t+1)
Characteristic Operation
Table
• Characteristic Table
T Q(t +1) Operation
0 0 Q(t) No change
0 Q(t) No change 0 1 0 Reset
1 Q(t) Complement 1 0 1 Set
1 1 ? Undefined
• Characteristic Equation
• Characteristic Equation
Q(t+1) = T Å Q Q(t+1) = S + R Q, S.R
• Excitation Table =0
• Q(t) Q(t+
Excitation 1) S R
Table Operation
Q(t +1) T Operation
0 0 0 X No change
Q(t) 0 No change
0 1 1 0 Set
Q(t) 1 Complement
1 0 0 1 Reset
1 1 X 0 No change
19 Sequential Circuits