31 Analysis Design Asynchronous Sequential Circuits PDF
31 Analysis Design Asynchronous Sequential Circuits PDF
31 Analysis Design Asynchronous Sequential Circuits PDF
Sequential Circuits
Synchronous Sequential Circuits
• The change of internal state occurs in response to the
synchronized clock pulses.
• The memory elements are flip‐flops.
Asynchronous Sequential Circuits
Asynchronous sequential circuits
- Internal states can change at any instant of time when there is a
change in the input variables
- No clock signal is required
- Have better performance but hard to design due to timing problems
n Input m Output
-The memory Variables Variables
elements are either xn Zm
unclocked FF’s or x1
Combinational Z1
time-delay elements. Circuit Design
-The design of these
circuits is more
y0 Y0
difficult than the delay
Secondary Variables Excitaion Variables
design of (present State) (next state)
delay
synchronous circuits
due to the timing yk
delay
Yk
problem.
Why Asynchronous Circuits?
1- Accelerate the speed of the machine (no need to
wait for the next clock pulse).
• Stable System:
for a given value of input variables, the system is stable if the circuit
reaches a steady state condition.
• Fundamental‐mode operation:
this mode assumes that the one input signal changes at a time and
only when the circuit is in stable condition.
• The time between two input changes must be longer than the time it takes
the circuit to reach a stable state.
Analysis Procedure
The analysis consists of obtaining a table or a diagram that
describes the sequence of internal states and outputs as a
function of changes in the input variables.
Transition Table
Flow Table
Stability Consideration
Transition Table
Transition table is useful to analyze an asynchronous circuit from the circuit
diagram Procedure to obtain transition table:
2. Mark the input (yi) and output (Yi) of each feedback loop
4. Plot each Y function in a map and combine all maps into one table
5. Circle those values of Y in each square that are equal to the value of y in
the same row
Transition Table
Y1 = xy1 + x’y2
Y2 = xy’1 + x’y2
Transition Table
-If y=00 and x= 0 Y ==00
(Stable)
-If x changes from 0 to 1 while
y=00, the circuit changes Y to 01
which is temporary unstable
condition (Y != y)
-As soon as the signal propagates
to make Y = 01, the feedback
path causes a change in y to 01.
(transition form the first row to
the second row)
-If the input repeatedly alternates
between 0 and 1, the circuit will
repeat the sequence of states
Transition Table
In an asynchronous sequential circuit, the internal state can
change immediately after a change in the input.
* should be carefully
checked first
SR Latch with NAND Gates
* should be carefully
checked first
Analysis Procedure
Y1 S1 R1\ y1 x1 y2 ( x1 x2 ) y1 x1 y2 x1 y1 x2 y2
A debounce circuit can remove the series of pulses from a contact bounce
and produce a single smooth transition
-Position A(SR=01) bouncing(SR=11) Position B(SR=10)
Q = 1(set) Q = 1(no change) Q = 0 (reset)
Design procedure
(i) Obtain a primitive table from specifications
(ii) Reduce flow table by merging rows in the primitive flow
table
(iii) Assign binary state variables to each row of reduced
table
(iv) Assign output values to dashes associated with unstable
states to obtain the output map
(v) Simplify Boolean functions for excitation and output
variables;
(vi) Draw the logic diagram
Design Example:
Problem Statement:
Design a gated latch circuit (memory element) with two
inputs, G(gate) and D(Data) and one output Q. The Q
output will follow the D input as long as G=1. when G
goes to 0, the information that was present at the D input
at the time of transition is retained at the Q output.
Design Example:
1-Primitive Flow Table
• A primitive flow table is a flow table with only one stable total
state (internal state + input) in each row.
• In order to form the primitive flow table , we first form a table
with all possible total states.
Design Example:
1-Primitive Flow Table
First, we fill in one square in each row
belonging to the stable state in that
row.
Next we note that both inputs are not
allowed to change at the same time,
we enter dash marks in each row that
differs in two or more variables from
the input variables associated with the
stable state.
Next it is necessary to find values for two
more squares in each row. The
comments listed in the previous table
may help in deriving the necessary
information.
All outputs associated with unstable
states are marked with a dash to
Design Example:
2-Reduction of the Primitive
Flow Table
Two or more rows can be merged
into one row if there are non-
conflicting states and outputs in
every columns.
After merged into one row:
Don’t care entries are overwritten
Stable states and output values are
included
A common symbol is given to the
merged row
Design Example:
3-Transition Table and Logic Diagram
• In order to obtain the circuit described by the reduced flow
table, it is necessary to assign a distinct binary value to each
state.
• This converts the flow table to a transition table.
• A binary state assignment must be made to ensure that the
circuit will be free of critical race. (This problem will be
covered later)
a=0, b=1 in this example
Design Example:
Implementation with SR Latch
Compatible Pairs
Maximal Compatibles