Logic Gates 29.11.22
Logic Gates 29.11.22
Logic Gates 29.11.22
BY
ACKNOWLEDGEMENT
I would like to thank my parents and all other family members for their
timely encouragements, and love during the course of the project
development.
1. Aim 1
2. Introduction 2
3. Principle 3
4. Materials Required 4
5. Description of components 5
7. Working 8-9
8. Procedure 10-12
10. Conclusion 14
11. Bibliography 15
AIM
The goal of this project is to design and simulate basic
logic gates and to design an appropriate logic gate
combination for a given truth table.
1
INTRODUCTION
A gate is a type of digital circuit that has a logical relationship between the
input and output voltages.As a result, they are commonly referred to as
logic gates — gates because they control the flow of information. NOT,
AND, OR, NAND, and NOR are the five most common logic gates. Each
logic gate is represented by a symbol, and its function is defined by a truth
table that lists all of the possible input logic level combinations and their
corresponding output logic levels.
At any given time, each terminal is in one of two binary states, low (0) or
high (1), which are represented by different voltage levels. As the circuit
processes data, the logic state of a terminal can and usually does change
frequently.
2
PRINCIPLE
Any Boolean algebraic operation can be associated with the input and output,
which represents the statement of Boolean algebra. Although these circuits may
be constructed from three basic logic gates , the AND , NOT & OR gates.
We have three different type of logic gates and they are the AND gate, the OR
gate and the NOT gate.
At any given moment, every terminal is in one of the two binary conditions low
(0) or high (1), represented by different voltage levels. The logic state of a
terminal can, and generally does, change often, as the circuit processes data. In
most logic gates, the low state is approximately zero volts (0 V), while the high
state is approximately five volts positive (+5 V)
1 0
High Low
Positive Negative
On Off
Close Open
Conducting Non-Conducting
Right Wrong
True False
Yes No
3
Moore’s Law
De Morgan’s Law
By use of De Morgan's laws, an AND function is identical to an OR function
with negated inputs and outputs. Likewise, an OR function is identical to
an AND function with negated inputs and outputs. A NAND gate is equivalent
to an OR gate with negated inputs, and a NOR gate is equivalent to an AND
gate with negated inputs.
This leads to an alternative set of symbols for basic gates that use the opposite
core symbol (AND or OR) but with the inputs and outputs negated. Use of these
alternative symbols can make logic circuit diagrams much clearer and help to
show accidental connection of an active high output to an active low input or
vice versa. Any connection that has logic negations at both ends can be replaced
by a negationless connection and a suitable change of gate or vice versa. Any
connection that has a negation at one end and no negation at the other can be
made easier to interpret by instead using the De Morgan equivalent symbol at
either of the two ends.
4
Materials Required
5
DESCRIPTION OF COMPONENTS
This is the most basic gate, with one input and one output. Produces a ‘1’
output if the input is ‘0’ and vice-versa. That is, it produces an inverted
version of the input at its output.
A Y=
A Y=A’
0 1
1 0
A’
(ii) OR Gate
An OR gate has two or more inputs with one output. The output Y is 1 when
either input A or input B or both are 1s, that is, if any of the input is high, the
output is high.
A B Y=A OR B
0 0 0
0 1 1
1 0 1
1 1 1
An AND gate has two or more inputs and one output. The output Y of AND
gate is 1 ,only when input A and input B are both 1. It kind of looks for the
minimum of the two signals.
6
CIRCUIT DIAGRAM
NOT Gate
OR Gate
7
AND Gate
8
WORKING
AND Gate :
NOT Gate:
9
When the input is 1, the output is 0, and vice versa. A NOT gate is sometimes
called an inverter because of its feature.
If there is only one input A, the output may be calculated using the Boolean
equation Y=A’.
OR Gate:
The logic of this gate is that if at least one of the inputs is 1, the output will be 1.
The OR gate’s output will be given by the following mathematical procedure if
there are two inputs A and B: Y=A+B
10
PROCEDURE
3 ) Insert the switches , wires and bulbs for each of the gate.
4) Connect the wires for all the gates with all the components by
following the below procedure
11
OR Gate:
12
AND Gate
13
NOT Gate
14
Applications of Logic Gates
Logic gates have a lot of applications, but they are mainly based upon
their mode of operations or their truth table. Basic logic gates are
often found in circuits such as safety thermostats, push-button locks,
automatic watering systems, light-activated burglar alarms and many
other electronic devices.
One of the primary benefits is that basic logic gates can be used in
various combinations if the operations are advanced. Besides, there is
no limit to the number of gates that can be used in a single device.
However, it can be restricted due to the given physical space in the
device. In digital integrated circuits (ICs), we will find an array of the
logic gate area unit.
Logic gates can also be used to store data. A storage element can be
constructed by connecting several gates in a "latch" circuit. More
complicated designs that use clock signals and that change only on a
rising or falling edge of the clock are called edge-triggered "flip-
flops". Formally, a flip-flop is called a bistable circuit, because it has
two stable states which it can maintain indefinitely.
15
OBSERVATION & CALCULATION
16
CONCLUSION
17
BIBLIOGRAPGHY
18