1
\$\begingroup\$

In my textbook , they have given some applications of gray codes. One main use of gray code is in karnaugh maps. consider a 3 variable k-map

Here gray codes are used. but why decimal equivalent of binary code is written in that box instead of decimal equivalent of gray code. That is ,first row third column box should be written as 2 right!! Since 011 is gray code ,its decimal value is 2. Please clarify this...

\$\endgroup\$
  • 1
    \$\begingroup\$ There is no Karnaugh-map-police, you are free to scribble any notes in the boxes that makes designing easier for you. I guess the difference between your personal notes and the actual solution must be clear to your teacher though. Mind you the digits are not a formal part of the KM. \$\endgroup\$ – jippie Sep 24 '15 at 8:24
  • 1
    \$\begingroup\$ Agreed. It's not the ideal choice by the text book author to use filler text that doesn't make this obvious; instead of using e.g. a, b, c. \$\endgroup\$ – Garth Oates Sep 24 '15 at 8:29
1
\$\begingroup\$

The definition of the outputs shown within a karnaugh map is defined by a forumla or truth table, of which the axis values are the inputs. In this example, 0 1 2 ... has apparently been used as arbitrary filler numbers.

Gray codes refer only to the method by which the axis are labeled.

Here are some clear examples of how the tables are used.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.