Docsity

Sequential logic circuit ff pdf ppt, Essays (university) of Digital Electronics

Toggle sidebar
bg1
SEQUENTIAL LOGIC CIRCUITS
SEQUENTIAL LOGIC CIRCUITS
INTRODUCTION
Combinational logic refers to circuits whose output is strictly depended on
the present value of the inputs.
As soon as inputs are changed, the information about the previous inputs is
lost, that is, combinational logics circuits have no memory.
In many applications, information regarding input values at a certain instant
of time is required at some future time.
Although every digital system is likely to have combinational circuits, most
systems encountered in practice also include memory elements, which
require that the system be described in terms of sequential logic.
Circuits whose output depends not only on the present input value but also
the past input value are known as sequential logic circuits.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
Discount

On special offer

Partial preview of the text

Download Sequential logic circuit ff pdf ppt and more Essays (university) Digital Electronics in PDF only on Docsity!

SEQUENTIAL LOGIC CIRCUITSSEQUENTIAL LOGIC CIRCUITS

INTRODUCTION ‰

Combinational logic refers to circuits whose output is strictly depended onthe present value of the inputs.

As soon as inputs are changed, the information about the previous inputs islost, that is, combinational logics circuits have no memory.

In many applications, information regarding input values at a certain instantof time is required at some future time.

Although every digital system is likely to have combinational circuits, mostsystems encountered in practice also include memory elements, whichrequire that the system be described in terms of sequential logic.

Circuits whose output depends not only on the present input value but alsothe past input value are known as

sequential logic circuits

Figure 1. Block Diagram of Sequential

Circuit

The diagram consists of combinational circuitto which memory elements are connected toform a feedback path.

The memory elements are devices capable ofstoring binary information within them.

The combinational part of the circuit receivestwo sets of input signals:^ ‰

one is
primary
(coming from the circuit
environment) and
secondary
(coming
from
memory
elements).

The particular combination of secondaryinput variables at a given time is called the^ present state

of the circuit.

The secondary input variables are also knownas the

state variables

Q

(b)

RESETing the Latch (FF)

Q

(a)

Simultaneous SETing and RESETing ‰

The last case to consider is the case where the SET andRESET inputs are simultaneously pulsed LOW.
This will produce HIGH levels at both NAND outputs sothat Q=
Clearly, this is an undesired condition, since the twooutputs
are
supposed
to
be
inverses
of
each
other.
Furthermore, when the SET and RESET inputs returnHIGH, the resulting output state will depend on whichinput returns HIGH first.
Simultaneous transitions back to the 1 state will produceunpredictable results.
For these reasons the SET= RESET= 0 condition isnormally not used for the NAND latch.

Q

Summary of NAND LatchSummary of NAND Latch

-^

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
SET
RESET
OUTPUT
No Change
Q=
Q=
*Invalid

Q

Simple Application of NAND latchesSimple Application of NAND latches

The Latch as a Contact-Bounce Eliminator •^

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^ −

Example on NAND Latch SET

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.

Q
SET
RESET
OUTPUT
No Change
Q=
Q=
*Invalid

Example on NOR Latch

Examples of Pulse Train

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

  • R FLIP-R FLIP
  • FLOP-FLOP
Figure (a) shows the logic symbol for a clocked S-RFlip-Flop that is triggered by the positive- going edgeof the clock signal.
This means that the FF can change states only when asignal applied to its clock inputs makes a transitionfrom 0 to 1.
The S and R inputs control the state of the FF in thesame manner as described earlier for the NOR-gatelatch, but the FF does not respond to these inputs untilthe occurrence of the PGT of the clock signal.
The truth table in Figure 5.13(b) shows how the FFoutput will respond to the PGT at the CLK input for thevarious combinations of S and R inputs. This truth tableuses some new nomenclature.
The up arrow (
) indicates that a PGT is required at
CLK;
The label Q
indicates the level at Q prior to the PGT. 0

(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