Professional Documents
Culture Documents
Logic Gates
Logic Gates
Logic Gates
Scientific Research
Sulaimani Polytechnic University
Technical Collage Of Informatics Sulaimani
Information Technology Department
“Logic gates”
Prepared By:
Ozan Kamal
2023-2024
Contents
Sr.no Title Page no.
1
2
Introduction
Principle
Introduction 1
3 be definedBasic
A logic gate can Gatescircuit which3 either allows a
as digital
signals to pass 4through or stops it. These
The OR Gategates are related
5 to Boolean
Algebra. These gates allow signals to pass through them only when
5 The AND Gate 7
some logic is satisfied. A semiconductor diode (P-N junction) acts as a
6
closed switch when The NOT
it is forward Gate
biased, 9 current to pass
i.e. it allows
7 as an open
through it. It acts Thecircuit
NORwhen
Gateit is reversed
11 biased, i.e. it
allows very little
8 or no current to pass through
The NAND Gate it. This 13unique property
of diode is employed in the design of logic gates and the circuits.
9 The EX-OR Gate 15
The logic gates are building blocks of electronic devices. Logic gate
10 The EX-NOR Gate 17
may have one or more inputs but can only have one output.
Possible values11of input and output
Conclusion
of logic gates are 19
expressed in form
of tables called12
truth tables. Reference 20
Two values of logic statement are denoted by binary numbers 1 and 0
where 1 represent higher value.
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 complex, they may all be
constructed from three basic
Devices like a P- junction diode, a resistance and an N-P- N
transistor.
We have three different type of logic gates and they are the AND
gate, the OR gate and the NOT gate.
L O G I C A L S TAT E M E N T S
1 0
High Low
On off
Close Open
True False
Right wrong
Yes No
Basic Gates
The OR Gates: - It is a devise that combines A and B to give Y as the
result. The OR gates has two or more inputs and one output. In Boolean
algebra, addition symbol (+), is referred as the OR
The Boolean expression: A+B=Y
This indicates that Y equals to A or B.
Components:
Two ideal p-n junction diode (D1 and D2).
Hear the negative terminal of the battery is grounded and corresponds to the
0 level, And the positive terminal of the battery corresponds to level 1.The
output Y is voltage at C with respect to earth.
T h e f o l l o w i n g conclusion c a n b e d r a w n f r o m t h e
a b o v e circuit:
(i) If the switch A and B are kept open (A=0, B=0), then bulb does
not glow, hence Y=0
(ii) If switch A is kept closed and B is kept open (A=0, B=1), then
bulb does not glow, hence Y=1
(i) If switch A is kept open and B is kept closed (A=1, B=0), then
bulb does not glow, hence Y=1
(i) If switch A and B both are kept closed (A=1, B=1), then bulb
glows, hence Y=1
TRUTH TABLE:
Input A Input B OUTPUT
0 0 0
0 1 1
1 0 1
1 1 1
The AND Gate
Aim:
To design and stimulate the AND Gate circuit.
Componens:
Two ideal p-n junction diode (D1 and D2) and resistance R.
(i) If the switch A and B are kept open (A=0, B=0), then bulb does
TRUTH TABLE:
Input A Input B OUTPUT
0 0 0
0 1 0
1 0 0
1 1 1
The NOT Gate
Aim:
to design and simulate the NOT Gate circuit.
Components:
An ideal n-p-n transistor.
(iii) If the switch A is kept closed (A=1) then bulb does not glow,
hence Y=0
TRUTH TABLE:
Input A OUTPUT Y
0 1
1 0
The NOR Gate
Aim:
To design and simulate the nor gate circuit.
Component:
Two ideal p-n junction diode (D1 and D2).
An ideal n-p-n transistor.
TRUTH TABLE:
Component:
Two ideal p-n junction diode (D1 and D2)
A resistance R
An ideal n-p-n transistor.
The following inference can be easily drawn from the working of circuit:
(i) If the switch A and B are kept closed (A=0, B=0) then bulb
glows, hence Y=1.
(ii) If the switch A is kept open and B is kept closed (A=0, B=1), then
bulb glows, hence Y=1.
(iii) If switch A is kept closed and B is kept open (A=1, B=0), then
bulb glows, hence Y=1.
(iv) If both switch A and B are kept closed (A=1, B=1) then bulb
does not glow, hence Y=0.
TRUTH TABLE:
Input A Input B OUTPUT
0 0 1
0 1 1
1 0 1
1 1 0
The EX-OR Gate
Aim:
To design and stimulate the EX-OR Gate circuit.
Components:
1) Two AND gates
2) An OR gate
3) Two NOT gate
(i) If the switch A is kept open and B is kept closed (A=0, B=1)
then bulb glows, hence Y=1.
(iii) If the switch A is kept closed and B is kept open (A=1, B=0)
then the bulb will glow, hence Y=1.
(i)
If the switch A and B are kept closed (A=1, B=1) then bulb
will not glow, hence Y=0.
TRUTH TABLE:
Input A Input B OUTPUT
0 0 0
0 1 1
1 0 1
1 1 0
The EX-NOR Gate
Aim:
To design and stimulate the EX-NOR Gate circuit.
Components:
1) Two AND gates
2) And OR gate
3) Three Not gates
(ii) If the switch A is kept open and B is kept closed (A=0, B=1)
then bulb does not glow, hence Y=0.
(iii) If the switch A is kept closed and B is kept open (A=1, B=0)
then bulb does not glow, hence Y=0.
(i) If the switch A and B are kept closed (A=1, B=1) then bulb will
glow, hence Y=1.
TRUTH TABLE:
Encarta Encyclopaedia
Britannica Encyclopaedia
www.wikihow.com
www.answers.com