Week 2 Module For Logic Circuit - LMS
Week 2 Module For Logic Circuit - LMS
Week 2 Module For Logic Circuit - LMS
Tuguegarao City
Prepared by:
Reviewed by:
Recommended by:
Approved by:
For this week, August 31 – September 4, 2020 of this grading period, the following shall be your guide for the
different lessons and tasks that you need to accomplish. Be patient, read it carefully before proceeding to the
tasks expected of you.
GOOD LUCK!
Content
Chapter 1: BOOLEAN ALGEBRA
• Canonical and Standard Forms
Learning Outcomes
•
I. LEARNING CONTENT
Minterm – is the product of n literals in which each variable appears exactly once either in T or F form, but not in
both. (Also known as a standard product term). Each minterm has value 1 for exactly one combination of values of
variables.
Maxterm – is the sum of n literals in which each variable appears exactly once in T or F from, but not in both. Each
maxterm has a value of 0 for exactly one combination of values of variables.
In other words:
Minterm, we look for the functions where the output results in “1”.
Maxterm we look for function where the output results in “0”.
Minterms maxterms
0 0 0 𝑥′𝑦’𝑧’ 𝑚0 𝑥+𝑦+𝑧 𝑀0
0 0 1 𝑥′𝑦’𝑧 𝑚1 𝑥 + 𝑦 + 𝑧’ 𝑀1
0 1 0 𝑥′𝑦𝑧’ 𝑚2 𝑥 + 𝑦’ + 𝑧 𝑀2
0 1 1 𝑥′𝑦𝑧 𝑚3 𝑥 + 𝑦’ + 𝑧’ 𝑀3
1 0 0 𝑥𝑦’𝑧’ 𝑚4 𝑥′ + 𝑦 + 𝑧 𝑀4
1 0 1 𝑥𝑦’𝑧 𝑚5 𝑥’ + 𝑦 + 𝑧’ 𝑀5
1 1 0 𝑥𝑦𝑧’ 𝑚6 𝑥′ + 𝑦’ + 𝑧 𝑀6
1 1 1 𝑥𝑦𝑧 𝑚7 𝑥′ + 𝑦’ + 𝑧’ 𝑀7
Explanation:
A Boolean function can be represented using minterms. For example, the function in the table 2 is determined by
expressing the combinations 001 , 1000 , and 111 as 𝑥’𝑦’𝑧 , 𝑥𝑦’𝑧’, and 𝑥𝑦𝑧 , respectively. Since each one of these
minterms results in 𝑓1 = 1, we should have
𝑓1 = 𝑥 ′ 𝑦 ′ 𝑧 + 𝑥𝑦 ′ 𝑧 ′ + 𝑥𝑦𝑧 = 𝑚1 + 𝑚4 + 𝑚7
𝑓2 = 𝑥 ′ 𝑦𝑧 + 𝑥𝑦 ′ 𝑧 + 𝑥𝑦𝑧 ′ + 𝑥𝑦𝑧 = 𝑚3 + 𝑚5 + 𝑚6 + 𝑚7
These examples demonstrate an important property of Boolean algebra: any Boolean function can e expressed as
sum of minterms (by “sum” is meant the ORing of terms)
x y z Function 𝒇𝟏 Function 𝒇𝟐
0 0 0 0 0
0 0 1 1 0
0 1 0 0 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
Now consider the complement of a Boolean function, if we are going to consider those combination have 0 as
output and then we are going to use OR operations we will have the function:
𝑓1′ = 𝑥 ′ 𝑦 ′ 𝑧 ′ + 𝑥𝑦 ′ 𝑧 + 𝑥 ′ 𝑦𝑧 ′ + 𝑥 ′ 𝑦𝑧 + 𝑥𝑦 ′ 𝑧 + 𝑥𝑦𝑧′
𝑓1 = 𝑀0 • 𝑀2 • 𝑀3 • 𝑀5 • 𝑀6
𝑓2 = 𝑀0 𝑀1 𝑀2 𝑀4
These examples demonstrate a second important property of Boolean algebra: any Boolean function can be
expressed as a product of maxterm (by “product” is meant the ANDing of terms). The procedure for obtaining the
product of maxterms directly from the truth table is as follows. Form a maxterm for each combination of the
variables that produces 0 in the function, and then form the AND of all those maxterms. Boolean functions
expressed as a sum of minterms or product of maxterms are said to be in canonical form.
Sum of Minterms
It was previously stated that for n binary variables, one can obtain 2𝑛 distinct minterms, and that any Boolean
function can be expresses as sum of minterms. The minterms whose sum defines the Boolean functions are those
that give the 1’s of the function in a truth table.
Note that if one or more variables is missing in a given function, just AND the term by the expression such as 𝑥 +
𝑥’ by postulate 5, since this will give you 1. To clarify this statement/procedure lets take a look at the example
below.
Solution: Note that the function F has three variables, the first term is missing two variables; therefore:
𝐴 = 𝐴(𝐵 + 𝐵′ ) = 𝐴𝐵 + 𝐴𝐵"
𝐴 = 𝐴𝐵(𝐶 + 𝐶 ′ ) + 𝐴𝐵′(𝐶 + 𝐶 ′ )
𝐹 = 𝐴 + 𝐵′𝐶
But 𝐴𝐵′𝐶 appear twice, and according to theorem 1 (𝑥 + 𝑥 = 𝑥), it is possible to remove one of them. Rearranging
the minterms in ascending order, we finally obtain
= 𝑚1 + 𝑚4 + 𝑚5 + 𝑚6 + 𝑚7
It is sometimes convenient to express the Boolean function, when its sum of minterms, in the following short
notation:
𝐹(𝐴, 𝐵, 𝐶) = ∑(1,4,5,6,7)
The summation symbol ∑ stands for ORing of terms; the numbers following it are the minterms of the function.
The alternative procedure for deriving the minterms of a Boolean function is to obtain the truth table of the
function directly form the algebraic expression and then read the minters from the truth table. Let’s consider again
the first example:
𝐹 = 𝐴 + 𝐵′𝐶
A B C F
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Note: To do your truth table faster just understand the function, in our example, it means that the function is equal
to 1 when A=1 or BC=01.
Product of Maxterm
To express Boolean function as product of maxterm, it must be first be converted to a form or OR terms.
You can do this by applying the distributive law which is 𝑥 + 𝑦𝑧 = (𝑥 + 𝑦)(𝑥 + 𝑧). Then any missing variable 𝑥 in
each OR terms is ORed it with 𝑥𝑥’.
Solution:
For the third term, we also apply the same steps we did on the first and second term.
We let 𝐴 = 𝑦 + 𝑧, since 𝑥 is missing in this term, we will OR 𝑥𝑥′ to 𝐴 so we have the
𝑦+𝑧
expression
Next is we apply again the distributive law to this expression so that we will have the
𝐴 + 𝑥𝑥′
expression:
(𝐴 + 𝑥 )(𝐴 + 𝑥′) Substituting 𝐴 = 𝑦 + 𝑧, we will have the resulting expression equal to:
(𝑥 + 𝑦 + 𝑧)(𝑥′ + 𝑦 + 𝑧) This is for the third term.
Combining all the resulting expression from each term we will have the expression:
Removing the duplicate terms and rearranging them, we will have the final expression:
= 𝑀0 𝑀2 𝑀4 𝑀5
𝐹(𝑥, 𝑦, 𝑧) = ∏(0,2,4,5)
Standard Forms
The two canonical forms of Boolean algebra are basic forms that one obtains from reading a function from truth
table. These forms are very seldom with the least number of literals because of the fact that all variables must be
present either complemented or uncomplemented.
Another way to present Boolean function is standard form, this is a simplified version of the canonical forms.
The sum of product is a Boolean expression containing AND terms, called product terms, of one or more literals
each. The sum denotes the ORing of these terms. Example of sum of product is
𝐹1 = 𝑦 ′ + 𝑥𝑦 + 𝑥′𝑦𝑧′
A product of sums is a Boolean expression containing OR terms, called sum terms. Each term may have any number
of literals. The product denotes the ANDing of these terms. Example of product of sum is:
𝐹2 = 𝑥(𝑦 ′ + 𝑧)(𝑥 ′ + 𝑦 + 𝑧 ′ )
III. REFENCES
Textbook:
Hwang, E.O. (2018). Digital logic and microprocessor design with interfacing, 2nd edition; Calif., U.S.A.:
Cengage Learning
Other References:
Charles H. Roth Jr, Lizy Kurian John, Byeong Kil Lee (2016). Digital systems design using Verilog, International
edition; Australia: Cengage Learning
Online references:
AspenCore, Inc. (2020). Laws of Boolean Algebra. Retrieved from https://www.electronics-
tutorials.ws/boolean/bool_6.html in August 2020