KEMBAR78
Gray code to binary conversion | PPTX
Gray Code To Binary
Conversion
Mukesh N. Tekwani
7
Gray Code To Binary Conversion – Example 1
A Gray code can be converted into equivalent binary number as follows:
Convert the Gray code 101101 into a binary number.
Gray Code
Binary
Mukesh N. Tekwani
1 0 1 1 0 1
XOR Truth-Table
A B O/p
0 0 0
0 1 1
1 0 1
1 1 0
Gray Code To Binary Conversion – Example 2
Convert the Gray code 010101 into a binary number.
Gray Code
Binary
Mukesh N. Tekwani
0 1 0 1 0 1
0 1 1 0 0 1
XOR Truth-Table
A B O/p
0 0 0
0 1 1
1 0 1
1 1 0
Gray Code To Decimal Conversion – Example 3
Convert the Gray code 010101 into a decimal number.
Step 1: Convert Gray code to binary number
Gray Code
Binary
Step 2: Convert binary number to decimal number.
(011001)2 = (25)10
Mukesh N. Tekwani
0 1 0 1 0 1
0 1 1 0 0 1
XOR Truth-Table
A B O/p
0 0 0
0 1 1
1 0 1
1 1 0

Gray code to binary conversion

  • 1.
    Gray Code ToBinary Conversion Mukesh N. Tekwani 7
  • 2.
    Gray Code ToBinary Conversion – Example 1 A Gray code can be converted into equivalent binary number as follows: Convert the Gray code 101101 into a binary number. Gray Code Binary Mukesh N. Tekwani 1 0 1 1 0 1 XOR Truth-Table A B O/p 0 0 0 0 1 1 1 0 1 1 1 0
  • 3.
    Gray Code ToBinary Conversion – Example 2 Convert the Gray code 010101 into a binary number. Gray Code Binary Mukesh N. Tekwani 0 1 0 1 0 1 0 1 1 0 0 1 XOR Truth-Table A B O/p 0 0 0 0 1 1 1 0 1 1 1 0
  • 4.
    Gray Code ToDecimal Conversion – Example 3 Convert the Gray code 010101 into a decimal number. Step 1: Convert Gray code to binary number Gray Code Binary Step 2: Convert binary number to decimal number. (011001)2 = (25)10 Mukesh N. Tekwani 0 1 0 1 0 1 0 1 1 0 0 1 XOR Truth-Table A B O/p 0 0 0 0 1 1 1 0 1 1 1 0