Gray Code & Binary Code
Gray Code & Binary Code
1 1 1 0 1 Gray
Find the equivalent gray code of given binary numbers 10101, 11101
1 1 1 1 0 Gray code
11101 Binary Code
1 + 1 + 1 + 0 + 1 binary code
1 0 0 1 1 Gray code
The Gray Code
Gray-to-Binary Conversion
The MSB in the binary code is the same as the corresponding bit in
the Gray code.
Add each binary code bit generated to the Gray code bit in the next
adjacent position. Discard carries.
ex: convert the Gray code word 11011 to binary
1 1 0 1 1 Gray
+ + + +
1 0 0 1 0 Binary
Covert the following gray code into binary code, 101011,1101, 10001