Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Fatima Jinnah Women University

Computer Architecture and Logic Design Lab


LAB 05 Tasks

Submitted To: Sir Ahsen Ilyas


Submitted by:
 Aimen Hafeez
2023-BSE-002
 Bushra Ashraf
2023-BSE-015
 Arooba Rehman
2023-BSE-012
 Armeen Abid
2023-BSE-011
Fatima Jinnah Women University
Combinational logic circuit:
A combinational circuit consists of logic gates whose output at any time is determined
directly from the present combination of inputs without regard to previous inputs. A
combinational circuit performs a specific information-processing operation fully specified
logically by a set of Boolean function.
Truth table:
Output is A’BC+AB’C+ABC’+ABC
INPUT A INPUT B INPUT C INPUT OUTPUT F
0 0 0 A’B’C’ 0
0 0 1 A’B’C 0
0 1 0 A’BC’ 1
0 1 1 A’BC 1
1 0 0 AB’C’ 1
1 0 1 AB’C 1
1 1 0 ABC’ 1
1 1 1 ABC 1

Material Required:
● IC component: 4073, 4072, 4049
● Connecting Wires
● Logic Trainer
Procedure:
● Connect the Logic trainer to 220 volts AC power supply.
● Install the ICs on trainer’s breadboard.
● Wire the circuit accordingly.
● Use logic switches to provide inputs at A, B and C as per table provided in step 3.
● Connect the output of the circuit to the LED provided on the breadboard.
● Verify the truth table with respect to the inputs and outputs to satisfy the system
design.
Fatima Jinnah Women University
EXPERIMENT:

Simulate the circuit and verify the truth table:


1. When A=0, B=0 and C=1, output= 0.

2. When A=0,B=0 and C=1 then output is 0.

3. When A=0,B=1 ,C=0, then output is 0.


Fatima Jinnah Women University

4. When A=0,B=1,C=1 then output is 1.

5. When A=1,B=0,C=0 then output is 0.

6. When A=1,B=0,C=1 then output is 1.


Fatima Jinnah Women University

7. When A=1,B=1,C=0 then output is 1.

8. When A=1,B=1,C=1 then output is 1.


Fatima Jinnah Women University
Self-Task:
● Another Combinational circuit has four input and one output the output is equal to 1
when
a) All the input is are equal to “1”.
b) None of the inputs are equal to one.
c) The odd number of inputs equal to one
● Obtain the truth table.
● Find the simplified output function in SOP.
● Draw the logic diagram.

Experimental Work:
In this experiment, you will Implement a combinational logic by applying the various
inputs, according to the table given here under and find out the results with respect to the
Boolean expression.

Material Required
● IC component: 4073, 4072, 4049
● Connecting Wires
● Logic Trainer

Procedure
● Connect the Logic trainer to 220 volts AC power supply.
● Install the ICs on trainer’s breadboard.
● Wire the circuit according to the diagram shown as here under.
● Use logic switches to provide inputs at A, B and C as per table provided in step 3.
● Connect the output of the circuit to the LED provided on the breadboard.
● Verify the truth table with respect to the inputs and outputs to satisfy the system
design.
x

Step 1: Another Combinational circuit has four input and one output the
output is equal to 1 when
Fatima Jinnah Women University
a) All the input is are equal to “1”.
b) None of the inputs are equal to one.
c) The odd number of inputs equal to one

Simulation:
1. When input A, B, C are 0 and D is 1, output is 1 and LED will glow.(odd number of
inputs are 1)

2. When inputs A, B, C and D is 0, output is 1 and LED will glow.(all inputs are 0)
Fatima Jinnah Women University

3. When input A, B are 0 and C, D is 1, output is 0 and LED will not glow.(even number
of inputs are 1)

4. When input A, B, D are 0 and C, is 1, output is 1 and LED will glow.(odd number of
inputs are 1)

5. When input A, C are 0 and B, D is 1, output is 0 and LED not will glow.(even number
of inputs are 1)
Fatima Jinnah Women University

6. When input A, C, D are 0 and B, is 1, output is 1 and LED will glow.(odd number of
inputs are 1)
Fatima Jinnah Women University
7. When input B, C, D are 1 and A is 0, output is 1 and LED will glow.(odd number of
inputs are 1)

8. When input A, D are 0 and B,C is 1, output is 1 and LED will not glow.(even number
of inputs are 1)
Fatima Jinnah Women University
9. When input A, D are 1 and B,C is 0, output is 1 and LED will not glow.(even number
of inputs are 1)

10.When input A is 1 and B,C, D are 0, output is 1 and LED will glow.(odd number of
inputs are 1)
Fatima Jinnah Women University
11. When input A, C, D are 1 and B, is 0, output is 1 and LED will glow.(odd number of
inputs are 1)

12. When input A, C are 1 and B, D is 0, output is 0 and LED not will glow.(even
number of inputs are 1)
Fatima Jinnah Women University
13. When input A, B, D are 1 and C is 0, output is 0 and LED glow.(odd number of
inputs are 1)

14.When input A, B are 1 and C, D is 0, output is 0 and LED not will glow.(even number
of inputs are 1)
Fatima Jinnah Women University
15. When input A, B, C, D are 1, output is 1 and LED will glow.(A=B=C=D=1)

16. When input A, B, C are 1 and D, is 0, output is 1 and LED will glow.(odd number of
inputs are 1)

Step 2: Obtain the Truth Table

Input A Input B Input C Input D Output F


Fatima Jinnah Women University
0 0 0 1 1

0 0 0 0 1

0 0 1 1 0

0 0 1 0 0

0 1 0 1 0

0 1 0 0 1

0 1 1 1 1

0 1 1 0 0

1 0 0 1 0

1 0 0 0 1

1 0 1 1 1

1 0 1 0 0

1 1 0 1 1

1 1 0 0 0

1 1 1 1 1

1 1 1 0 1

Step 3: Find the Simplified Output Function in SOP

F= A′B′C′D′ + A′B′C′D + A′B′CD′ + A′BC′D′ + AB′C′D′ + A′BCD + AB′CD + ABC′D


+ ABCD′ + ABCD
= (A⊕B⊕C⊕D)+ABCD+A′B′C′D′
Fatima Jinnah Women University
Step 4: Draw the logic diagram.

A
B
C
D

The End

You might also like