Exp 2 New
Exp 2 New
Semester I
Subject FLC Lab
Subject Professor In- Prof. Kanchan Dhuri
charge
Assisting Teachers Ajit Ghadage/Kiran Hemale/Nikita Gharat
Laboratory M201/M414/Lab14
Experimen 2
t Number
Title To design Binary to Gray & Gray to Binary code converter.
Resources Hardware: Software:
/ Logic Circuit Trainer Kit, TTL IC no. 7408, 7432, 7404, 7400, 7402, 7486, Logi Sim
Apparatus 74266 ICs , Connecting wires etc.
Required
Objectives
(Skill Set / In this experiment, student should understand the design of an electronic circuit to
Knowledge convert Binary to Gray code & Gray to Binary.
Tested /
Imparted)
Theory: Theory: Code is a symbolic representation of discrete information. Codes are of different
types. Gray Code is one of the most important codes. It is a non-weighted code which
belongs to a class of codes called minimum change codes. In this codes while traversing
from one step to another step only one bit in the code group changes. In case of Gray Code
two adjacent code numbers differs from each other by only one bit. The idea of it can be
cleared from the table given below. As this code it is not applicable in any types of
arithmetical operations but it has some applications in analog to digital converters and in
some input/output devices. Now let us concentrate on the table of Gray Code given below
where we can find the difference of binary code from gray code while traversing through the
table for their respective decimal numbers.
Circuit Diagram:
Fig.1 Binary to Gray Code Convertor Fig.2 Gray to Binary Code Convertor
Observatio
n&
Output:
Add Logisim circuit
Add Truthtable for a) Binary To Gray b) Gray to Binary
Conclusion Gray code is a useful code in which a decimal number is represented in binary form in
such a way so that each gray-code number differs from the preceding and the succeeding
number by a single bit.