Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

CSE 223: Digital Electronics

Lecture 5 : Simplification of Boolean Expression using K-


Map Design and Designing Combinational Logic Circuit

Md. Jayed Hossain

Department of Computer Science and Engineering

Daffodil International University


1. K-Map Design

The steps below are followed in using the K-map method for simplifying a Boolean expression –
Step-1: Construct the K-map and place 1s in those squares corresponding to the 1s in the truth table.
Place 0s in all other squares.
When the desired output is presented as a Boolean expression instead of a truth table, get the
expression into SOP form if it is not already so. For each product term in the SOP expression, place a 1
in each K-map square whose label contains the same combination of input variables. Place a 0 in all
other squares.
Step-2: Examine the map for adjacent 1s and loop those 1s which are not adjacent to any other 1s.
These are called isolated 1s.
Step-3: Next, look for those 1s which are adjacent to only one other 1. Loop any pair containing such 1.
Step-4: Loop any octet even if it contains some 1s that have already been looped.
Step-5: Loop any quad that contains one or more 1s that have not already been looped, making sure to
use the minimum number of loops.
Step-6: Loop any pairs necessary to include any 1s that have not yet been looped, making sure to use
the minimum number of loops.
Step-7: Form the OR sum of all the terms generated by each loop.

Dept. of CSE Daffodil International University


1. K-Map Design (Contd.)

❑ The Karnaugh map (K map) is a graphical tool used to simplify a logic equation or to convert a truth table
to its corresponding logic circuit in a simple, orderly process.

Karnaugh maps and truth tables:


For 2 Variables

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Karnaugh maps and truth tables:


For 3 Variables

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Looping Groups of Two (Pairs):

After K-map simplification:

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Looping Groups of Two (Pairs):

After K-map simplification:

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Looping Groups of Four (Quads):

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Looping Groups of Four (Quads):

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

Looping Groups of Eight (Octets):

Dept. of CSE Daffodil International University 1


1. K-Map Design (Contd.)

If the number of total variable is 4. Then,


Single – 4 Variables
Pair – 3 Variables
Quad – 2 Variables
Octet – 1 Variable
Dept. of CSE Daffodil International University 1
1. K-Map Design (Contd.)

After K-map simplification:

Dept. of CSE Daffodil International University


1. K-Map Design (Contd.)

Dept. of CSE Daffodil International University


1. K-Map Design (Contd.)

Dept. of CSE Daffodil International University


2. Designing Combinational Logic Circuit using K-Map

Dept. of CSE Daffodil International University


2. Designing Combinational Logic Circuit using K-Map (Contd.)

Dept. of CSE Daffodil International University


2. Designing Combinational Logic Circuit using K-Map (Contd.)

Dept. of CSE Daffodil International University


2. Designing Combinational Logic Circuit using K-Map (Contd.)

Dept. of CSE Daffodil International University


3. Designing Combinational Logic Circuit

Dept. of CSE Daffodil International University


References

1. Digital Systems Principles and Applications - Ronald J. Tocci (Section 4.5)


2. Digital Fundamentals - Thomas L. Floyd (Section 4.8, 4.9)
3. Extra topics will be covered in the next class.
** Example math from these sections

Dept. of CSE Daffodil International University

You might also like