Binary to Gray Code Converter
Gray code equivalent of the given binary number is computed as follows:
g3 = b3g2 = b3 ⊕ b2g1 = b2 ⊕ b1g0 = b1 ⊕ b0
A 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
Binary to Gray Code Converter
Reviewed by haru
on
August 29, 2012
Rating:
No comments