ARTICLE CONTENT · UPDATED 2026

CODE CONVERSION

Code Converters - BCD to/from Excess-3 Code

BCD (Binary Coded Decimal) and Excess-3 are numeric representations used in digital arithmetic circuits. This guide details truth tables, K-map simplifications using don't-care conditions (X), minimized logic expressions, and circuit designs.

1. Overview of BCD and Excess-3 Codes

What is BCD (8421 Code)?

Binary Coded Decimal (BCD) represents decimal digits 0 through 9 using 4-bit binary values (0000 to 1001). Bit combinations from 1010 to 1111 (10 to 15) are invalid in BCD and treated as don't-care conditions (X) in K-maps.

What is Excess-3 Code?

Excess-3 is an unweighted, self-complementing code derived by adding 3 (0011 in binary) to each decimal digit's BCD representation. Self-complementing means taking the 1's complement of an Excess-3 code yields the 9's complement of the corresponding decimal digit.

Key Characteristics:

Unweighted Code Self-Complementing Don't-Care States (10–15 in BCD)

2. Converting BCD to Excess-3 Code

Let B3, B2, B1, B0 (or A, B, C, D) be the 4 BCD input bits and E3, E2, E1, E0 (or w, x, y, z) be the 4 Excess-3 output bits.

Truth Table

Decimal Digit BCD Input (B3 B2 B1 B0) Excess-3 Output (E3 E2 E1 E0)
000000011
100010100
200100101
300110110
401000111
501011000
601101001
701111010
810001011
910011100
10–151010 to 1111XXXX (Don't Care)

K-Map Simplifications

CDAB 00011110
00 1
0 0 1
011001
11XXXX
1010XX
z = D'
CDAB 00011110
00 1
0 1
0
011010
11XXXX
1010XX
y = CD + C'D'
CDAB 00011110
00 0 1
1 1
01 1
0 0 0
11 X X
X X
1001XX
x = B'C + B'D + BC'D'
CDAB 00011110
000000
01 0 1
1 1
11 X
X X X
1011XX
w = A + BC + BD

Minimized Boolean Expressions

3. Converting Excess-3 to BCD Code

Reverse conversion processes 4-bit Excess-3 inputs (E3, E2, E1, E0) to produce BCD outputs (B3, B2, B1, B0). Excess-3 input states 0000, 0001, 0010 (0 to 2) and 1101, 1110, 1111 (13 to 15) are invalid states, marked as don't-care conditions (X).

Truth Table

Decimal Digit Excess-3 Input (E3 E2 E1 E0) BCD Output (B3 B2 B1 B0)
0–2 (Invalid)0000 to 0010XXXX (Don't Care)
000110000
101000001
201010010
301100011
401110100
510000101
610010110
710100111
810111000
911001001
13–15 (Invalid)1101 to 1111XXXX (Don't Care)

K-Map Simplifications

E1E0E3E2 00011110
00 X
X 0 X
011001
111XXX
101001
B0 = E0'
E1E0E3E2 00011110
00 X
X
1
X
01 0 0 0 0
11 X
X
X X
10 0 1
1 0
B1 = (E1 ⊕ E0)'
E1E0E3E2 00011110
00 X
X
0 X
01 1
1 0 1
11 0 X
X X
10 1
1 0 1
B2 = E2 ⊕ (E1 + E0)'
E1E0E3E2 00011110
00XX0X
010000
11 1
X X X
10 0 0 1
0
B3 = E3E2 + E3E1E0

Minimized Boolean Expressions

4. Applications of BCD and Excess-3 Converters