Searched Projects

Tags: binary into gray code using XOR gate

project.name
0 Stars     47 Views
User:

conversion of binary into gray code

conversion of binary into gray code

With the help of 3 XOR Gates we converted a binary code into gray code and vice-versa.

The associativity of conversion is from right to left in both conversions.

Applying XOR GATE on both inputs of binary code to produce output which is in gray code. Most significant bit will remain same.

       

       Applying XOR GATE on one of the previous binary resultant input and one in current gray code to produce next binary code.