0% found this document useful (0 votes)
24 views

Lab Manual Exp No 7 DE

Experiment manual of digital electronics

Uploaded by

abcdefghi20702
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
24 views

Lab Manual Exp No 7 DE

Experiment manual of digital electronics

Uploaded by

abcdefghi20702
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
BINARY TO GRAY CODE CONVERSION D VICE VERSA Aim: To realize binary to gray and gray to binary code converters. Learning objective: © To leam the importance of non-weighted code. © Tolearm to generate gray code. Components required: IC 7486, trainer kit, patch cords. Theory: The logical circuit which converts binary code to equivalent gray code is known as binary to gray code converter. The gray code is a non-weighted code. The successive gray code differs in one bit position only that means it is a unit distance code. It is also referred as cyclic code. It is not suitable for arithmetic operations. It is the most popular of the unit distance codes. It is also a reflective code. An n-bit Gray code can be obtained by reflecting an n-] bit code about an axis after 2" rows, and putting the MSB of 0 above the axis and the MSB of 1 below the axis. Circuit implementation: Binary to gray code converter: 0 Jo T T 0 1 T 0 salem lltmeli a 0 jo |i ft cae 0 jo |i ia ome ; onli 0 jo jo jo . 7 T T T T T) 0 fo fo jo 0 oy G2=B3 @ B2 rfifi fa 8 one G0=B1 ® BO Truth table: GO G2 Gl Gray outputs BO G3 B2 Bl Binary inputs B3 Gray to binary code converter: 7 o 3 8 u q & a =l| |e |e |e -| Gee a] ele le BI=G3@G2@G1 BO. Binary outputs GO | B3 | B2 | Bl B0=G3 ® G2® GI® Go G2 G1 Gray inputs G3 Truth table: Procedure: © Cheek the components for their working. © Insert the appropriate IC into the IC base © Rig up the circuit as shown in the logic circuit diagram. © Apply various input data to the logic circuit via the input logie switches. * Note down the corresponding output and verify the truth table Result:

You might also like