gray code to binary

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Gray to Binary

The classical way to convert Gray to Binary is as follows:

Feed the Gray MSB directly through to be your Binary MSB.
Then make an XOR of the the Gray MSB and 2.MSB. Output will be your Binay 2.MSB.
Then XOR this output with your Gray 3rd. MSB.
Output is now your 3. MSB Binary.
Proceed with XORing each output with your next following unused Gray bit until your all done.
That's all there is to it.
On the other hand, - generating a LUT in a PROM might do it in one chip, as 8 bits will need two XOR DIPs.
One DIP will suffice up to 7 Gray bits...........
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.