13-04-2013, 04:22 PM
DESIGN AND IMPLEMENTATION OF CODE CONVERTERS
AIM:
To realize code conversion of numbers: BCD to Binary, Binary to 2’s Complement,
Binary to Gray, Gray to Binary and BCD to Excess-3 using digital logic gates.
THEORY:
The availability of large variety of codes for the same discrete elements of information
results in the use of different codes by different systems. A conversion circuit must be inserted
between the two systems if each uses different codes for same information. Thus, code converter
is a circuit that makes the two systems compatible even though each uses different binary code.
The bit combination assigned to binary code to gray code. Since each code uses four bits
to represent a decimal digit. There are four inputs and four outputs. Gray code is a non-weighted
code. The input variable are designated as B3, B2, B1, B0 and the output variables are designated
as C3, C2, C1, Co. from the truth table, combinational circuit is designed. The Boolean functions
are obtained from K-Map for each output variable.
PROCEDURE:
1. Connections are given as per the circuit diagram on the bread board.
2. The power supply is switched ON and set a voltage of 5 Volts.
3. If the input to be given to a gate is logic ‘1’ then it is connected to +5 Volts and if the input to be given to the gate is logic ‘0’ then the particular input terminal is connected to ground.
4. Truth tables of various code converters are verified.
5. If the output is logic ‘1’ then the LED glows, if the output is logic ‘0’ then the LED does not glow.