You are on page 1of 6

Name:- Hamza Hanif

Class:- Bscs 2
Section : ‘A’
Subject :- DLD Lab
Teacher Name:- Mr. Imran Ahmad

Lab 8: Decoder Implementation


Task # 8.1:
Implement the function F1 using decoder F1= (A,B,C,)= ∑ (0, 1, 2, 4, 5, 7, )

Circuit:
Truth Table:
Inputs Outputs
A B C W0 W1 W2 W4 W5 W7
0 0 0 1 0 0 0 0 0
0 0 1 0 1 0 0 0 0
0 1 0 0 0 1 0 0 0
0 1 1 0 0 0 0 0 0
1 0 0 0 0 0 1 0 0
1 0 1 0 0 0 0 1 0
1 1 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 1

Conclusion:
 Take 3 variables Naming A,B,C respectively.
 Put 1 in sequence wise Box.
 Like firstly put 1 in first column and then in second coloumn and in last coloumn
put 1 in the last box.
Task # 8.2:
Design a circuit which takes 3 bits as input. The output is 1 if two or more inputs are
1.

Circuit:

Truth Table:
Inputs Outputs
A B C F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1

Conclusion:
 We take 3 bits Namely A,B,C as input. The output F is ` if two or more inputs are 1.
 Otherwise 0 output.
Task # 8.3:
Design a circuit which takes 3 bits as input. The output is 1 if the binary sum is two.

Circuit:

Truth Table:
Inputs Outputs
A B C F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0

Conclusion:
 We take 3 bits Namely A,B,C as input. The output F is 1 if two or more inputs are 1.
 Otherwise 0 output.

Answer the following questions


 Implement A’C + ABC + BC’D + AB’C using decoder. Simulate the circuit in
proteus
 Implement A’DC + A’D’ + B’CD + CD’ using decoder. Simulate the circuit in
proteus.

You might also like