Unit 4-1
Unit 4-1
Dr.Nijisha Shajil
Assistant Professor
Dept. of Biomedical Engineering, CET, SRMIST Ktr
Ph: 7299696765, email: [email protected]
Topics
• Stable and Unstable states
• Fundamental and Pulse mode sequential circuits
• Output specifications
• Cycles and races, State reduction, race free assignments
• Hazards, Essential Hazards
• Design of Hazard free circuits.
Syllabus
Analysis Procedure
• Obtain table or diagram that describes the
sequence of internal states and outputs as a
function of changes in input variables.
Transition table
• One input variable x and two internal states
(secondary variables y1 and y2, excitation variable
Y1 and Y2)
• Delay associated with feedback– propagation delay
between each y input to its corresponding Y output
• Logic gate delay: 2 to 10 ns, wires delay: 1 ns
Analysis Procedure
• Derive Boolean expression for excitation variable as
function of input and secondary variable:
Analysis Procedure
• Transition table is obtained by combining the • Circle the values where Y=y -> indicates
binary values. stable condition.
• Circuit repeats the sequence of states – 00,
01, 11, 10 when input alternates between 0
and 1.
• The internal state changes immediately after
a change in input.
• Total state = internal state + input = y1y2x
• Stable total states for circuit -
000,011,110,101
• For a state to be stable, secondary variable
must match excitation variable (Y must be
same as y=y1y2).
Analysis Procedure
Transition table
• Secondary variable – present states, Excitation variable – next states
Analysis Procedure
Flow table
• Representing the states by letter symbols without referring their binary values
a=00,
This table is called a
b=01, Primitive flow table because
c=11, it has only one stable state in
each row.
d=10
Race condition
• A race condition is said to exist in an asynchronous sequential circuit when two or more binary
state variables change value in response to a change in an input variable.
• When unequal delays are encountered, a race condition may cause the state variable to change
in an unpredictable manner. A race condition can cause the sequential circuit to enter an invalid
state.
• Example: Change of state variable from 00 to 11. Race condition: 00->01->11 or 00->10->11
• Noncritical race: When the stable state the circuit reaches does not depend on the order in
which the state variable changes
• Critical race: Reaching a different stable state based on the order in which the state variable
changes. Must be avoided.
• Races can be avoided by directing the circuit through intermediate unstable states with a unique
state variable change.
Race condition
Changing input x from 0 to 1
Cycle
• Races can be avoided by directing the circuit through intermediate unstable states with a unique
state-variable change.
• When a circuit goes through a unique sequence of unstable states, it is said to have a cycle.
Unstable circuit
For input = 11, no stable state
State reduction
• The state-reduction procedure for completely specified
state tables is based on an algorithm that combines two
states in a state table into one, as long as they can be
shown to be equivalent.
• Two states are equivalent if, for each possible input, they
give exactly the same output and go to the same next
states or to equivalent next states.
• The transition from a to c must now go through d, with the result that the binary variables
change from a = 00 to d = 10, to c = 11, thus avoiding a critical race.
• This is accomplished by changing row a, column 11 to d and row d, column 11, to c.
• Similarly, the transition from c to a is shown to go through unstable state d even though
column 00 represents a noncritical race .
21BMC204J (Dr.Nijisha Shajil) 28
Unit 4: Asynchronous Sequential Systems
Hazard
• In designing asynchronous sequential circuits, care must be taken to conform with
certain restrictions and precautions to ensure that the circuits operate properly.
• The circuit must be operated in fundamental mode with only one input changing at any
time and must be free of critical races.
• In addition, there is one more phenomenon, called a hazard, that may cause the circuit
to malfunction.
• Hazards are unwanted switching transients that may appear at the output of a
circuit because different paths exhibit different propagation delays.
• Hazards occur in combinational circuits, where they may cause a temporary false output
value.
• When they occur in asynchronous sequential circuits, hazards may result in a transition
to a wrong stable state.
21BMC204J (Dr.Nijisha Shajil) 29
Unit 4: Asynchronous Sequential Systems
Y = x1x2+x2’x3
Essential Hazard
• This type of hazard is caused by unequal delays along two or more paths that originate from the
same input.
• An excessive delay through an inverter circuit in comparison to the delay associated with the
feedback path may cause such a hazard.
• Essential hazards cannot be corrected by adding redundant gates as in static hazards. The
problem that they impose can be corrected by adjusting the amount of delay in the affected
path.
• To avoid essential hazards, each feedback loop must be handled with individual care to ensure
that the delay in the feedback path is long enough compared with delays of other signals that
originate from the input terminals.
• This problem tends to be specialized, as it depends on the particular circuit used and the size of
the delays that are encountered in its various paths.