DLD Lab - 9
DLD Lab - 9
DLD LAB # 9
DEPT: CS-03
DATE OF EXPERIMENT: 12/4/23
NAME:
RIJA MOBIN IFRAH JANNAT EMAN SHAHID
REG NO:
37 40 44
OBJECTIVES:
Implementation and designing of BCD to EXCESS-3 converter and verify the truth table.
INTRODUCTION:
In this lab we design a circuit of by giving 4 inputs and converts their decimals into excess 3 and
shows 4 outputs in binary form.
PROCEDURE:
First we take four inputs converts their decimals into excess 3 by adding 3 in each decimal and
write the binary form of the respective decimals and then we create k-maps by comparing each
output with all inputs. And then we get all the equation and in the end we will design a circuit
according to the equation.
Design Problem:
As an engineer you are required to design a circuit which has input decimal number in binary form as A, B,
C, D with A as MSB and D as LSB, and generate Excess-3 output in binary form as W, X, Y, Z with W as MSB
and D as LSB. Also implement your design to verify your results. Conditions are as.
• Whenever result exceed than number of output bits or in negative value or invalid, it does not
matter for you.
• You should make up truth table accordingly.
• Draw simplified logic diagram which shows excess-3 output.
SOLUTION:
TRUTH TABLE:
A B C D DECIMAL EXCESS- W X Y Z
3
0 0 0 0 0 3 0 0 1 1
0 0 0 1 1 4 0 1 0 0
0 0 1 0 2 5 0 1 0 1
0 0 1 1 3 6 0 1 1 0
0 1 0 0 4 7 0 1 1 1
0 1 0 1 5 8 1 0 0 0
0 1 1 0 6 9 1 0 0 1
0 1 1 1 7 10 1 0 1 0
1 0 0 0 8 11 1 0 1 1
1 0 0 1 9 12 1 1 0 0
1 0 1 0 10 13 1 1 0 1
1 0 1 1 11 14 1 1 1 0
1 1 0 0 12 15 1 1 1 1
1 1 0 1 13 16 X X X X
1 1 1 0 14 17 X X X X
1 1 1 1 15 18 X X X X
K-MAP:
Unsimplified Circuit:
Simplified Circuit: