Thursday, August 30, 2012

Binary to Gray Code Converter

Gray code equivalent of the given binary number is computed as follows:
g3 = b3
g2 = b3 ⊕ b2
g1 = b2 ⊕ b1
g0 = b1 ⊕ b0
binary to gray code converter can be implemented using XOR gates. For n input, n-1 gates are required. As shown in the image below for 4 inputs, 3 XOR gates are used:

CONVERTING BETWEEN GRAY AND BINARY CODES ANIMATION

Gray to Binary Code Converter

Binary code equivalent of the given gray number is computed as follows:b3 = g3b2 = b3 ⊕ g2b1 = b2 ⊕ g1b0 = b1 ⊕ g0gray to binary code converter can be implemented using XOR gates. For n input, n-1 gates are required. As shown in the image below for 4 inputs, 3 XOR gates are used:

3 comments:

  1. Hey, nice site you have here! Keep up the excellent work!



    Walkie Talkie in Coimbatore

    ReplyDelete
  2. Really something Grate in this article Thanks for sharing this. We are providing Online Training Classes. After reading this slightly I am changed my way of introduction about my training to people.

    Best Salesforce Training Institute in Noida
    Best Salesforce Admin Training Institute in Noida

    ReplyDelete

Thank you for your valuable suggestion. If you feel this post useful, please share our Blog with others!!! Comments just for Backlinking your Website or Blog will be Deleted...