DLD LAB EXP 03 (Derive Logic Equations and Truth Table From Combinational Circuits.) - ACS
DLD LAB EXP 03 (Derive Logic Equations and Truth Table From Combinational Circuits.) - ACS
Abstract:
Deriving logic equations and truth table from combinational circuits helps a person with
detecting the output logic expressions from any unknown logic circuit. Then truth tables is
derived from the logic expressions by observing the sequence of the gate connections.
Expressions are simplified using Boolean algebra and De Morgan's law to reduce the number of
gates used. The main goal of this experiment is to learn how to derive logic equations and truth
table from combinational circuits.
Theory:
Combinational circuits are built with logic gates and other components. It does not include any
values to be taken from a previous state of the circuit.
Truth table is constructed from considering ABCD as a 4 bit input starting from 0000 to 1111.
Inputs are A, B, C and D on the left. Outputs to be derived are P and Q on the right. Inputs B and
C are passing through an OR gate resulting in the expression B+C. This output is passed through
AND gate with the input A. Output of the AND gate is P.
P=A(B+C)
Output Q is taken from a second AND gate which receives inputs from an inverted output of the
previously mentioned OR gate, (B+C) and D.
Q=(B+C)D
Gate 4 is an X-OR gate which receives inputs from B and C. Output is BC+BC. Gate 7 is an
AND gate and it receives inputs from the output terminals of the gates 3 and 4. Which results in
an output of
Final output Y comes from an OR gate and it receives inputs from the output terminals of the
gates 5 and 7.
Apparatus:
A B C D P Q
A B C Y
0 0 0 0 0 0
0 0 0 1 0 1 0 0 0 0
0 0 1 0 0 0 0 0 1 1
0 0 1 1 0 0 Logic equation for 0 1 0 1 circuit 1:
0 1 0 0 0 0 P=A(B+C) 0 1 1 1 Q=(B+C)D
0 1 0 1 0 0 1 0 0 1
0 1 1 0 0 0 Logic equation for circuit 2:
1 0 1 1
0 1 1 1 0 0
1 0 0 0 0 0 1 1 0 1
1 0 0 1 0 1 1 1 1 1
1 0 1 0 1 0
1 0 1 1 1 0
1 1 0 0 1 0
1 1 0 1 1 0
1 1 1 0 1 0
1 1 1 1 1 0
Discussion:
The main aim of this experiment is to Derive logic equations and truth table from combinational
circuits. By analyzing theoretical and practical data it can be said that both the data is same and
there is no discrepancies. Pin connections for all the ICs were studied. All the connections were
carefully made to avoid errors. The voltage supply was switched off during the implementation.
There was some problem during the experiment because of a faulty IC. The IC was replaced by a
good one instantly. Finally, the experiment was successful by Deriving logic equations and truth
table from combinational circuits.
Question Answer:
The desired circuit for the derived equation by using both NAND and NOR gates is given below:
Using NAND
Using NOR
Simulation: