Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

BCD ADDER and CODE CONVERTER

BCD to Excess 3
BCD to Seven Segment Decoder
Block diagram of a BCD adder
Code conversion - Design Procedure
Given a problem statement:
Determine the number of inputs and outputs
Derive the truth table
Simplify the Boolean expression for each output
Produce the required circuit
Example:
Design a circuit to convert a BCD code to Excess 3 code

4-bits 4-bits
?
0-9 values Value+3
Design Procedure
BCD-to-Excess 3 Converter
C C
1 1 1
1 1 1 1
x x x x
B x x x x
B
A 1 1 x x
A 1 x x
D D
w = A+BC+BD x = BC+BD+BCD

C C
1 1 1 1
1 1 1 1
x x x x
B x x x x
B
A 1 x x
A 1 x x
D D
y = CD+CD z = D
Design Procedure
BCD-to-Excess 3 Converter

A
w w = A + B(C+D)

x x = B(C+D) + B(C+D)
B

C y y = (C+D) + CD

D z z = D
BCD to Seven-Segment Decoder
a
w x y z abcdefg
0 0 0 0 1111110
f b
0 0 0 1 0110000 g
0 0 1 0 1101101
0 0 1 1 1111001
0 1 0 0 0110011 e c
0 1 0 1 1011011
0 1 1 0 1011111
0 1 1 1 1110000
d
1 0 0 0 1111111 y
1 0 0 1 1111011 1 1 1
1 0 1 0 xxxxxxx 1 1 1
x x x x
x
1 0 1 1 xxxxxxx w 1 1 x x
1 1 0 0 xxxxxxx
1 1 0 1 xxxxxxx z
1 1 1 0 xxxxxxx a = w + y + xz + xz b=...
c=...
1 1 1 1 xxxxxxx
Eastern Mediterranean University d=... 10 / 65

You might also like