
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Figure 1. Block Diagram of Sequential
Circuit
Q
(b)
RESETing the Latch (FF)
Q
(a)
Simultaneous SETing and RESETing
Q
-^
SET= RESET= 1.
This condition is the normal resting stateand it has no effect on the output state.The Q and
outputs will remain in
whatever state they were prior to thisinput condition.
-^
SET= 0, RESET= 1.
This will always cause the output to goto
the
Q=
state,
where it will remain
even
after
SET
returns
HIGH.
This
is
called setting the latch.
-^
SET= 1, RESET= 0.
This will always produce the Q= 0 state,where the output will remain even afterRESET
returns
HIGH.
This
is
called
RESETing or resetting the latch.
-^
SET =RESET= 0.
This condition tries to set and RESETthe
latch
at
the
same
time
and
can
produce
ambiguous
results.
It
should
not be used.
Q
Simple Application of NAND latchesSimple Application of NAND latches
A good example of an application of an
latch is in the
elimination of mechanical switch contact "bounce." When the poleof a switch strikes the contact upon switch closure, it physicallyvibrates or bounces several times before finally making a solidcontact. Although these bounces are very short in duration, theyproduce voltage spikes that are often not acceptable in a digitalsystem. The situation is illustrated in Figure (a).
-^
An
latch can be used to eliminate the effects of switch
bounce as shown in Figure (b). The witch is normally in position l,keeping the input LOW and the latch RESET. When the switch isthrown to position 2, goes HIGH because of the pull-up resistor toVCC and goes LOW on the first contact. Although remains LOW foronly a very short time before the switch bounces, this is sufficientto set the latch. Any further voltage spikes on the input due toswitch bounce do not affect the latch, and it remains SET. Noticethat the Q output of the latch provides a clean transition from LOWto HIGH, thus eliminating the voltage spikes caused by contactbounce. Similarly, a clean transition from HIGH to LOW is madewhen the switch is thrown back to position 1.
S R
(a)
switch
contact bounce
(b) Contact-bounce eliminator circuit
R S^ −
R S^ −
RESET
1 0 1 0
T^1
T^5
T^4
T^3 T^2
T^6
Q^
1 0
Summary of NOR LatchSummary of NOR Latch
SET=RESET= 0. This is the normal resting state for the NOR latch andit has no effect on the output state. Q and
will remain in whatever
state they were prior to the occurrence of this input condition. SET= 1, RESET = 0. This will always set Q= 1, where it will remain evenafter SET returns to 0. SET= 0, RESET= 1. This will always RESET Q= 0, where it will remaineven after RESET returns to 0. SET= 1, RESET= 1. This condition tries to set and RESET the latch atthe same time, and it produces Q=
=0. If the inputs are returned to 0
simultaneously, the resulting Output State is unpredictable. This inputcondition should not be used.
1 0
1 0
Ω
The clock signal is distributed to all parts of the system, andmost (if not all) of the system outputs can change state onlywhen the clock makes a transition. Ω
The transitions (also called edges) are pointed out in figureabove. Ω
When the clock changes from a 0 to a 1, this is called thepositive- going transition (PGT); Ω
when the clock goes from 1 to 0, this is the negative-goingtransition (NGT). Ω
We will use the abbreviations PGT and NGT, since these termsappear so often through out the discussion. Ω
Most
digital
systems
are
principally
synchronous
(although
there
are
always
some
asynchronous
parts),
since
synchronous circuits are easier to design and troubleshoot. Ω
They are easier to troubleshoot because the circuit outputs canbe synchronized to the clock- signal transitions. Ω
The synchronizing action of the clock signals is accomplishedthrough
the
use
of
clocked
flip-flops
that
are
designed
to
change states on one or the other of the clock’s transitions
.
Type of Clock InputType of Clock Input
Q Q
(a)
Q Q
CLOCKED SCLOCKED S
(a)
Inputs
Output
S^
R^
CLK
Q
0
0
↑^
Q^0
(no change)
1
0
↑^
1
0
1
↑^
0
1
1
↑^
Ambiguous
(b)
Q^0
is output level prior to
↑^
of CLK
↓^ of CLK produces no change in Q