K Map
K Map
3 Karnaugh maps
Learning Objectives:
At the end of this topic you will be able to;
Draw a Karnaugh map for a logic system with up to four inputs and use
Module ET1
Introduction to Analogue and Digital Systems.
Karnaugh maps.
Congratulations on reaching this point in the course, which will mean that you
have successfully battled your way through some pretty tough Boolean
simplification techniques, which became very complex at times.
In this unit we are going to show you another method of simplification, which
you will hopefully find much quicker and less prone to error, as in many cases
the simplest Boolean expression is obtained immediately, without the need
for any further manipulation using Boolean algebra. So here we go !
This method of simplification of requires the production of a diagram to
represent the contents of a truth table, (or a map). Let us look at a very
simple example for a two input logic gate. From our previous work you will
realise that a two input gate can have four different possible settings. The
truth table looks like.
Inputs
B
0
0
1
1
A
0
1
0
1
Output
Q
0
1
1
1
Can you see how the logic state of Q has been transferred to the diagram ?
A
B
0
1
A
B
0
1
A
B
0
1
A
B
0
1
Now you should be able to complete a Karnaugh map for any two input logic
function, so lets put that to the test.
3
Module ET1
Introduction to Analogue and Digital Systems.
Exercise 1 Complete the following Truth Tables and Karnaugh maps for the
logic gates named.
1.
AND gate:
A
B
0
1
2.
NOR gate:
Inputs
B
0
0
1
1
3.
A
0
1
0
1
Output
A
Q
B
0
1
ExOR gate
A
B
0
1
NAND gate
A
B
0
1
5.
ExNOR gate
A
B
0
1
An alternative way of looking at the cells in the Karnaugh map is shown below:
A
B
A.B
A.B
A.B
A.B
This should give you a clue as to how we can read a Karnaugh map, since each
cell has its own Boolean expression!
Module ET1
Introduction to Analogue and Digital Systems.
So we can now fill in a Karnaugh map, but how do we read them to obtain a
Boolean expression? Complete the Karnaugh map for the following truth table.
A
B
0
1
In this case, the truth table and the Karnaugh map do not match one of our
standard logic gates, but we can extract the Boolean equation straight from
the cell in the Karnaugh map containing a logic 1, i.e. A.B
So what, you might say, there doesnt seem to be a lot of point in what we
are doing here, because we could have obtained this directly from the truth
table, without having to draw the Karnaugh map. Let us have a look at another
example.
Inputs
B
0
0
1
1
A
0
1
0
1
Output
Q
1
1
0
1
A
B
At first glance this might look like one of our standard logic gates, however it
isnt. Now if we write down the Boolean expression for each logic 1 in the map
we get the following:
A.B A.B A.B
This is not exactly the simplest of Boolean equations and we could have
obtained the same result from the truth table there still doesnt appear to
be much of an advantage to the Karnaugh map.
6
If we think of the right hand side of the Karnaugh map and compare it to the
map we introduced earlier showing the Boolean terms for each cell we obtain
the following:
A
B
What this shows is that the Boolean terms we have grouped together are:
A.B A.B
A.(B B)
A.1
A
Using the Karnaugh map is a graphical method of finding the common factors
in a Boolean expression. If we look at the Karnaugh map we can see that the
group of 1s we have identified corresponds to when input A is a logic 1, which
corresponds to the simplest term obtained via the Boolean simplification.
Module ET1
Introduction to Analogue and Digital Systems.
Now consider the following alternative grouping that could have been created.
A
B
A.B A.B
A.B
A.B
Again this shows that the Boolean terms we have grouped together are:
A.B A.B
B.( A A )
B.1
B
If we look at the Karnaugh map we can see that the group of 1s we have
identified corresponds to when input B is a logic 0, or B , which corresponds
to the simplest term obtained via the Boolean simplification.
If we put the two results together we obtain the simplest solution as
A B
The advantage of a Karnaugh map is that we can quickly spot the common
terms in a complicated expression. This advantage will be more obvious when
we deal with 4 input expressions.
The only thing we have to be sure of is that every logic 1 in the map is
included in at least one group.
8
0
1
Module ET1
Introduction to Analogue and Digital Systems.
Three Input Logic Systems.
A three input logic system will have eight possible input combinations as
shown below.
Inputs
B
0
0
1
1
0
0
1
1
C
0
0
0
0
1
1
1
1
A
0
1
0
1
0
1
0
1
Output
Q
We need a bigger Karnaugh map to accommodate the extra input details, and
this is shown below:
BA
C
00 01 11 10
0
1
Things to note:
i.
the inputs A and B have been linked together on the top row of the
Karnaugh map.
ii.
the sequence of combinations for A.B , is not quite as you might
expect. They do not increase numerically as they move across the
table. This is deliberate, as it ensure that from one cell to the next
only one variable changes. This is essential if the Karnaugh map is
to be read correctly.
10
C
0
0
0
0
1
1
1
1
Inputs
B
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
Output
Q
a
b
c
d
e
f
g
h
A
0
1
0
1
0
1
0
1
Output
Q
1
1
1
0
0
0
1
0
BA
C
00 01 11 10
0
Example :
C
0
0
0
0
1
1
1
1
Inputs
B
0
0
1
1
0
0
1
1
BA
C
00 01 11 10
0
We use the same rules as before to group the Logic 1s together as a group as
shown below.
Now write down the Boolean expression
BA
for
C
00 01 11 10
each group. The rule is that we ignore
any
0
1 1 0 1
variable that changes between groups.
1
0 0 0 1
B.A{Note:
B.A
}
11
Module ET1
Introduction to Analogue and Digital Systems.
So the Boolean Expression is
C.B }
B.C A.B .
Now compare this to the Boolean Simplification.
{Note:
C.B
C
0
0
0
0
1
1
1
1
Inputs
B
0
0
1
1
0
0
1
1
Output
Q
1
1
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
BA
C
00 01 11 10
0
In this case there are a large number of logic 1s in the Karnaugh map, we
could group these into three groups of 2 as we have done previously.
BA
C
00 01 11 10
0
This does not look to be a very simple solution, and indeed we can use Boolean
Algebra to simplify this further as follows:
B.C A.B A.B
B.C B.( A A )
B.C B
C B
12
BA
C
CB .
00 01 11 10
0
The Karnaugh map shows that the two terms in the simplest Boolean
expression refer to groups of 4 logic 1s in the map. This gives us another rule
for working with Karnaugh maps Group the logic 1s into the largest group
possible, i.e. groups of 2 or 4 adjacent cells.
Exercise 3 Derive the simplest Boolean expression for the logic function
defined by the truth table.
C
0
0
0
0
1
1
1
1
Inputs
B
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
Output
Q
0
1
0
1
1
1
0
1
BA
C
00 01 11 10
0
1
13
Module ET1
Introduction to Analogue and Digital Systems.
Before we look at 4 input Karnaugh maps, there is one more special case we
need to consider for three inputs. Let us assume that a logic circuit has
produced the following Karnaugh map.
BA
C
00 01 11 10
0
At first glance it might appear that we would have to group these as two
groups of 2, giving the Boolean expression as:
A.B A.B
But this can be simplified to just A , which would indicate from our previous
work that there should be a group of 4 logic 1s in this map, and indeed there
is if we imagine the map rolled around so that the two ends meet.
BA
C
00 01 11 10
0
You will need to watch out for this in any examples you do, as it can often be
forgotten, leading to a more complex Boolean expression than needed.
You should begin to see now how the larger the group of 1s we can produce
the simpler our Boolean expression becomes.
This will become even more obvious as we consider the 4 input logic systems.
14
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
BA
DC
00 01 11 10
00
01
11
10
Check the Karnaugh map carefully to ensure you are happy with the location
of each line of the truth table in the Karnaugh map. When you have done a
few of these it will become a little easier, but in the early stages it is worth
taking your time when transferring the information from the truth table to
ensure you have not made an error.
Once the data has been transferred we simply apply all of the rules we have
discovered so far, namely
Group all logic 1s into as big a group as possible, i.e. groups of 2, 4 or 8
adjacent cells.
Ensure all logic 1s are included in at least one group
Write down the Boolean expression for each group, joined by +.
15
Module ET1
Introduction to Analogue and Digital Systems.
Example:
Inputs
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
1
1
1
0
0
1
0
1
0
1
0
0
0
1
0
1
BA
DC
00 01 11 10
00
01
11
10
Considering the Karnaugh map carefully there are three groups that can be
formed as shown. Notice that one group of terms wraps around the map to
give a small group of 2 Logic 1s. The following Boolean expression results.
A.C A.B A.C.D
This expression was obtained in one step, consider the simplification via
Boolean algebra.
A.B.C.D A.B.C.D A.B.C.D A.B.C.D A.B.C.D A.B.C.D A.B.C.D A.B.C.D
A.B.C.D A.B.C.D A.B.C.D A.B.C.(D D) A.B.C.D A.B.C.D A.B.C.D
A.B.C.D A.B.C.D A.B.C.D A.B.C A.B.C.(D D) A.B.C.D
A.C.D.(B B) A.B.C.D A.B.C A.B.C. A.B.C.D
A.C.D A.B.C.D A.C.(B B) A.B.C.D
A.C.D A.B.C.(D D) A.C
16
BA
DC
00 01 11 10
DC
00 01 11 10
00
00
01
01
11
11
10
10
A.C
A.C
BA
DC
BA
00 01 11 10
DC
00 01 11 10
00
00
01
01
11
11
10
10
A.C
17
Module ET1
Introduction to Analogue and Digital Systems.
Now its time for you to have a go at an example.
Example 2:
The following truth table contains the function of a logic circuit. Use the
blank Karnaugh map provided to determine the simplest Boolean expression to
show how the output Q can be derived from inputs A, B, C and D.
Inputs
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A
0
1
0
1
0
DC1
0
1
0
1
0
1
0
1
0
1
BA
00
01
11
10
Output
Q
0
0
0
1
1
001 01 11 10
1
0
0
0
0
1
1
1
1
0
{Hint : you should be able to find three groups in the Karnaugh map when it is
completed.}
18
00 01 11 10
00
01
11
10
Now consider the same map showing two different ways of grouping the Logic
1s, together and the resulting Boolean expressions.
BA
DC
00 01 11 10
00
01
11
10
OR
Looking at these two expressions you should realise that they are completely
different, both have the same number of terms so neither is a better
solution than the other, and they are both correct.
19
Module ET1
Introduction to Analogue and Digital Systems.
In an examination you will gain marks for doing the following things:
i.
20
C
0
0
0
0
1
1
1
1
A
0
1
0
1
0
1
0
1
Output
Q
1
0
0
1
0
1
0
1
BA
C
00 01 11 10
0
1
=
..
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
C
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
Inputs
B
Output
A
Q
0
0
1
0
0
1
1
0
0
0
1
1
0
1
1
1
0
0
1
0
0
1
1
0
0
0
1
1
0
1
1
1
Output
Q
BA
DC
00 01 11 10
00
01
11
10
21
Module ET1
Introduction to Analogue and Digital Systems.
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
1
1
0
1
0
1
BA
C
00 01 11 10
0
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
1
1
1
1
0
0
0
0
1
0
1
0
0
1
0
0
BA
DC
00 01 11 10
00
01
11
10
22
C
0
0
0
0
1
1
1
1
Output
Q
0
1
0
1
1
0
1
0
A
0
1
0
1
0
1
0
1
BA
C
00 01 11 10
0
1
=
..
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
0
1
0
1
1
0
1
0
0
0
0
0
1
1
1
1
BA
DC
00 01 11 10
00
01
11
10
23
Module ET1
Introduction to Analogue and Digital Systems.
You are now in a position to complete a Karnaugh map for 2, 3 and 4 input
logic functions, although 2 input maps are rarely required, as it is often just
as easy to get the Boolean expression from the truth table.
However, what if we are not given the truth table but just a Boolean
expression to simplify ?
Well we could draw the truth table and fill it in from the Boolean expression
and then complete the Karnaugh map. This would be a long process and it
would be better if we could move directly from the Boolean expression to the
Karnaugh map.
This is not as difficult as it might sound as long as we remember some simple
rules.
For a 2 input function,
i.
any term that contains 2 variables = 1 one cell in the Karnaugh map.
ii.
any term that contains 1 variable = 2 cells in the Karnaugh map.
For a 3 input function,
i.
any term that contains 3 variables = 1 cell in the Karnaugh map.
ii.
any term that contains 2 variables = 2 cells in the Karnaugh map.
iii. any term that contains 1 variable = 4 cells in the Karnaugh map.
For a 4 input function,
i.
any term that contains 4 variables = 1 cell in the Karnaugh map.
ii.
any term that contains 3 variables = 2 cells in the Karnaugh map.
iii. any term that contains 2 variables = 4 cells in the Karnaugh map.
iv.
any term that contains 1 variable = 8 cells in the Karnaugh map.
24
To solve this you need to start with a blank Karnaugh map, take each term
individually and put a 1 in the cell of the Karnaugh map that corresponds to
the logic expression.
Step 1 :
A.B.C.D
00 01 11 10
00
01
11
10
Step 2 :
B.C.D
00 01 11 10
00
01
11
10
25
Module ET1
Introduction to Analogue and Digital Systems.
Step 3 :
B.C.D
00 01 11 10
00
01
11
10
Step 4 :
A.B.C.D
00 01 11 10
00
01
11
10
Step 5 :
A.B.D
00 01 11 10
00
01
11
10
26
B.C.D
BA
DC
00 01 11 10
00
01
11
10
Step 7 : Finally having completed all the Logic 1s, the rest of the map can be
filled in with 0s, to leave the completed map.
BA
DC
00 01 11 10
00
01
11
10
00 01 11 10
00
01
11
10
27
Module ET1
Introduction to Analogue and Digital Systems.
Example 2 : Simplify the following Boolean Expression.
( A C) A.B.C A.C.D A.C
In this example we have one of the inverted functions, in this case a NOR
function. These are difficult to put directly into a Karnaugh map because we
have to think of the inverse function. It is easier to use DeMorgans theorem
to change the expression slightly before completing the Karnaugh map.
Step 1 : Remove the inverted function from the original expression.
( A C) A.B.C A.C.D A.C
( A.C) A.B.C A.C.D A.C
A.C A.B.C A.C.D A.C
A.C
BA
DC
00 01 11 10
00
01
11
10
28
00 01 11 10
00
01
11
10
Step 4 :
A.C.D
BA
DC
00 01 11 10
00
01
11
10
Step 5 : A.C
BA
DC
00 01 11 10
00
01
11
10
29
Module ET1
Introduction to Analogue and Digital Systems.
Step 6 : Complete the Karnaugh map by adding 0s to the map.
BA
DC
00 01 11 10
00
01
11
10
Step 7 : Group the 1s into as large a group as possible and write down a
Boolean expression for each group.
BA
DC
00 01 11 10
00
01
11
10
As is usually the case with these questions, seeing examples that have been
completed for you is o.k. but the real understanding comes from trying some
yourself, so here are some for you to try.
Only 1 Karnaugh map has been provided for each example, because you can
complete this step by step as you consider each term in the Boolean equation,
there is no need to complete multiple Karnaugh maps as has been shown here
for illustration purposes.
30
BA
C
00 01 11 10
0
1
BA
C
00 01 11 10
0
1
BA
C
00 01 11 10
0
1
31
Module ET1
Introduction to Analogue and Digital Systems.
4.
BA
DC
00 01 11 10
00
01
11
10
.............................................................................................................
BA
DC
00 01 11 10
00
01
11
10
32
AND gate:
A
B
2.
NOR gate:
Inputs
B
0
0
1
1
3.
A
0
1
0
1
Output
A
Q
B
1
0
0
0
1
0
ExOR gate
A
B
33
Module ET1
Introduction to Analogue and Digital Systems.
4.
NAND gate
A
B
5.
ExNOR gate
A
B
Exercise 2:
A
B
A B
34
C
0
0
0
0
1
1
1
1
Inputs
B
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
Output
Q
0
1
0
1
1
1
0
1
BA
C
00 01 11 10
0
A B.C
00 01 11 10
00
01
11
10
Boolean expression is :
35
Module ET1
Introduction to Analogue and Digital Systems.
Exercise 4:
1.
C
0
0
0
0
1
1
1
1
Inputs
B
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
Output
Q
1
0
0
1
0
1
0
1
A.B A.C A.B.C
BA
C
or
00 01 11 10
0
A.(B C) A.B.C
2.
Inputs
36
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
C
B
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
Inputs
1
1
B
0
0
A
0
1
Output
A
Q
0
0
1
0
0
1
1
0
0
0
1
1
0
1
1
1
0
0
1
0
0
1
1
0
0
0
1
1
0
1
Output
1
1
Q
0
1
BA
DC
00 01 11 10
00
01
11
10
3.
BA
C
0
0
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
1
1
1
0
1
0
1
00 01 11 10
0
A B.C
4.
Inputs
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
or
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
1
1
1
1
0
0
0
0
1
0
1
0
0
1
0
0
C.(B D) A.B.C.D
00 01 11 10
00
01
11
10
37
Module ET1
Introduction to Analogue and Digital Systems.
5.
Inputs
B
0
0
1
1
0
0
1
1
C
0
0
0
0
1
1
1
1
Output
Q
0
1
0
1
1
0
1
0
A
0
1
0
1
0
1
0
1
A.C A.C
BA
C
00 01 11 10
0
or A C
6.
Inputs
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
Exercise 6 :
1.
38
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
0
1
0
1
1
0
1
0
0
0
0
0
1
1
1
1
BA
DC
00 01 11 10
00
01
11
10
BA
C
00 01 11 10
0
B A.C
BA
C
00 01 11 10
0
C A.B
BA
C
00 01 11 10
0
A.B B.C
or
B.( A C)
39
Module ET1
Introduction to Analogue and Digital Systems.
4.
BA
DC
00 01 11 10
00
01
11
10
A.D B.D
BA
DC
00 01 11 10
00
01
11
10
A BD
The next section contains some past examination style questions for you to
practice.
40
Use the laws of Boolean algebra or Karnaugh maps to simplify the following expressions.
(i)
.....................................................................................
.....................................................................................
BA
C
00 01 11 10
.....................................................................................
.....................................................................................
.....................................................................................
[2]
Q = .............................................................................
(ii)
BA
DC
00 01 11 10
00
01
11
10
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[3]
Q = .............................................................................
2.
Module ET1
Introduction to Analogue and Digital Systems.
(i)
Q A.B B
.....................................................................................
A
B
.....................................................................................
.....................................................................................
.....................................................................................
[2]
Q = .............................................................................
42
Q A B.C A.B.C
.............................
.....................................................
...
BA
C
BA
00 01 11 10
00 01 11 10
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[2]
Q = .............................................................................
3.
Use Karnaugh maps to simplify the following expressions as far as
possible.
(i)
A
B
0
1
Q A.B A
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[2]
Q = .............................................................................
(ii)
BA
C
00 01 11 10
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[3]
Q = .............................................................................
43
Module ET1
Introduction to Analogue and Digital Systems.
4.
In designing a logic system, a student has produced the Karnaugh map shown below.
BA
DC
00 01 11 10
00
01
11
10
Give the simplest Boolean expression for the output Q of this logic system.
Show any groups that you create in producing this expression on the Karnaugh map.
[5]
............................................................................................................................................................
............................................................................................................................................................
5.
a)
BA
DC
00 01 11 10
00
01
11
10
[2]
b)
Give the simplest Boolean expression for the output Q of this logic system. Show and label
any groups that you create in producing this expression on the map.
Q = .........................................................................................................................................
[4]
44
Either using the laws of Boolean algebra or a Karnaugh maps simplify the following expression as
much as possible.
Q A.B.D B.C.D B.C.D B.C.D B.C.D
BA
DC
00 01 11 10
00
01
11
10
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[5]
Q = .............................................................................
BA
C
00 01 11 10
0
7.
Use the laws of Boolean algebra or Karnaugh maps to
simplify the following expressions.
(i)
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[3]
Q = .............................................................................
45
Module ET1
Introduction to Analogue and Digital Systems.
46
Use the laws of Boolean algebra or Karnaugh maps to simplify the following expressions.
(i)
.....................................................................................
BA
.....................................................................................
.....................................................................................
00 01 11 10
0
.....................................................................................
.....................................................................................
[2]
Q = .............................................................................
(ii)
.....................................................................................
BA
DC
00 01 11 10
00
01
11
10
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[4]
Q = .............................................................................
9.
Use the laws of Boolean algebra or Karnaugh maps to simplify the following expressions.
(i)
.....................................................................................
BA
C
00 01 11 10
0
1
47
Module ET1
Introduction to Analogue and Digital Systems.
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
[3]
Q = .............................................................................
BA
C
00 01 11 10
0
1
48
BA
DC
00 01 11 10
00
01
11
10
Give the simplest Boolean expression for the output Q of this logic system.
Show on the Karnaugh map any groups that you have created in producing this expression.
[5]
............................................................................................................................................................
............................................................................................................................................................
11.
The following truth table defines the logic conditions for a particular application.
Inputs
D
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Output
Q
0
0
1
1
0
0
0
0
1
1
0
0
1
1
0
0
49
Module ET1
Introduction to Analogue and Digital Systems.
(a)
Write down without simplification the Boolean expression for the output Q, in terms of
the inputs A, B, C and D.
..................................................................................................................................................
..................................................................................................................................................
[3]
(b)
Complete the Karnaugh map below for the same logic function using either the truth table
or your logic expression from (a)
BA
DC
00 01 11 10
00
01
11
10
[2]
(c)
Hence derive the simplest Boolean expression for the logic function.
.................................................................................................................................................
[2]
(d)
In the space below draw the logic circuit diagram to show how the output Q, could be
obtained from inputs A, B, C and D, using AND, OR, and NOT gates only.
[4]
B
Q
C
D
50
Learning Objectives
1.
2.
51