Professional Documents
Culture Documents
Basic Operation of Digital Circuits
Basic Operation of Digital Circuits
Basic Operation of Digital Circuits
AND
Z = X • Y (X,Y,Z are binary variables equal 1 or 0)
This operation is represented by a dot or by the absence of an
operator. For example,
Z = X • Y or Z = XY is read "Z is equal to X AND Y." The
logical operation AND
is interpreted to mean that Z = 1 if and only if X = 1 and Y = 1;
otherwise Z = 0.
OR.
Z=X+Y
This operation is represented by a plus symbol. For example,
Z = X + Y is read "Z is equal to X OR Y" meaning that Z = 1 if
X = 1 or if Y = 1,
or if both X = 1 and Y = 1.
Z = 0 if and only if X = 0 and Y = 0.
NOT .
Ex:2
Draw the logic circuit for the following function
EX:3
Draw start stop motor circuit using gates
Flip-flops
A flip-flop can assume 1 of 2 stable states (bistable), by way of
applying a suitable trigger or control, pulse: On or Off, “1” or
“0”. So, a flip-flop is able to store 1 bit.
All flip-flops have 2 outputs that provide complementary levels
(opposite polarity).By definition, identical output states must
never occur, even if this is possible.
RS Flip-flops using NOR -Gates
An RS flip-flop can be constructed with 2 NOR gates. In
section 3.2 it was shown that the output of a NOR gate
is “1” when a “0” signal is applied to both inputs. If a
1-signal is applied to at least one input, the output is at
a 0-state.
If this statement is now applied to an RS flip-flop with
NOR gates, then at S = 1 and R = 0, the outputs must be
Q1 = 0 and Q2 = 1. If now, S is set to 0, the output states
of Q1 and Q2 are retained since due to the
cross-coupled feedback on the upper NOR gate Q1 = 1 is
applied to one input.
Clock Level-triggered Flip-flops