Digital Logic Gates - Pages
Digital Logic Gates - Pages
if input is True
XOR - True if either A or B are True, but False if
Logic Gate
Symbols
OR
The OR gate
gets its name
from the fact
that it behaves
after the fashion
of the logical
inclusive "or."
The output is
"true" if either
or both of the inputs are "true." If
both inputs are "false," then the
output is "false."
NOR
INPUT
OUTPUT
INPUT
A
B
OUTPUT
A OR B
A
0
B
0
A OR
0 B
0
0
0
1
0
1
0
1
1
0
1
1
1
1
0
1
1
1
INPUT
OUTPUT
A OR B
AND
The AND
gate is so
named
because, if 0
is called
"false" and 1
is called
gate acts in
way as the
operator.
INPUT
A
A OR B
"true," the
the same
logical "and"
NAND
OUTPUT
NOT
A logical inverter,
sometimes called a
NOT gate to
differentiate it from
other types of electronic
inverter devices, has
only one input. It
reverses the logic state.
XOR
The XOR
(exclusive-OR)
gate acts in the
same way as
the logical
"either/or." The
output is "true"
if either, but not
both, of the
inputs are
"true." The output is "false" if both inputs
are "false" or if both inputs are "true."
XNOR
Combinational Logic
The term "combinational" comes to us from
mathematics. In mathematics a combination is an
unordered set, which is a formal way to say that nobody
cares which order the items came in. Most games work
this way, if you rolled dice one at a time and get a 2
followed by a 3 it is the same as if you had rolled a 3
followed by a 2. With combinational logic, the circuit
produces the same output regardless of the order the
inputs are changed.
There are circuits which depend on the when the inputs
change, these circuits are called sequential logic. Even
though you will not find the term "sequential logic" in the
chapter titles, the next several chapters will discuss
sequential logic.
Practical circuits will have a mix of combinational and
sequential logic, with sequential logic making sure
everything happens in order and combinational logic
performing functions like arithmetic, logic, or conversion.
You have already used combinational circuits. Each logic
gate discussed previously is a combinational logic
function. Let's follow how two NAND gate works if we
provide them inputs in different orders.
10
11