Professional Documents
Culture Documents
Assignment 1
Assignment 1
------------------------------------------------------
-----------
Digital Logic Design
Lab manual
Submitted By:
Name: PirZada.
Submitted To:
Name: Imran Ahmad.
Conclusion:
AND gate produces an output as 1, when all its inputs are 1; otherwise the output
is 0. This gate can have minimum 2 inputs but output is always one. Its output is 0
when any input is 0.
Commonly available digital logic AND gate IC’s include:
TTL Logic AND Gate
74LS08 Quad 2-input
74LS11 Triple 3-input
74LS21 Dual 4-input
OR Gate:
Circuit and Truth Table:
Conclusion:
OR gate produces an output as 1, when any or all its inputs are 1; otherwise the
output is 0. This gate can have minimum 2 inputs but output is always one. Its
output is 0 when all input are 0.
NOT Gate:
Circuit And Truth Table:
Conclusion:
NOT gate produces the complement of its input. This gate is also called an
INVERTER. It always has one input and one output. Its output is 0 when input is 1
and output is 1 when input is 0.
Conclusion:
NAND gate is actually a series of AND gate with NOT gate. If we connect the
output of an AND gate to the input of a NOT gate, this combination will work as
NOT-AND or NAND gate. Its output is 1 when any or all inputs are 0, otherwise
output is 1.
NOR Gate:
Circuit And Tuth Table:
Conclusion:
NOR gate is actually a series of OR gate with NOT gate. If we connect the output
of an OR gate to the input of a NOT gate, this combination will work as NOT-OR
or NOR gate. Its output is 0 when any or all inputs are 1, otherwise output is 1.
Commonly available digital logic NOR gate IC’s include:
TTL Logic NOR Gates
74LS02 Quad 2-input
74LS27 Triple 3-input
74LS260 Dual 4-input
Conclusion:
X-OR gate produces an output as 1, when number of 1’s at its inputs is odd,
otherwise output is 0. It has two inputs and one output.
Commonly available digital logic Exclusive-OR gate IC’s include:
TTL Logic Ex-OR Gates
74LS86 Quad 2-input
Task # 1.2:
Use NAND to build NOT gate.
Ans:
Conclusion:
A NOT produces complement of the input. It can have only one input,
tie the inputs of a NAND gate together. Now it will work as a NOT gate.
Its output is
Y = (A.A)’
=> Y = (A)’
Task # 1.3:
Implement the following circuit on bread board
Construct the truth table
Identify the type of gate constructed
Ans:
Conclusion:
From DeMorgan’s theorems: (A.B)’ = A’ + B’
=> (A’.B’)’ = A’’ + B’’ = A + B
So, give the inverted inputs to a NAND gate, obtain OR operation at
output.
Task # 1.4:
Use an inverter designed from a NOR gate to invert the
output of the circuit below ?
Ans:
Circuit And Truth Table :
Conclusion :
From DeMorgan’s theorems: (A+B)’ = A’B’
=> (A’+B’)’ = A’’B’’ = AB
So, give the inverted inputs to a NOR gate, obtain AND operation at
output.
3) :To design a NOT gate from a NAND gate, both the inputs
of a NAND gate are fed with the same input signal. Does this
concept hold for constructing a NOT gate using a NOR gate
as well?
Ans:
logic NOT gate can also be made using standard NAND and NOR
gates by connecting together ALL their inputs to a common input
signal for example. A very simple inverter can also be made using
just a single stage transistor switching circuit as shown.
(4Which two gates are known as universal gates and why?
Ans:
A universal gate is a gate which can implement any Boolean
function without need to use any other gate type.
NAND and NOR are called universal gates because all the other
gates like and,or,not,xor and xnor can be derived from it.
A universal gate is a gate which can implement any Boolean function
without need to use any other gate type.