Binary to Grey Code Conversion
0 Stars     3 Views    

Author: SOUMOYDIP HALDER

Forked from: Pattupogula Sravani/Binary to Grey Code Conversion

Project access type: Public

Description:

To convert binary to gray code, bring down the most siginificant digit of the given binary number, because, the first digit or most siginificant digit of the gray code number is same as the binary number.

To obtain the successive gray coded bits to produce the equivalent gray coded number for the given binary, add the first bit or the most siginificant digit of binary to the second one and write down the result next to the first bit of gray code, add the second binary bit to third one and write down the result next to the second bit of gray code, follow this operation until the last binary bit and write down the results based on EX-OR logic to produce the equivalent gray coded binary.

Created: Mar 31, 2021

Updated: Aug 26, 2023


Comments

You must login before you can post a comment.