You are on page 1of 5

LAB MANUAL Digital Logic design 3rd Semester

EXPERIMAENT NO.05

BCD to Excess 3 AND Excess 3 to BCD

Name: Muhammad Amir Roll No: 20TC1016

Aim:
To verify BCD to excess -3 code conversion using NAND gates. To study and
verify the truth table of excess-3 to BCD code converter
Apparatus Required: -IC 7400, IC 7404

Procedure: -
(BCD Excess 3 and Vice Versa)

1. Make the connections as shown in fig.


2. Pin [14] of all IC‟S is connected to +5V and pin [7] to the ground.
3. The inputs are applied at E3, E2, E1, and E0, and the corresponding outputs
at B3, B2, B1, and B0 are taken for excess - 3 to BCD.
4. B3, B2, B1, and B0 are the inputs and the corresponding outputs are E3,
E2, E1 and E0 for BCD to excess - 3.
5. Repeat the same procedure for other combinations of inputs.
6. Truth table is written.

1|Page
Department of Information & Communication Engineering
LAB MANUAL Digital Logic design 3rd Semester

BCD to Excess-3:

Truth Table for Code Conversion:

Input Output
B3 B2 B1 B0 W X Y Z
0 0 0 0 0 0 1 1

0 0 0 1 0 1 0 0

0 0 1 0 0 1 0 1

0 0 1 1 0 1 1 0

0 1 0 0 0 1 1 1

0 1 0 1 1 0 0 0

0 1 1 0 1 0 0 1

0 1 1 1 1 0 1 0

1 0 0 0 1 0 1 1

1 0 0 1 1 1 0 0

2|Page
Department of Information & Communication Engineering
LAB MANUAL Digital Logic design 3rd Semester

Excess - 3 to BCD:

Truth Table for Code Conversion:

3|Page
Department of Information & Communication Engineering
LAB MANUAL Digital Logic design 3rd Semester

Input Output

W X Y Z B3 B2 B1 B0

0 0 1 1 0 0 0 0
0 1 0 0 0 0 0 1
0 1 0 1 0 0 1 0
0 1 1 0 0 0 1 1
0 1 1 1 0 1 0 0
1 0 0 0 0 1 0 1
1 0 0 1 0 1 1 0
1 0 1 0 0 1 1 1
1 0 1 1 1 0 0 0
1 1 0 0 1 0 0 1

Conclusion:-
Excess -3 to BCD conversion is a prominent cod conversion technique and it is
very important for arithmetic operations.
Preparation for the lab:-
Assignment

1. What is a code converter circuit?


A code converter circuit will convert coded information in one form to a different coding form.
One example of code conversion is to convert BCD to straight binary. The weighting of BCD
bits is not the same as straight binary.

2. Convert BCD 0001 0010 0110 to Excess 3?

(0001)BCD=(1)10 (0001)BCD=(0100)XS3

4|Page
Department of Information & Communication Engineering
LAB MANUAL Digital Logic design 3rd Semester

(0010)BCD=(2)10 (0010)BCD=(0101)XS3

(0110)BCD=(6)10 (0110)BCD=(1001)XS3

3. Name the commonly used code converters?

The Code converter is used to convert one type of binary code to another. There are
different types of binary codes like BCD code, gray code, excess-3 code, etc. Different
codes are used for different types of digital applications.

4. Give the valid states in BCD number systems?

In BCD valid states are from 0 to 9. So 1100 is an invalid state.

5. Why do we go for the Excess-3 code?

The excess-3 code (or XS3) is a non-weighted code used to express decimal
numbers. It is a self-complementary binary coded decimal (BCD) code and
numerical system which has biased representation.

5|Page
Department of Information & Communication Engineering

You might also like