Abstract


Binary in Gray CodeDecimal
  • Also known as Reflected Binary Code, Unit Distance Code, Minimum Error Code
  • Another way of representing binary number, the Bit String is considered as Unweighted Code

Reduced bit switching operation

Only one bit is changed at any adjacent pair.

Important

Can be used to generate Karnaugh Map.

Unweighted Code

  • The position of the digit doesn’t have value

Reflect and Prefix


  • A method used to generate Gray Code that maps to decimal number

Important

If we want to have the Gray code for bit, we need to first have the -bit Gray code! This is because the -bit Gray code is the reflection of the -bit Gray code, with a prefix for first half and prefix for the second half, as shown in the diagram above.

References