Many
designers need knowledge of basic digital circuits and logic. We were
getting many feedbacks from readers who know the programming and want to
have some idea of digital basics for interfacing or related works. We are
working to bring some more articles on Boolean algebra and bitwise
operations in programming. This is the first article in this series.
Logic gates forms
the basic structural and functional part of the digital electronic
circuits. Basically a logic gate is a circuit which
�
Combines two or more signals to give different signal of any logical or
mathematical operation of the given signals.
�
Gives
the complement or negative of the given signals.
Different
types of logic gates available are
Inverter/NOT gate
AND gate
OR gate
NAND gate
NOR gate
XOR gate
XNOR gate
Normally a
signal is called either HIGH or LOW in digital electronics. There are two
logic conventions to give values of HIGH and LOW.
Positive logic: HIGH 1
(+5V)
LOW
0
(0V)
Negative logic:
HIGH 0
(0V)
LOW
1
(+5V)
Hereafter
we use positive logic in our discussion.
Inverter/NOT gate:
Symbol:
Operation:
When a
HIGH signal is given as input to an inverter, a LOW pulse will appear as
output or vice-versa. The operation is summarized in truth table.
Truth table:
When to use:
Whenever a
signal or pulse has to be inverted we use inverter/NOT gate.
Note:
The bubble
indicated at the output of NOT gate is called negation indicator. When
appearing on output, the bubble means that an internal �1� produces an
external �0�.
AND gate:
|