Sie sind auf Seite 1von 4
MI-DAO4A Experiment 8 MIN a ‘AIM:Study and Implementation of Binary to Gray & gray to Binary Converters, Apparatus Required:1C7486, Digital IC Trainer, Patch cord, User Manual. 1G Pin Outs: Exee 82 ¥2 GND ay ogt oy a 1C7486 PIN OUTS ‘Theory: Binary to Gray Converter:An interesting application for the exclusive-OR gate is a logic gate to change a binary number to its equivalent in Gray Code. a 4-bit binary number ABCD into its Gray- code equivalent, G1,G2,G3 and G0.As an example, the binary number 0011 will be converted into its Gray-Code equivalent of 0010 by the circuit ‘A binary to gray code converter can be implemented using X-OR gates. For n input, n-1 gates fare required. As shown in the image below for 4 inputs, 3 X-OR gates are used: Note:A is the most significant bit and D ts the leat significant bit Procedure: 1. Make the connection according to given diagram. 2. Power on the Trainer. 3. Give the input by using logic switches according to truth table and observe output 4, Follow IC Pin Outs. Diagram: &, ye ja MIN G1 =C@B G= G3=D 3 Truth Table: Gray Code Output Gl @ G3 Binary Input MI-DAO4A 1 o [oyToy7 1 1 ovat | zara 1 1 1 1 0 L 0 1 1 1 0 L 1 1 1 1 1 0 0 1 oO L 1 0 1 1 o 1 1 1 ofa o 1 1 1 1 1 o netiteay Gray to Binary: y aaae 1210 r I —)>—. -—j > fi Equations: A = (63062)@(G10G0) B= 3062061 C = G3@G2 D=63 45

Das könnte Ihnen auch gefallen