Skip to main content
Digital Logic Design
Sanjivani Rural Education Society’s
Sanjivani College of Engineering, Kopargaon-423603
(An Autonomous Institute Affiliated to Savitribai Phule Pune University, Pune)
NAAC ‘A’ Grade Accredited, ISO 9001:2015 Certified
Department of Information Technology
(NBAAccredited)
Dr.R.D.Chintamani
Assistant Professor
UNIT – II : COMBINATIONAL LOGIC
CIRCUIT
Topic
2.1
Design of Code
Converters
Design of Code Converters
BCD Codes
Design of BCD to Excess-3 code converter
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Decimal numbers are represented in different digital systems by
different Binary Coded Decimal (BCD) instead of just binary.
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Decimal numbers are represented in different digital systems by
different Binary Coded Decimal (BCD) instead of just binary.
Most popular codes are
• 8421 Codes(BCD)
• 2421 Codes
• 5211 Codes
• Excess-3 Codes
• Gray Codes.
Digital Logic Deign – Unit-II: Topic 2.1 Mr. A. A. Barbind Department of Information Technology
BCD Codes
Decimal numbers are represented in different digital systems by
different Binary Coded Decimal (BCD) instead of just binary.
Most popular codes are
• 8421 Codes(BCD)
• 2421 Codes
• 5211 Codes
• Excess-3 Codes
• Gray Codes.
When digital systems using different codes need to communicate,
code converters are required.
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Decimal numbers are represented in different digital systems by
different Binary Coded Decimal (BCD) instead of just binary.
Most popular codes are
• 8421 Codes(BCD)
• 2421 Codes
• 5211 Codes
• Excess-3 Codes
• Gray Codes.
When digital systems using different codes need to communicate,
code converters are required.
It is very quick to convert decimal numbers to BCD than binary
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
BCD(8421)
DECIMAL to 8421 BCD
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
BCD(8421)
DECIMAL to 8421 BCD
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
BCD(8421)
0011
DECIMAL to 8421 BCD
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
BCD(8421)
0100 0011
DECIMAL to 8421 BCD
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
BCD(8421)
0101 0100 0011
DECIMAL to 8421 BCD
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
BCD(8421)
0101 0100 0011
(010101000011)BCD 8421
DECIMAL to 8421 BCD
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
EXCESS-3
DECIMAL to EXCESS-3
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
EXCESS-3
0110
DECIMAL to EXCESS-3
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
EXCESS-3
0111 0110
DECIMAL to EXCESS-3
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
EXCESS-3
1000 0111 0110
DECIMAL to EXCESS-3
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
BCD Codes
Representation of numbers in BCD
Decimal
No.
BCD
(8421)
Excess-3
Code
2421
Code
Gray
Code
0 0000 0011 0000 0000
1 0001 0100 0001 0001
2 0010 0101 0010 0011
3 0011 0110 0011 0010
4 0100 0111 0100 0110
5 0101 1000 0101 0111
6 0110 1001 1100 0101
7 0111 1010 1101 0100
8 1000 1011 1110 1100
9 1001 1100 1111 1101
DECIMAL
(543)10
5 4 3
EXCESS-3
1000 0111 0110
(100001110110)EX-3
DECIMAL to EXCESS-3
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for W
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for W
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for W
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
1 1
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for W
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
x x
1 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for W
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
x x
1 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for W
𝐀
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
x x
1 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for W
𝐀 𝐁 ∙ 𝐃
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
x x
1 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for W
𝐀
𝐁 ∙ 𝐂
𝐁 ∙ 𝐃
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 0
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 0
1 1
1 1 1 0
m3
m2
m7 m6
x x
1 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for W
𝐀
𝐁 ∙ 𝐂
𝐁 ∙ 𝐃
𝑾 = 𝐀 + 𝐁 ∙ 𝐂 + 𝐁 ∙ 𝐃
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for X
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for X
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
0 1
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for X
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
x x
0 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for X
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
x x
0 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for X
ഥ
𝑩 ∙ 𝐃
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
x x
0 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for X
ഥ
𝑩 ∙ 𝐃
𝐁 ∙ ഥ
𝑪 ∙ ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
x x
0 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for X
ഥ
𝑩 ∙ 𝐃
𝐁 ∙ ഥ
𝑪 ∙ ഥ
𝑫
ഥ
𝑩 ∙ 𝑪
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
0 1
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 1
0 0
1 1 1 0
m3
m2
m7 m6
x x
0 1
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for X
ഥ
𝑩 ∙ 𝐃
𝐁 ∙ ഥ
𝑪 ∙ ഥ
𝑫
ഥ
𝑩 ∙ 𝑪
X= ഥ
𝑩 ∙ 𝐂 + ഥ
𝑩 ∙ 𝑫 + 𝐁 ∙ ഥ
𝑪 ∙ ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for Y
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 0
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for Y
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 0
1 1 1 0
m3
m2
m7 m6
1 0
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for Y
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 0
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Y
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 0
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Y
ഥ
𝑪 ∙ ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 0
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Y
𝑪 ∙ 𝐃
ഥ
𝑪 ∙ ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
1 0
1 0
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Y
𝑪 ∙ 𝐃
ഥ
𝑪 ∙ ഥ
𝑫
Y= 𝑪 ∙ 𝐃 + ഥ
𝑪 ∙ ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3 K-map for Z
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 1
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3 K-map for Z
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 1
0 1
1 1 1 0
m3
m2
m7 m6
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 1
0 1
1 1 1 0
m3
m2
m7 m6
1 0
1 1
1 0
m12
m13
m8 m9
m15
m14
m11 m10
K-map for Z
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 1
0 1
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Z
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 1
0 1
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Z
ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Truth Table for Code Conversion BCD to Excess-3
1 0
1 0
0 0
0 0
0 1
0 1
A B
C D
m0
m1
m4 m5
0 1
0 1
1 1 1 0
m3
m2
m7 m6
x x
1 0
1 1
1 0
m12
m13
m8 m9
x x
x x
m15
m14
m11 m10
K-map for Z
ഥ
𝑫
Z= ഥ
𝑫
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Design of BCD to Excess-3 code converter
Z= ഥ
𝑫
Y= 𝑪 ∙ 𝐃 + ഥ
𝑪 ∙ ഥ
𝑫
𝑾 = 𝐀 + 𝐁 ∙ 𝐂 + 𝐁 ∙ 𝐃
X= ഥ
𝑩 ∙ 𝐂 + ഥ
𝑩 ∙ 𝑫 + 𝐁 ∙ ഥ
𝑪 ∙ ഥ
𝑫
= ഥ
𝑪 ∙ ഥ
𝑫
Logic diagram for
BCD-to-excess-3
code converter
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Topic Summary – Design of code converters
BCD Codes
Design of BCD to Excess-3 code converter
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Next Topic – Design of Adders
Design of full adder
4-bit binary adder
4-bit binary adder-subtractor
BCD adder
Digital Logic Deign – Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology
Ask Questions & Share Responses
You can ask your questions and share your responses at:
 Sanjivani LMS
 Email: chintamanirameshwarit@sanjivani.org.in
Lecture Presentation and Literature
To refer presentation of this lecture and literature visit:
 Sanjivani LMS Course: Digital Electronics & Logic Design
References:
[1] M Morris Mano, “Digital Design”, Prentice Hall, 3rd Edition, ISBN: 0130621218.
[2] R. P. Jain, “Modern Digital Electronics “, 3rd Edition, Tata McGraw Hill, ISBN: 0 07 0494924
[3] Flyod, “Digital Principles”, Pearson Education, ISBN:978 81 7758 643 6.
Digital Logic Design– Unit-II: Topic 2.1 Dr.R.D.Chintamani Department of Information Technology