




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























Logic Gates
Boolean Algebra
Map Specification
Combinational Circuits
Flip-Flops
Sequential Circuits
Memory Components
Integrated Circuits
Introduction
Logic Gates
Digital Computers
signal range
0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 9 10 2 2 3 4 5 6 7 8 9 1011 3 3 4 5 6 7 8 9 101112 4 4 5 6 7 8 9 10111213 5 5 6 7 8 9 1011121314 6 6 7 8 9 101112131415 7 7 8 9 10111213141516 8 8 9 1011121314151617 9 9 101112131415161718
6 5 4 3 2 1 0
binary octal
A X X = (A + B)’ B
Name Symbol Function Truth Table
Logic Gates
A X = A • B X or B X = AB
0 0 0 0 1 0 1 0 0 1 1 1
0 0 0 0 1 1 1 0 1 1 1 1
A X X = A + B B
1 0
Buffer A X X = A
A X 0 0 1 1
A X X = (AB)’ B
0 0 1 0 1 1 1 0 1 1 1 0
0 0 1 0 1 0 1 0 0 1 1 0
Exclusive OR
A X = A ⊕ B X or B X = A’B + AB’
0 0 0 0 1 1 1 0 1 1 1 0
A X = (A ⊕ B)’ X or B X = A’B’+ AB
0 0 1 0 1 0 1 0 0 1 1 1
Exclusive NOR or Equivalence
A B X
A B X
A X
A B X
A B X
A B X
A B X
Boolean Algebra
Truth Table
Boolean Algebra
[1] x + 0 = x [3] x + 1 = 1 [5] x + x = x [7] x + x’ = 1 [9] x + y = y + x [11] x + (y + z) = (x + y) + z [13] x(y + z) = xy +xz [15] (x + y)’ = x’y’ [17] (x’)’ = x
[2] x • 0 = 0 [4] x • 1 = x [6] x • x = x [8] x • X’ = 0 [10] xy = yx [12] x(yz) = (xy)z [14] x + yz = (x + y)(x + z) [16] (xy)’ = x’ + y’
[15] and [16] : De Morgan’s Theorem Usefulness of this Table
x’y’ = (x + y)’ x’+ y’= (xy)’ I, AND → NOR I, OR → NAND
Boolean Algebra
Many different logic diagrams are possible for a given Function
Boolean Algebra
A B C F A B
C F
F
A B
C
Truth Table
Boolean Function
Unique Many different expressions exist
Simplification from Boolean function
Karnaugh Map (K-map) is a simple procedure for
simplifying Boolean expressions.
Truth Table
Boolean function
Karnaugh Map
Simplified Boolean Function
Map Simplification
Karnaugh Map for an n-input digital logic circuit (n-variable sum-of-products
form of Boolean Function, or Truth Table) is
Each Minterm is identified by a decimal number whose binary representation
is identical to the binary interpretation of the input values of the minterm.
x F 0 1 1 0
x 0 1
0 1
x 0 1
1
Karnaugh Map value of F
Identification of the cell
x y F 0 0 0 0 1 1 1 0 1 1 1 1
x
y (^0 )
0 1
0 1 2 3
x
y 0 1 0 1
F(x) =
F(x,y) = ∑ (1,2)
1-cell
Map Simplification
Adjacent cells
Cells (1,0) and (1,1) are adjacent Minterms for (1,0) and (1,1) are x • y’ --> x=1, y= x • y --> x=1, y=
F = xy’+ xy can be reduced to F = x From the map
Rule: xy’ +xy = x(y+y’) = x
x
y 0 1
0
1 1 1
F(x,y) =^ ∑^ (2,3)
2 adjacent cells xy’ and xy → merge them to a larger cell x
= xy’+ xy = x
Map Simplification
u’v’w’x’ + u’v’w’x + u’v’wx + u’v’wx’ = u’v’w’(x’+x) + u’v’w(x+x’) = u’v’w’ + u’v’w = u’v’(w’+w) = u’v’
uv
wx
uv
wx
u
v
w
x
u
v
w
x
u’v’
uw
u’x’
v’x
vw’
u’v’w’x’+u’v’w’x+u’vw’x’+u’vw’x+uvw’x’+uvw’x+uv’w’x’+uv’w’x
= u’v’w’(x’+x) + u’vw’(x’+x) + uvw’(x’+x) + uv’w’(x’+x)
= u’(v’+v)w’ + u(v’+v)w’
= (u’+u)w’ = w’
Map Simplification
u
v
w
x
uv
wx
u
v
uv
x
w’
u
w V’
Logic function represented by a Karnaugh map
can be implemented in the form of I-AND-OR
A cell or a collection of the adjacent 1-cells can
be realized by an AND gate, with some inversion of the input variables.
x
y
z
x’ y’ z’
x’ y z’
x y z’
F(x,y,z) = ∑ (0,2,6)
x’
z’
y z’
Map Simplification
x’ y
x y z’
x’ y’ z’ F
x z
y z
z’
Logic function represented by a Karnaugh map
can be implemented in the form of I-OR-AND
If we implement a Karnaugh map using 0-cells,
the complement of F, i.e., F’, can be obtained.
Thus, by complementing F’ using DeMorgan’s
theorem F can be obtained
F(x,y,z) = (0,2,6)
x
y
x z y’
z
F’ = xy’ + z
F = (xy’)z’ = (x’ + y)z’
x y
z
Map Simplification
Half Adder
cn = xy + xcn-1+ yc (^) n- = xy + (x ⊕ y)c (^) n- s = x’y’c (^) n-1+x’yc’ (^) n-1+xy’c’ (^) n-1+xyc (^) n- = x ⊕ y ⊕ cn-1 = (x ⊕ y) ⊕ c (^) n-
x
y
cn- x
y
c (^) n-
cn s
Combinational Logic Circuits
x
y
x
y
c = xy s = xy’ + x’y = x ⊕ y
x y
c
s
x y
cn-
cn
Full Adder
x y c s 0 1
x y cn-1 cn s 0
0
1 0
0
1
1 1
0
1
0
1
1
0
1 0
Multiplexer Encoder Decoder Parity Checker Parity Generator etc
Combinational Logic Circuits