DLD Repoet 8

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

UNIVERSITY OF ENGINEERING AND

TECHNOLOGY
TAXILA

SUBMITTED TO
Engr. Sadaf talha
SUBMITTED BY
UMAR ALI BAIG(21-TE-39)
M.SAAIR TAHIR(21-TE-79)
LAB NO:08
BCD TO EXCESS-3 CONVERTER
OBJECTIVE
The objective of this lab is
 To design and verify the truth table of code conversion from BCD to excess-3 by
using basic logic gates.

COMPONENTS:
Bread board, DC power supply +5V from external source , digital multimeter, IC’s 7404,
7408, 7432

THEORY:
EXCESS-3 BINARY CODE:
The Excess-3 binary code is an example of a self-complementary BCD code. A self-
complementary binary code is a code which is always complimented in itself. By
replacing the bit 0 to 1 and 1 to 0 of a number, we find the 1's complement of the number.
The sum of the 1'st complement and the binary number of a decimal is equal to the binary
number of decimal 9.

BCD TO EXCESS-3:
The process of converting BCD to Excess-3 is quite simple from other conversions. The
Excess-3 code can be calculated by adding 3, i.e., 0011 to each four-digit BCD code.
Below is the truth table for the conversion of BCD to Excess-3 code. In the below table,
the variables A, B, C, and D represent the bits of the binary numbers. The variable 'D'
represents the LSB, and the variable 'A' represents the MSB. In the same way, the
variables w, x, y, and z represent the bits of the Excess-3 code. The variable 'z' represents
the LSB, and the variable 'w' represents the MSB. The 'don't care conditions' is expressed
by the variable 'X'.
LOGIC DIAGRAM:

BREAD BOARD DIAGRAM:

TRUTH TABLE
PROCEDURE:
 First of all grab the components that are required to make the circuit as they are
mentioned above.
 Then make the circuit on the breadboard.
 Verify the truth table of BCD to excess-3.
 Then note down the readings in table.

RESULT:
All the results of truth table are verified.

DECIMAL B3 B2 B1 B0 E3 E2 E1 E0

0 0V 0V 0V 0V 0V 0V 4.6V 4.5V

1 0V 0V 0V 5V 0V 4.4V 0V 0V

2 0V 0V 5V 0V 0V 4.7V 0V 4.1V

3 0V 0V 5V 5V 0V 3.8V 3.9V 0V

4 0V 5V 0V 0V 0V 4.2V 4.6V 3.6V

5 0V 5V 0V 5V 4.6V 0V 0V 0V
6 0V 5V 5V 0V 4.1V 0V 0V 4.7V

7 0V 5V 5V 5V 4.0V 0V 4.4V 0V

8 5V 0V 0V 0V 4.7V 0V 4.8V 4.7V

9 5V 0V 0V 5V 4.5V 4.2V 0V 0V

CONCLUSION :
In this lab I have concluded that by using different ICS we can construct the BCD TO
excess 3 CONVERTER easily.

You might also like