meljun cortes handouts sequential logic
TRANSCRIPT
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
1/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page1of 63
physically implemented by the sequent ia l
circuit
Sequential Circuit
a type of circuit whose output depends not only
on its inputs’ present state, but also its previousinputs
made up of not only of the basic combinational
circuits but also of storage elements
classified according to the timing of its signals
Block Diagram of the Sequential Circuit
SequentialLogic
Source: Mano, “DigitalDesign”
1 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page3of 63
has to be synchronized by making it follow a
timing device called the clock generator orsimply, the clock
Clock
produces a periodic train of clock pulses fromwhich the required changes in the storage
devices are timed
Clock Pulses
are timed pulses of high and l ow-logic levelelectric signals
Clock Pulses
SynchronousSequential Logic
3 __________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page2of 63
observes its inputs and internal states only at
certain, discrete points in time
Asynchronous Sequential Circuit
observes the behavior of its inputs at any
instance of time, as well as the order in which
these inputs change in continuous time
Block diagrams of Synchronous Sequential
Circuit
SynchronousSequential Logic
Source: M. Mano, ”Logicand Computer DesignFundamentals”, 2nded updated
2 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page4of 63
the basic storage element from which flip-flops
are usually constructed
as long as there is electricity powering this
circuit, it holds and mainta ins the binary state
fed to it
asynchronous in nature
they do not need to be clocked to function
properly
digital circuit that has two outputs that should
always be at opposite states
digital circuits that have two outputs (commonlynamed as Q’ and Q ) that should always be at
opposite states
Types of Latches:
the SR (and S’R’ )
D latches
Latches
4 __________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
2/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page5of 63
also called an RS latch
The SR Latch from Two Cross-Coupled NOR
Gates
short for SET-RESET
has its output determined by:
its present state
triggering of its SET or RESET input line
the two NOR gates used in implementing the
latch are defined by the following equations:
NOR gate A
NOR gate B
Crossed-NORSR Latch
5 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page7of 63
resetting the output Q to 0
an unused or undefined state
Crossed-NORSR Latch
7 __________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page6of 63
S = 1 and R =0:
NOR gate A the set state
by Boolean simplification, this becomes:
NOR gate B an unchanged state
Crossed-NORSR Latch
6 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page8of 63
another unchanged state of the SR latch
Function Table for SR Latch:
Crossed-NORSR Latch
8 __________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
3/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page9of 63
the S’R’ or SET’ RESET’ latch
very much like the SR latch except that this is
act ive low
the SET’ input must be at logic 0 to set the output
Q to logic 1
The S’R’ Latch and its implementation using
NAND Gates
Cross-NANDS’R’ Latch
9 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page11of 63
Cross-NANDS’R’ Latch
unchanged statewhen outputs are set
unchanged state whenoutputs are reset
unused state when
both inputs are logic 0
11 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page10of 63
setting the Q output for the cross-NAND S’R’ latch
resetting
Cross-NANDS’R’ Latch
10 ________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page12of 63
Function Table for SR Latch:
their inputs are complements of each other in
producing the same output
different in the values of the outputs during an
unused state
crossed-NAND inputs: active low
cross-NOR inputs: active high
Cross-NANDS’R’ Latch
Comparison of theSR and S’R’ Latches
12 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
4/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page13of 63
symbol of the Gated SR Latch
circuit construction of the Gated SR Latch
The GatedSR Latches
13 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page15of 63
an improvement over the clocked-SR (or gated-
SR) latch in the sense that it prevents theproblem when both the inputs are logic 1
has only two inputs: the input D and the CLK
enable
The D latch symbol and construction using NAND
Gates
TransparentD Latch
15 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page14of 63
The GatedSR Latches
setting the output Q
with CLK enabled
output Q is not reset
even with S=0 and R =1
because CLK is inhibited
Function Table for Gated SR Latch:
14 ________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page16of 63
CLK is enabled and the input D sets the output Q to
logic 1
CLK is enabled and the input D sets the output Q tologic 0s
TransparentD Latch
16 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
5/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page17of 63
CLK is inhibited and the output Q is not changed
TransparentD Latch
17 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page19of 63
Function Table for the D Latch with 0
Control:
TransparentD Latch
19 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page18of 63
Function Table for the D Latch with 1
Control:
derives its name form its ability to hold data
it is called transparent because the informationat the data line is transparent and can be seen
directly from the output as long as the CLK isenabled
D latch with 0 control symbol and constructionusing NOR gates
TransparentD Latch
18 ________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page20of 63
the timing diagram of a D latch
Examples
20 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
6/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page21of 63
How the Timing iagram of a Latch works:
Part 1:
Since the CLK is at logic 1 (HIGH), the value of
D is LOW; D should just be transferred to the
output Q. The output of Q’ should just be the
opposite of the Q value for all cases.
Part 2:
There is a transition of logic level of the D input
from LOW to HIGH. However, the CLK is still atHIGH. This means that there should also be a
transition of the Q output from LOW to HIGH.
Examples
21 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page23of 63
Given the timing diagram below, determine the
output waveform for an SR latch.
Solution:
Example 1
23 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page22of 63
How theTiming iagram
of aLatch
works(cont.):
Part 3:
There is a transition of the CLK input to LOW.
This means that any other change in the input D
will not affect the output. The output Q and Q
are therefore maintained at their respectivevalues.
Part 4:
Although D goes down to LOW, the output is
still latched to HIGH since CLK is still LOW.
Part 5:
The value of D goes up to HIGH but the CLK is
still LOW. The outputs are not affected by the
input’s transition and they remain the same.
Examples
22 ________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page24of 63
Solution (cont.):
the timing diagram corresponds to the high and low
logic levels of the SR latch’s function table
Example 1
24 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
7/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page25of 63
Draw the waveform of the outputs for a gated
SR latch given the inputs below.
Solution:
Example 2
25 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page27of 63
the basic element for storing binary information
in synchronous sequential circuits
made up of latch circuitry
D latch is triggered as long as the clock is enabled
Block diagram of the sequential circuit using a latch
as storage
Flip-Flop
27 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page26of 63
Solution (cont.):
The gated SR latch can only function if the CLK
input is HIGH. When the CLK is LOW, the
outputs will not change whatever the value of
the S and R inputs are (hence the don’t caresymbol in then function table). Therefore, we
need only consider the instances when the CLK
is at logic 1.
Example 2
26 ________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page28of 63
eliminates the problem associated with the
propagation of the state of the input of simple
latches for storing information
two SR latches may be combined to form a
master-slave configuration
Master-Slave SR Flip-Flops
Master-SlaveFlip-Flops
28 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
8/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page29of 63
Second Latch
gives the final output of the flip-flop
1. When the CLK is triggered, the master stage is
activated and is immediately affected by the
inputs S and R . The values of the S and R arestored in the master SR latch.
2. When the CLK is driven to logic 0, the output of
the inverter is logic 1 and the slave stage istriggered.
3. Since the slave and master are connected while
the slave is triggered, the outputs Q and Q’ are
simply the values of the A and A’ master
outputs.
4. When CLK is again triggered, the master is
enabled while the slave is inhibited.
Master-SlaveFlip-Flops
29 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page31of 63
made to avoid the unreliable operation that is
possible for ordinary SR master-slave flip-flops
when the J and K inputs of the flip-flop are bothlogic 1, the outputs are simply complemented
The JK flip-flop symbol and master-slaveimplementation
The JK Flip-Flop
31 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page30of 63
Timing Diagram of the SR Master-Slave
Flip-Flops with Time Delays
Master-SlaveFlip-Flops
30 ________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page32of 63
When both inputs of JK and the SR master -
slave f l ip- f lops are 1, three th ings h appen:
1. When the flip-flop is presently operating
normally, the outputs are complemented. For
example, Q = 1 while Q’ = 0.
The JK Flip-Flop
32 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
9/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page33of 63
2. When the CLK is triggered, the master SR latch
is either SET or RESET since its inputs areguaranteed to be complementary and the exact
opposite the flip-flop’s output values.
The JK Flip-Flop
33 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page35of 63
Function Table for the JK Flip-Flop:
Master-slave flip-flops are sometimes called pulse-
tr iggered f l ip- f lops :
the master latch continues to get the inputs until
the CLK is inhibited
The JK Flip-Flop
35 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page34of 63
3. After the CLK pulse stops triggering, the slave
will now get the value from the master’s outputs.
The JK Flip-Flop
34 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page36of 63
Consider the following illustration of a JK flip-
flop’s slave SR latch:
1. When the present state of Qn is logic 0 (and Qn’
logic 1), and given the following instance from
its timing diagram:
The JK Flip-Flop
36 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
10/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page37of 63
2. Consider the case when the input to the S line
is delayed internally in the latch. An immediateobservation is that the output Qn+1 is in error.
The JK Flip-Flop
37 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page39of 63
are employed when time delays and unreliable
oscillations are present in a sequential circuit
triggers only during the t ransit ion of the CLKsignal and ignores the pulse when it is at a
constant level (whether it is HIGH or LOW)
Edge-TriggeredFlip-Flops
Two Types:
1. Posit ive edge or leading
edge or r ising edge triggering occurs during the
LOW-to-HIGH transition
2. Negative edge or t ra i l ingedge or fa l l ing edge
triggering occurs during theHIGH-to-LOW transition
39 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page38of 63
The pulse-triggered flip-flop is susceptible totwo problems:
1. as long as the CLK is triggered HIGH
(intentional or not), the inputs are processed
and recognized by the outputs
2. long delays will cause the S and R lines of the
latches inside the flip-flop to change during aclock pulse
The JK Flip-Flop
38 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page40of 63
D-type trailing edge-triggered flip-flop
an example of a negative edge-triggered flip-
flop implementation
constructed by using a D latch, a gated SR
latch, and connected using an inverter
Trailing Edge D-Type Flip-Flop Implementation
Edge-TriggeredFlip-Flops
40 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
11/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page41of 63
1. When the clock is at logic 1, the master D latch
is turned on and the output at A will follow thevalue of the input D.
Edge-TriggeredFlip-Flops
41 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page43of 63
Function table for the trailing edge D-type
flip-flop:
Edge-TriggeredFlip-Flops
43 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page42of 63
2. When the negative transition from logic 1 to
logic 0 takes place, the master D latch is turned
off but the slave transfers the value from its
inputs to the output.
Edge-TriggeredFlip-Flops
42 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page44of 63
Leading Edge D-Type Flip-Flop Implementation
Function Table for the Leading Edge D-Type
Flip-Flop:
Edge-TriggeredFlip-Flops
44 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
12/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page45of 63
Symbols for Latches and Flip-Flops
A Summary of theDifferent Flip-Flops
45 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page47of 63
Symbols for Latches and Flip-Flops
A Summary of theDifferent Flip-Flops
47 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page46of 63
Symbols for Latches and Flip-Flops
A Summary of theDifferent Flip-Flops
46 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page48of 63
T flip-flop
it toggles the output when it is activated
whenever its input becomes logic 0, the outputis toggled or complemented
T Flip-Flop from a JK Flip-Flop
A Summary of theDifferent Flip-Flops
48 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
13/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page49of 63
Function Table for the SR Flip-Flop:
Function Table for the JK Flip-Flop:
Flip-FlopFunction Tables
49 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page51of 63
A Sequential Circuit
Input Equat ions
Y = (BC)’
D x = ( AB)’+ (BC )’ + X’
CircuitAnalysis
51 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page50of 63
Function Table for the D Flip-Flop:
Function Table for the T Flip-Flop:
Flip-FlopFunction Tables
50 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page52of 63
State Table
52 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
14/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page53of 63
4 steps to come up with the state table:
1. List all possible combinations of the present
states and inputs in order. The present state is
the output of the flip-flops.
2. If there are outputs coming directly from logicgates present, write down their output
equations. Continue with step 2, making
another column for each flip-flop used.
3. If there are outputs coming directly from logic
gates present, write down their output
equations.
4. Get the respective values of the next state from
the input and present state combinations. Wewill use the flip-flop characteristics we have
discussed to evaluate the next state of the flip-
flop.
State Table
53 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page55of 63
Solution:
Input Equat ions
JK flip-flop: J x = AX + (AB)’
K x = (BZ)’
D flip-flop: Dy = (BZ)’
NAND-gate: Z = (AB)’
State Table for Example 3:
Example 3
55 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page54of 63
Derive the state table given the logic diagram
below:
Example 3
54 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page56of 63
an alternative way to represent the states in a
sequential circuit
more intuitive for human interpretation
represented by circles -the more flip-flops there
are for a certain circuit, the more circles are
needed
State Diagram from the State Table for Example 3
State Diagram
56 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
15/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page57of 63
Derive the state table given the logic diagram
below:
Solution:
Input Equat ions
D flip-flop: D x = (AY + AX’)’
NAND-gate: Y = AX’
Example 4
57 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page59of 63
The next state Xn+1 results from following the
input equation for the D-type flip-flop
The state diagram is directly derived from theabove state table
Example 4
59 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page58of 63
Write down the state table by enumerating the
present state and input
Evaluate the value of the output Y from the
AND-gate equation
Example 4
58 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page60of 63
State Equation
may be directly derived from the state table of a
sequential circuit
consists of simple Boolean expressions for the
output combinational circuit using the sum of
minterms, with the left-hand side of the equation
containing the output variable
State Table for Example 4:
Design and Synthesisof Sequential Circuits
60 _________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
-
8/8/2019 MELJUN CORTES HANDOUTS Sequential Logic
16/16
Sequential Logic
LogicDesignand Switching
* Property of STI
Page61of 63
State Equat ions:
Z (A,X,Y ) =S(1,2,4,6)
D X (A,X,Y ) =S(2,5,6)
D Y (A,X,Y ) =S(0,2,3,4,6)
K-Map Simplification for the State Equations
Design and Synthesisof Sequential Circuits
61 ________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________Sequential Logic
LogicDesignand Switching
* Property of STI
Page63of 63
The simplified state equations are therefore:
Z = A’ • X’ •Y + XY’ + A•Y’ = A’X’Y + (A+X ) Y’
D X = AY + A’XY’
D Y = Y’ + A’X
Logic Diagram of the Sequential Circuit
Design and Synthesisof Sequential Circuits
63 _________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________
___________________
___________________
Sequential Logic
LogicDesignand Switching
* Property of STI
Page62of 63
K-Map Simplification for the State Equations
Design and Synthesisof Sequential Circuits
62 ________________ ___________________
___________________
___________________
___________________
___________________
___________________
___________________ ___________________
___________________
___________________
___________________