Professional Documents
Culture Documents
OBJECTIVE:
To design and implement BCD adder.
INTRODUCTION:
BCD Addition:
Binary Coded Decimal is a method of using binary digits to represent the decimal digits through
0 to 9. The valid BCD numbers are (0000 to 1001). Each digit of the decimal number will be
represented by its four-bit binary equivalent. In BCD addition the following three cases are
observed.
1- The resulting BCD number equal to less than (1001).
BCD Adder:
OBSERVATION:
Input data A Input data B Output BCD
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 0 0 0 0 0 1 0 0 1 0 1 0
1 0 0 0 1 0 0 0 1 0 0 0 0
0 0 1 0 1 0 0 0 0 1 0 1 0
0 0 0 1 0 1 1 1 0 1 0 0 0
1 0 1 0 1 0 1 1 1 0 1 0 1
1 1 1 0 1 1 1 1 1 1 1 0 1
1 0 1 0 1 1 0 1 1 0 1 1 1
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 0 0 0 0 0 1 0 0 1 0 1 0
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 0 0 0 1 0 0 0 1 0 0 0 0
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
0 0 1 0 1 0 0 0 0 1 0 1 0
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
0 0 0 1 0 1 1 1 0 1 0 0 0
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 0 1 0 1 0 1 1 1 0 1 0 1
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 1 1 0 1 1 1 1 1 1 1 0 1
A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 0 1 0 1 1 0 1 1 0 1 1 1