Logic gate is the basic formation of a digital system. Logic gates operate with binary numbers, so called binary logic gates.
The voltage used in logic gate is HIGH or LOW. Stress
high means 1, while the low voltage means 0.
1. AND gate
AND gate is used to generate logic 1 if all inputs
has a logic 1, otherwise it will produce a logic 0.
AND Logic Gate Image
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
0
0
0
1
AND Truth Table
Boolean AND statement to the Gate
A. B = Y (A and B are the same as Y)
2. Gate NAND (Not AND)
NAND gate would have output 0 when all inputs at logic 1.
otherwise if there is a logic 0 on any input to the NAND gate, then
output will be worth 1.
NAND Logic Gate Image
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
1
1
1
0
NAND Truth Table
A
B
F
A
B
F
3. OR gate
OR gates will give output 1 if any of the inputs on
state 1. If the desired output value 0, then all entries must be in a state of 0.
OR Logic Gate Image
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
0
1
1
1
Truth Table OR
4. NOR gate
NOR gate will give output 0 if any of the inputs on
state 1. if the desired output is 1, then all input must be in a state
0.
Figure NOR Logic Gate
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
1
0
0
0
NOR Truth Table
A
B
Y
A
B
F
5. XOR Gate
XOR gate (from the word exclusive OR) will give the output 1 if masukanmasukannya
have different circumstances.
XOR Logic Gate Image
Input
A B
Exodus
F
0 0
0 1
1 0
1 1
0
1
1
0
XOR Truth Table
6. NOT gate
NOT gate is a gate having an input and an output.
NOT gate serves as the inverting (inverter), so that the output of this gate
is the opposite of its inputs.
Fig. NOT Logic Gate Symbol
Input
A
Exodus
F
0
1
1
0
NOT Gate Truth Table
A
B
Y
The voltage used in logic gate is HIGH or LOW. Stress
high means 1, while the low voltage means 0.
1. AND gate
AND gate is used to generate logic 1 if all inputs
has a logic 1, otherwise it will produce a logic 0.
AND Logic Gate Image
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
0
0
0
1
AND Truth Table
Boolean AND statement to the Gate
A. B = Y (A and B are the same as Y)
2. Gate NAND (Not AND)
NAND gate would have output 0 when all inputs at logic 1.
otherwise if there is a logic 0 on any input to the NAND gate, then
output will be worth 1.
NAND Logic Gate Image
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
1
1
1
0
NAND Truth Table
A
B
F
A
B
F
3. OR gate
OR gates will give output 1 if any of the inputs on
state 1. If the desired output value 0, then all entries must be in a state of 0.
OR Logic Gate Image
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
0
1
1
1
Truth Table OR
4. NOR gate
NOR gate will give output 0 if any of the inputs on
state 1. if the desired output is 1, then all input must be in a state
0.
Figure NOR Logic Gate
Input
A B
Exodus
Y
0 0
0 1
1 0
1 1
1
0
0
0
NOR Truth Table
A
B
Y
A
B
F
5. XOR Gate
XOR gate (from the word exclusive OR) will give the output 1 if masukanmasukannya
have different circumstances.
XOR Logic Gate Image
Input
A B
Exodus
F
0 0
0 1
1 0
1 1
0
1
1
0
XOR Truth Table
6. NOT gate
NOT gate is a gate having an input and an output.
NOT gate serves as the inverting (inverter), so that the output of this gate
is the opposite of its inputs.
Fig. NOT Logic Gate Symbol
Input
A
Exodus
F
0
1
1
0
NOT Gate Truth Table
A
B
Y
2 Komentar untuk "Logic Gate"
I visited many posts of this site and found that this site is really very helpful for programming learner. I would like to share this link to some of my friends who are doing programming hope this will be useful to them.
Thanks for the great post.
you're welcome...
i'll keep posting