Gray to Binary Code Converter

Design gray to binary code converter?

Questions by gayatrisegu

Showing Answers 1 - 3 of 3 Answers

linzmath

  • Oct 30th, 2008
 

A small example

Binary of 1011 -
1101

Steps
1. write the msb as itseif (here retain fourth bit say 1 ) and it will be the
msb of binary.
2. add the msb of binary (say 1) with next bit of gray (say 0 ie third bit )and
the sum (1) becomes next bit of binary. note: if any carry generated just discard
it.
3. previous sum (1) is again added with next bit of gray(1 ie second bit) and
this sum(0) becomes second bit of binary .
4. previous sum (0) is again added with next bit of gray (1 ie first bit) and
the sum (1) becomes first bit of binary.
 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions