ch4 Synchnous Seqntl Logic
ch4 Synchnous Seqntl Logic
Sequential circuit is classified in to main categories depending on the timing of their signals, known as
asynchronous sequential circuit and synchronous sequential circuit.
An asynchronous sequential circuit behavior depends on change in input signals. The output is affected
whenever input changes. The commonly used memory elements in these circuits are time delay devices
(combinational circuit with feedback). It’s design is rather difficult hence it’s use is limited.
A synchronous sequential circuit behavior can be defined from knowledge of it’s signal at discrete
instant of time. The synchronization is achieved by a timing device known as system clock which
generates a periodic train of clock pulses. The outputs are affected only with clock pulse, also known as
clocked sequential circuit. Memory elements used are Flip-Flops to store binary information.
4.2 Latches
It is a group of flip-flops sensitive to pulse duration is called latch. It is a storing element. Flip-flops are
constructed using latches (either 2 NAND or 2 NOR gates). The circuit remembers the state till the power
supplied, triggered by input post. It is also considered as bi-stable latch.
S R Q Q
0 0 1 0
0 1
0 1 0 1
1 0 1 0 Invalid
1 1 0 1
1 0 0 1
1 1 0 1
1 0
It is also called as active low latch. Both the latches does the same job but in different way.
4.2.1 Flip-flops
Flip-flop is a memory element which is capable of storing one bit information and it is used in clocked
sequential circuit. It has two outputs, one for normal value and other for complement value of the bit
stored in it. It can maintain a binary state indefinitely (till power supplied) and until directed by an input
signal to switch states. It is also known as bi-stable multivibrator.
Q(t+1)=S+QR
4.2.1.2 D Flip-Flop
D Flip-flop is a modification of clocked SR Flip-flop. The D input is sampled during the occurrence of a
clock pulse. If it is 1, the output of gate 3 goes to 0, switching the flip flop to the set state (unless already
in set state). If it is 0, the output of gate 4 goes to 0, switching the flip flop to clear state.
It is basically an RS flip flop with an inverter in the R input. The added inverter reduces the
number of inputs two to one. It is sometimes also gated D latch. when D is HIGH, the Q output goes
HIGH on triggering edge of clock pulse, and the flip flop is SET. When D is low, the Q output goes LOW
on the triggering edge of the clock pulse and the flip flop is RESET.
Q(t) D Q(t+1) 1
0 0 0 Q(t+1)=D
0 1 1 1
1 0 0
1 1 1
The characteristics equation shows that the next state of the flip flop is same as the D input and is
independent of the value of the present state.
State table
The time sequence of inputs, outputs, and flip-flop states can be enumerated in a state table. The state
table for the example circuit above is shown in the table below.
The table consists of four sections:
Present state: shows the states of flip-flops
A and B at any given time t
Input: gives a value of x for each possible
present state
Next state: shows the states of the flip-
flops one clock period later at time t + 1.
Output: gives the value of y for each
present state.
The derivation of a state table consists of
first listing all possible binary
combinations of present state and inputs.
Next state and output column is derived
from the state equations.
State Diagram
The information available in a state table can be represented graphically in a state diagram. In this type
of diagram, a state is represented by a circle, and the transition between states is indicated by directed
lines connecting the circles.
Look for two present states that go to the same next state and have the same output for both input
combinations. States g and e are two such states: they both go to states a and f and have outputs of 0
and 1 for x = 0 and x = 1, respectively. Therefore, states g and e are equivalent; one can be removed.
Final reduced table and state diagram for the reduced table consists of only five states.
Procedure:
The procedure can be summarized by a list of consecutive recommended steps:
1) State the word description of the circuit behavior. It may be a state diagram, a timing diagram, or
other pertinent information.
2) From the given information about the circuit, obtain the state table.
3) Apply state-reduction methods if the sequential circuit can be characterized by input-output
relationships independent of the number of states.
4) Assign binary values to each state if the state table obtained in step 2 or 3 contains letter symbols.
5) Determine the number of flip-flops needed and assign a letter symbol to each.
6) Choose the type of flip-flop to be used.
7) From the state table, derive the circuit excitation and output tables.
8) Using the map or any other simplification method, derive the circuit output functions and the flip-
flop input functions.
9) Draw the logic diagram.
Procedure step: (1) and (2)
The state diagram consists of four states with
binary values already assigned.
Directed lines contain single binary digit
without a slash, we conclude that there is one
input variable and no output variables. (The
state of the flip-flops may be considered the
outputs of the circuit).
The two flip-flops needed to represent the four
states are designated A and B.
The input variable is designated x.
Derivation of simplified
Boolean functions for the
combinational circuit.
The information from the
truth table is transferred
into the maps.
The inputs are the
variables A, B, and x; the
outputs are the variables
JA, KA, JB, and KB.