All About Circuits

Digital Circuits

Karnaugh Mapping


17 questions By Tony R. Kuphaldt

Page 4 of 6 0 of 17 answers revealed (0%)
  • Question 10 of 17

    State the rules for properly identifying common groups in a Karnaugh map.

    Reveal answer
  • Question 11 of 17

    A seven segment decoder is a digital circuit designed to drive a very common type of digital display device: a set of LED (or LCD) segments that render numerals 0 through 9 at the command of a four-bit code:





    The behavior of the display driver IC may be represented by a truth table with seven outputs: one for each segment of the seven-segment display (a through g). In the following table, a “1” output represents an active display segment, while a “0” output represents an inactive segment:


    D C B A a b c d e f g Display

    0 0 0 0 1 1 1 1 1 1 0 “0”

    0 0 0 1 0 1 1 0 0 0 0 “1”

    0 0 1 0 1 1 0 1 1 0 1 “2”

    0 0 1 1 1 1 1 1 0 0 1 “3”

    0 1 0 0 0 1 1 0 0 1 1 “4”

    0 1 0 1 1 0 1 1 0 1 1 “5”

    0 1 1 0 1 0 1 1 1 1 1 “6”

    0 1 1 1 1 1 1 0 0 0 0 “7”

    1 0 0 0 1 1 1 1 1 1 1 “8”

    1 0 0 1 1 1 1 1 0 1 1 “9”




    A real-life example such as this provides an excellent showcase for techniques such as Karnaugh mapping. Let’s take output a for example, showing it without all the other outputs included in the truth table:


    D C B A a

    0 0 0 0 1

    0 0 0 1 0

    0 0 1 0 1

    0 0 1 1 1

    0 1 0 0 0

    0 1 0 1 1

    0 1 1 0 1

    0 1 1 1 1

    1 0 0 0 1

    1 0 0 1 1




    Plotting a Karnaugh map for output a, we get this result:





    Identify adjacent groups of 1’s in this Karnaugh map, and generate a minimal SOP expression from those groupings.

    Note that six of the cells are blank because the truth table does not list all the possible input combinations with four variables (A, B, C, and D). With these large gaps in the Karnaugh map, it is difficult to form large groupings of 1’s, and thus the resulting “minimal” SOP expression has several terms.

    However, if we do not care about output a’s state in the six non-specified truth table rows, we can fill in the remaining cells of the Karnaugh map with “don’t care” symbols (usually the letter X) and use those cells as “wildcards” in determining groupings:





    With this new Karnaugh map, identify adjacent groups of 1’s, and generate a minimal SOP expression from those groupings.

    Reveal answer
  • Question 12 of 17

    When designing a circuit to emulate a truth table such as this where nearly all the input conditions result in “1” output states, it is easier to use Product-of-Sums (POS) expressions rather than Sum-of-Products (SOP) expressions:


    A B C Output

    0 0 0 1

    0 0 1 1

    0 1 0 1

    0 1 1 1

    1 0 0 1

    1 0 1 1

    1 1 0 0

    1 1 1 0




    Is it possible to use a Karnaugh map to generate the appropriate POS expression for this truth table, or are Karnaugh maps limited to SOP expressions only? Explain your answer, and how you were able to obtain it.

    Reveal answer

Related Tools:

Published under the terms and conditions of the Creative Commons Attribution License
  • B
    boulous May 15, 2021

    I am studying for my midterms, and this helped me a lot. The author is trying to share the information through pure comprehension, explaining the origin and target of each and every rule, which most teachers tend not to do… Thank you so much !!

    Like. Reply
  • Daedaluxs April 02, 2024

    question 16 circuit is not fully simplified

    Like. Reply
    • D
      dalewilson April 03, 2024
      You are correct in that it could be simplified to D!(B + C!). The question asks for a "simple" answer and does provide the minimal sum-of-products (SOP) solution as noted in the answer. So, both answers are, in a sense, correct.
      Like. Reply