Digital Logic Design Guide
Topics covered
Digital Logic Design Guide
Topics covered
Module 1:
Principles of combinational logic : Definition of combinational logic, Canonical forms, Generation
of switching equations from truth tables, Karnaugh maps – 3, 4 and 5 variables, Incompletely
specified functions (Don’t care terms), Simplifying Max term equations, Quine – McClusky
minimization technique- Quine – McClusky using don’t care terms, Reduced Prime Implicant Tables
(Text 1, Chapter 3).
➢ Let X be the set of input variables: (𝑥0 , 𝑥1 ,……, 𝑥𝑛 ) and Y be the set of output variables: (𝑦0 ,
𝑦1 ,……, 𝑦𝑚 ).
➢ The combinational function (F), operates on the input variable set X, to produce the output
variable set Y. The output is related to input as: Y = F(X).
➢ The relationship between the input and output variables can be expressed in equations, logic
diagrams, or truth tables.
➢ A truth table specifies the input conditions under which the outputs are true or false (1 or 0).
Switching equations are then derived from truth tables and realized using gates.
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 1
Regulation – 2018 Digital System Design-18EC34
Steps:
1. Indentify number of input and output variables
2. List all possible combination of inputs.
3. Write output for each combination of inputs
✓ The value of the function (f) is easily determine for any set of values of x, y, and z by
applying the definition of AND, OR and NOT operations.
3. Define the following.
i. Literal
ii. Product of sums
iii. Canonical product of sums
iv. Sum of minterms
v. Essential prime implicant. June. 2012, 10ES33, 05 Marks
Normal Formulas:
Sum-of-products form or Disjunctive normal form or Disjunctive normal formula: A
Boolean formula that is written as a single product term or as a sum (disjunctive) of product terms.
Example: f(w,x,y,z) = x̅ + w y̅ + w̅ y̅ z
Literal: Defined as each occurrence of either a complemented or an uncomplemented variable in
describing formula. The above equation consists of six literals: x̅, w, y̅, w̅, y̅, z
Product Term: Defined as either a literal or a product (conjunction) of literals. The above
equation consists of three product terms: x̅, wy̅, w̅y̅z
Canonical Formulas:
1. Define canonical Minterm form and canonical Maxterm form. Dec. 2012, 10ES33, 05 Marks
2. Explain canonical form of Boolean equations with an example. Dec. 2011, 10ES33, 04 Marks
➢ Boolean formulas are used to describe Boolean functions ie truth tables; hence there is
relationship between truth tables and Boolean expressions, i.e., evaluating the formula under all
possible assignments of independent variables.
➢ In canonical formulas, Boolean formulas are written from truth table. There are two types of
expressions obtained directly from truth table: i) Canonical minterm formula, ii) Canonical
maxterm formula.
➢ These are special cases of disjunctive normal formula and conjunctive normal formula.
Minterm: It is the product term for output 1, in which all the variables of a function appears exactly
once either in complemented form or uncomplemented form. The variable appears complemented if
the value of variable is 0, and uncomplemented if the value of variable is 1.
m-Notation: The letter m symbolize a minterm, the notation 𝑚𝑖 is used to denote minterm
Availaible at: VTU
constructed from theHUB
row whose(Android App) is i
decimal equivalent
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 3
Regulation – 2018 Digital System Design-18EC34
Maxterm: It is the sum term for output 0, in which all the variables of a function appears exactly
once either in complemented form or uncomplemented form. The variable appears complemented if
the value of variable is 1, and uncomplemented if the value of variable is 0.
M-Notation: The letter M symbolize a maxterm, the notation 𝑀𝑖 is used to denote maxterm
constructed from the row whose decimal equivalent is i.
Incompletely Specified Function: In which out for some input combinations are not specified, it can
be either 0 or 1. It can be represented as ‘ϕ’ or ‘X’.
➢ For complete Boolean functions, the minterm and maxterm canonical formulas are unique i.e., for
any complete Boolean function, there is only one minterm canonical expression and only one
maxterm canonical expression.
➢ If two dissimilar-looking Boolean functions are manipulated into the same minterm or maxterm
canonical formulas, then it can be concluded that the two expressions are describing the same
function.
➢ The canonical formulas are serves as the starting point for formal techniques to determine simple
expressions that describe a function.
➢ The type manipulation that must be performed depends on some objective that is to be achieved.
1. It may be desirable to obtain an expression having the fewest literals that describes a function.
2. Objective might be to obtain a canonical form when the given formula is not in canonical form.
Implies:
➢ Consider two complete Boolean functions of n variables 𝑓1 and 𝑓2 . The function 𝑓1 implies the
function 𝑓2 if,
1. There is no assignment of values to the variables that makes 𝑓1 = 1 and 𝑓2 = 0.
2. Whenever 𝑓1 = 1, then 𝑓2 must also equals to 1
3. Alternatively, whenever 𝑓2 = 0, then 𝑓1 must also equals to 0.
Example 1: Consider the functions 𝑓1 (x, y, z) = xy + yz and 𝑓2 (x, y, z) = xy + yz +x̅z
Example 2: Consider the functions 𝑓3 (x, y, z) = (x + y)(y + z)( x̅ + z) and 𝑓2 (x, y, z) = (x + y)(y + z)
The function 𝑓1 implies 𝑓2 , but 𝑓2 not implies 𝑓1 The function 𝑓3 implies 𝑓4 , but 𝑓4 not implies 𝑓3
➢ Since the terms and expressions describes the functions, the concept of implies may also applied
to terms and expressions.
➢ In case of SOP form, each of its product terms implies the function i.e., when the product term has
the value 1, the function must also have the value 1 (2nd condition).
➢ In case of POS, each of its sum terms are implied by the function i.e., function implies the sum
term. Whenever the sum term has the value 0, the function must also have the value 0 (3 rd
condition).
Subsumes:
➢ A comparison between two product terms or two sum terms is also possible. The term 𝑡1 is said to
subsumes a term 𝑡2 if and only if all the literals of the term 𝑡2 are also literals of the term 𝑡1 .
Example: Consider the product terms 𝑡1 = 𝑥 𝑦 𝑧 and 𝑡2 = 𝑥 𝑧 the product term 𝑡1 subsumes the
product term 𝑡2 . Similarly, consider the two sum terms 𝑡3 = 𝑥 + 𝑦 + 𝑧 and 𝑡4 = 𝑥 + 𝑧, the sum
term 𝑡3 subsumes the sum term 𝑡4
➢ If the product term 𝑡1 subsumes a product term 𝑡2 , then 𝑡1 implies 𝑡2 , since whenever 𝑡1 has value
1, 𝑡2 also has the value 1 (2nd condition). Similarly, if the sum term 𝑡3 subsumes a sum term 𝑡4 ,
then 𝑡4 implies 𝑡3 , since whenever 𝑡3 has value 0, 𝑡4 also has the value 0 (3rd condition).
➢ By the absorption law, if one term subsumes another term in an expression, then the subsuming
term can be deleted from the expression without changing the function being described. i.e., the
term 𝑡1 can be deleted in SOP expression and the term 𝑡3 can be deleted from POS expression.
Availaible at: VTU HUB (Android App)
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 5
Regulation – 2018 Digital System Design-18EC34
Prime Implicant:
➢ An implicant is said to be a prime implicant if it doesn’t subsumes an implicant of the same
function with fewer literals..
Example: Again consider the same truth table.
➢ The product term XYZ is an implicant of the function since it is minterm that describes the 6th row
of the truth table. It subsumes: YZ, XZ, and XY. If at least one of these three terms is an implicant
of the function, then XYZ is not a prime implicant.
✓ The term xz is not an implicant of the function, since it does not imply the function when
(X,Y,Z) = (1,1,1), XZ = 1 and F = 0
✓ Similarly, the product term XY is not an implicant of the function, since when (X,Y,Z) =
(1,0,0), XY = 1 and F = 0.
✓ But the product term YZ is an implicant of the function, since when (X,Y,Z) = (0,0,1), and
(1,0,1), YZ = 1 and F = 1.
✓ Hence the product term XYZ is not a prime implicant of the function.
➢ Similarly, consider the term YZ, is an implicant of the function. It subsumes: Y and Z. Both Y and
Z are not implicants of the function. Hence the term YZ is an prime implicant of the function.
➢ Similarly, X is also prime implicant of the function.
➢ Thus, a prime implicant of a function is a product term which implies the function with additional
property that if any literal is removed from the term, then the resulting term no longer implies the
Availaible
function.at: VTU HUB (Android App)
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 6
Regulation – 2018 Digital System Design-18EC34
Prime Implicate:
➢ An implicate of a complete Boolean function is said to be prime implicate, if it doesn’t subsumes
other implicate(s) of the same function with fewer literals.
Example: Again consider the same truth table.
➢ The sum (X + Y + Z) is an implicate of the function since it is maxterm that describes the 5th row
of the truth table. It subsumes: (X + Z), (X + Y) and (Y + Z). If at least one of these three terms is
an implicate of the function, then (X + Y + Z) is not a prime implicate.
✓ The term (Y + Z) is not an implicate of the functions, since it does not implied by the
function, when XYZ = 000, (Y + Z) = 0 and F = 1
✓ Similarly, the sum term (X + Y) is an not implicate of the function, since when XYZ =
101, YZ = 0 and F = 1.
Availaible at: VTU HUB (Android App)
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 7
Regulation – 2018 Digital System Design-18EC34
✓ But the sum term (X + Z) is an implicate of the function, since when XYZ = 100 and 110,
(X + Z) = 0 and F = 0.
✓ Hence the sum term (X + Y + Z) is not a prime implicate of the function.
➢ Similarly, consider the term (X + Z), is an implicate of the function. It subsumes: X and Z. Both X
and Z are not implicates of the function. Hence the term (X + Z) is an prime implicate of the
function.
➢ Similarly, (X + Y)is also prime implicate of the function.
➢ Thus, a prime implicate of a function is a sum term which implied by the function with additional
property that if any literal is removed from the term, then the resulting term no longer implied by
the function.
Karnaugh Maps
1. Define K-map, incompletely specified function, essential prime implicants and gray code.
Dec.2016/Jan.2017, 15EC33, 04 Marks
➢ K-map is a graphical representation of truth table or diagrammatic representation of Boolean
function. It is an useful tool to determine implicants and implicates of a Boolean function. It was
developed by Veitch and modified by Karnaugh.
➢ It is a geometrical configuration of 2𝑛 cells such that each of the n-tuples corresponding to a row
of a truth table uniquely locates a cell on the map. The function values assigned to the n-tuples are
placed as entries in the cells.
➢ The two cells are physically adjacent within the configuration if and only if their respective n-
tuples differ in exactly one element. ie the cells are said to be adjacent if and only if one variable
changes from its complement to uncomplement or uncomplement to complement.
Prime Implicants:
➢ The product term corresponding to the sub-cube which is not contained in any other sub-cubes is
called Prime Implicants. Consider the below map,
➢ The product term corresponding to sub-cube A is XYZ, it is an implicant of the function since it is
a minter. Similarly product term corresponding to sub-cube B is YZ and to C is XY.
➢ The sub-cube A is totally contained in sub-cube B and its product term XYZ subsumes the term YZ
and it is implicant of the function. Hence the term XYZ is not a prime implicant.
➢ The sub-cubes B and C are not contained with any other sub-cubes, hence their corresponding
product terms YZ and XY are prime implicants.
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 12
Regulation – 2018 Digital System Design-18EC34
➢ Then minimal Product is the product of the sum terms associated with all the subcubes selected.
Inputs Outputs
X Y Z F 𝐅
0 0 0 1 0
0 0 1 1 0
0 1 0 0 1
0 1 1 X X
1 0 0 0 1
1 0 1 X X
1 1 0 0 1
1 1 1 1 0
➢ From the truth table, the complement of the incomplete Boolean functions is also an incomplete.
Minimal Sums: To obtain minimal sums, while forming subcubes don’t cells are considered as 1-
cells. It is not necessary to form a subcubes include all don’t cares.
Minimal Products: To obtain minimal products, while forming subcubes don’t cells are considered
as 0-cells. It is not necessary to form a subcubes include all don’t cares.
Prime Implicants:
➢ All the implicants of a complete Boolean function can be generated from its set of minterms by
repeatedly applying the relationship AB + A̅B. Where A denotes a single variable and B denotes
product of variables. This provides for combining two product terms to form a new single product
term.
➢ The application of this relationship involves repeated comparisons. For this minterms are initially
placed in a list. Two minters that differ exactly in one literal are related by AB and A̅B and hence
combine to form new term B. This new term B is then placed in a second list.
➢ The two minters AB and A̅B are implicants of the function, and neither of these minters is a
prime implicant of the function since they each subsume the generated term B. This is indicated
by placing a check mark next to the two generating terms.
➢ The comparison process is carried out on all pairs of minterms of the initial list. The existence of
a check mark doesn’t disqualify a minterm from further comparisons with other minterms in
order to generate additional terms.
➢ The new list of terms consisting of one less variable is then subjected to above comparison
process. That is, if two terms have the forms AB and A̅B where A is a single variable and B is a
product of variables, then the two terms are combined to form a new single term B that is entered
in a third list.
➢ Again the two generating terms are checked to indicate that they are not prime implicants.
Duplicate terms are not entered in the new list.
➢ The comparison process is continued on each new list until no new list is generated. All terms
contained in the set of lists are all the implicants of the function and those that are not checked are
the prime implicats.
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 14
Regulation – 2018 Digital System Design-18EC34
5. Increase i by 1 and repeat Step 4. The increase of i is continued until all terms are compared. The
new list contains the implicants of the function that have one less variable than those implicants in
the generating list.
6. Each section of the new list formed has terms of equal index. Steps 3, 4, and 5 are repeated on this
list to form another list. The two terms combine if they have their don’t cares in the same relative
positions and if they differ in exactly one bit position.
7. The process terminates when no new list is formed.
8. All terms without check marks are prime implicants.
Prepared by: Halesha H R & Aruna R Sri Sairam College of Engineering Anekal. Page | 15