Download Logic Circuits-Digital Logic-Lecture 04 Slides-Electrical and Computer Engineering and more Slides Digital Logic Design and Programming in PDF only on Docsity!
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 4-
ECE380 Digital Logic
Introduction to Logic Circuits:
Synthesis using AND, OR, and
NOT gates
Example logic circuit design
• Assume we want to design a logic circuit with
three inputs x , y , and z
• The circuit output should be 1 only when x =
and either y or z (or both) is 1
- Three possible combinations
- x=1, y=0, z=1 => xy’z
- x=1, y=1, z=0 => xyz’
- x=1, y=1, z=1 => xyz
• The function could be written as
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 4-
Example logic circuit design
Example logic circuit design
but is not the simplest
such network
f(x,y,z)=xy’z+xyz’+xyz
xy’z+xyz’+xyz
xy’z+xy from 14a
x(y’z+y) from 12a
x(y+z) from 16a
x
y z f
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 4-
Minterms
• For a function of n variables f(a,b,c,…n)
- A minterm of f is a product of n literals (variables)
in which each variable appears once in either true
or complemented form, but not both
- f(a,b,c) -- minterm examples: abc, a’bc, abc’
- f(a,b,c) -- invalid examples: ab, c’, a’c
- An n variable function has 2 n^ valid minterms
Minterms
row corresponds to a
single minterm
written as a sum of
minterms, the form is
called a standard (or
canonical) sum-of-
products
Row number
1 0 1 m 5 =xy’z
0 1 1 m 3 =x’yz 1 0 0 m 4 =xy’z’
1 1 0 m 6 =xyz’ 1
x
1 1 m 7 =xyz
1 0 m 2 =x’yz’
0 1 m 1 =x’y’z
0 0 m 0 =x’y’z’
y z Minterm
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 4-
Minterm notation
• An equation may be written in terms of
m-notation
f(a,b,c)=m 0 +m 1 +m 2 +m 4
f(a,b,c)=a’b’c’+a’b’c+a’bc’+ab’c’
f(a,b,c)=Σm(0,1,2,4)
a
b c f
Minterm notation examples
• What is the minterm notation for the
following function?
- f(a,b,c)=abc+a’bc+abc’+a’b’c
• What is the function (in terms of variables) if
the minterm notation is the following?
– f(a,b,c)= Σm(1,5,6,7)
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 4-
Maxterm notation
• An equation may be written in terms of
M-notation
f(a,b,c)=M 3 · M 5 · M 6 · M 7 f(a,b,c)=(a+b’+c’)(a’+b+c’)(a’+b’+c)(a’+b’+c’)
f(a,b,c)=ΠM(3,5,6,7)
a
b c f
Maxterm notation examples
• What is the maxterm notation for the
following function?
- f(a,b,c)=(a+b+c)(a’+b+c)(a+b+c’)(a’+b’+c)
• What is the function (in terms of variables) if
the maxterm notation is the following?
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 4-
Sum-of-products and minimality
• A function expressed in standard sum-of-
products (or product-of-sums) form may not
be minimal
a
b f
f(a,b)=a’b’+a’b+ab=a’+b
Form conversion
• If a function f is given in Σm or ΠM form, it is
easy to find f or f’ in Σm or ΠM form
• Use the following form conversion table
Use numbers not on maxterm list (0,2,5,7)
Use numbers on maxterm list (1,3,4,6)
Use numbers --
not on maxterm list (0,2,5,7)
f= ΠM (1,3,4,6)
Use numbers on minterm list (0,2,5,7)
Use numbers not on minterm list (1,3,4,6)
Use numbers not on minterm list (1,3,4,6)
f=Σm --
f=Σm f= ΠM f’=Σm f’= ΠM
GIVEN DESIRED FORM
FORM