Академический Документы
Профессиональный Документы
Культура Документы
OF LOGIC GATES.
Project Prepared By:
Satyam bansal
XII-A
ROLL NO: 21
Boards Roll Number:
Year: 2015-2016
AIM
TO STUDY DIFFERENT TYPES OF
GATES:
CERTIFICATE
Teachers signature
Acknowledgement
C-
Satyam bansal
XII A
CONTENTS
a.
b.
c.
d.
e.
f.
g.
h.
i.
Introduction.
Formula used.
Apparatus.
Theory.
Procedure.
Observation.
Results.
Precaution.
Source of error.
INTRODUCTION
A logic gate is an elementary building block
of a digital circuit. Most logic gates have
two inputs and one output. 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).
There are seven basic logic gates: AND, OR,
XOR, NOT, NAND, NOR, and XNOR
AND GATE
The AND gate is a basic digital logic gate
that implements logical conjunction - it
behaves according to the truth table to the
right. A HIGH output (1) results only if both
the inputs to the AND gate are HIGH (1). If
neither or only one input to the AND gate is
HIGH, a LOW output results. In another
sense, the function of AND effectively finds
the minimum between two binary digits,
just as the OR function finds the maximum.
Therefore, the output is always 0 except
when all the inputs are 1
INPUT
A
0
0
1
1
B
0
1
0
1
OUTPUT
A AND B
0
0
0
1
Symbols
There are three symbols for AND gates: the
American (ANSI or 'military') symbol and the
IEC ('European' or 'rectangular') symbol, as
well as the deprecated DIN symbol. For
more information see Logic Gate Symbols.
DIN
ICE Symbol
l
MIL/ANSI SymboL
Implementations
OR GATE
The OR gate is a digital logic gate that
implements logical disjunction - it
behaves according to the truth table to
the right. A HIGH output (1) results if
one or both the inputs to the gate are
HIGH (1). If neither input is high, a LOW
output (0) results. In another sense, the
function of OR effectively finds the
OUTPUT
A OR B
Symbols
There are two symbols of OR gates: the
American (ANSI or 'military') symbol and
the IEC ('European' or 'rectangular')
symbol, as well as the deprecated DIN
symbol. For more information see Logic
Gate Symbols
MIL/ANSI Symbol
ICE Symbol
DIN Symbol
Hardware description
and pin out
OR Gates are basic logic gates, and as
such they are available in TTL and
CMOS ICs logic families. The standard
4000 series CMOS IC is the 4071, which
includes four independent two-input OR
gates. The traditional TTL version is the
7432. There are many offshoots of the
original 7432 OR gate. All have the same
pin out but different internal
architecture, allowing them to operate
in different voltage ranges and/or at
higher speeds. In addition to the
standard 2-Input OR Gate, 3- and 4-Input
Implementations
CMOS OR gate
BJT OR gate
NOT GATE
A NOT gate (also often called Inverter) is a logic
gate. It takes one input signal. In logic, there are
usually two states, 0 and 1. The gate therefore
sends 1 as output, if it receives 0 as input.
Alternatively it received 1 as input, and sends 0
as output.
Generally, below 0.5V is 0, and 45V is 1.
T
NOT A
0
1
1
0
Symbol
for the NOT gate
MIL/ANSI Symbol
IEC Symbol
DIN Symbol
Electronic
implementation
NMOS inveter
NPN transistor
PMOS inveter
Saturated-load NMOS
inverter
Voltage
Formula used
THE BOOLEN EXPRESIONS OF
THREE LOGIC GATES ARE GIVEN BY:
AND: A.B=Y
OR: A+B=Y
NOT: A=Y
WHERE
A,B=Input voltages.
Y=Output voltages.
A=Input A is inverted.
APPARATUS
DIODES
RESISTANCE
BATTERIES
AN LED
CONNECTING WIRE
THEORY
LOGIC GATES IS A DIGIAL GATES
WHICH FOLLOWS A LOGICAL
RELATIONSHIP BTWEEN THE INPUT
AND OUTPUT VOLTAGES. THE THREE
BASIC LOGIC GATES ARE: AND,OR AND
NOT. EACH LOGIC GATE HAS A SYMBOL,
A BOOLEAN EXPRESSION AND A TRUTH
TABLE TO DEFINE ITS FUCTION. THESE
GATES CAN BE REALISED USING
DIODES AND TRANSISTORS WHICH WE
CAN SEEN ABOVE.
PROCEDURE
FOR AND GATE:
A. ASSEMBLE THE
FOR OR GATE:
A.ASSEMBLE THE
CIRCUIT OR REALIASTION OF OR
GATE AS SHOW IN FIG.
B.CONNECT BOTH A AND B TO P
AND OBSERVE WHEATHER THE
OUTPUT IS HIGH OR LOW. IF THE
OBSERVATIONS TABLE
FOR AND GATE
SR
.
NO
INPUT
OUTPUT
A
CONNECTED
AT
STATE
OF A
B
CONNECTED
AT
STATE
OF B
Y=A.B
1
2
3
4
P
Q
Q
1
0
0
Q
P
Q
0
1
00
0
0
0
FOR OR GATE
SR.
NO
INPUT
A
STATE
STATE
CONNECTE
OF A
CONNECTE
OF B
OUTPUT
Y=A+B
1
0
1
1
D AT
1
2
P
P
D AT
1
1
P
Q
3
4
Q
Q
0
0
P
Q
1
0
1
0
SR.
NO
INPUT
A
CONNECTED
STATE OF A
OUTPUT
Y=A
AT
1
2
P
Q
1
0
0
1
RESULTS
1.TRUTH TABLE FOR AND GATE:
A
0
0
1
1
B
0
1
0
1
Y
0
0
0
1
B
0
1
Y
0
1
1
1
0
1
1
1
0
1
1
0
E.
TEACHERs REMARKS