Slide 9 - Asynchronous Sequential Circuits

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

Asynchronous Input

  • input changes at any time,

  • eg pushbutton inputs, output driven by a circuit with a different clock

  • Problems

    • propagation delay can cause signals to be interpreted as different values in different parts of the circuit

    • Asynchronous input may violate setup and hold times of flip flop

2
New cards

Synchronized Input

  • change occur after active clock edge

3
New cards

Synchronizing Inputs Idea

  • put asynchronous input x, through a synchronizer

  • if they were connected directly, propagation delays could cause Q1 and Q2 to have different latch value

<ul><li><p>put asynchronous input x, through a synchronizer</p></li><li><p>if they were connected directly, propagation delays could cause Q1 and Q2 to have different latch value</p></li></ul><p></p>
4
New cards

Metastability and Synchronizer

  • when FF set up times and hold times are violated for synchronizer

  • Flip flop may enter metastable state, where logic value is neither 1 or 0

  • will eventually resettle to either 1 or 0 after time

  • only way to guaranteed way to recover is to reset the entire circuit

5
New cards

Reducing Metastability Problems in Synchronizer

  • use faster FF with smaller Set up times and hold times

    • reducing the vulnerable time window

  • Lengthening the system clock period, or sampling the input at a lower frequency (reduces number of vulnerable time windows)

  • Using a 2 bit shift register as synchronizer, if first FF is metastable state, will usually settle by the time it gets to the next active clock edge

    • introduced a delay of one clock period on input

<ul><li><p>use faster FF with smaller Set up times and hold times</p><ul><li><p>reducing the vulnerable time window</p></li></ul></li><li><p>Lengthening the system clock period, or sampling the input at a lower frequency (reduces number of vulnerable time windows)</p></li><li><p>Using a 2 bit shift register as synchronizer, if first FF is metastable state, will usually settle by the time it gets to the next active clock edge</p><ul><li><p>introduced a delay of one clock period on input</p></li></ul></li></ul><p></p>
6
New cards

A/S sequential Circuits

  • general model; inputs and current state are used by combinational circuits to compute outputs and next state

  • after time delay, ∆, the next state becomes the current state

  • for a synchronous circuit, ∆=clck period

    • Synchronous circuits assume that input do not change to close to active clock edge

  • for a asynchronous circuit ∆=total propagation delay

    • Assume;

    • only 1 input changes at a time

    • input changes occur sufficiently far apart to allow the circuit to reach a stable state before the next change

    • Stable state is a state the asynchronous circuit will stay in once reached, until another input changes

<ul><li><p>general model; inputs and current state are used by combinational circuits to compute outputs and next state</p></li><li><p>after time delay, ∆, the next state becomes the current state</p></li><li><p>for a synchronous circuit, ∆=clck period</p><ul><li><p>Synchronous circuits assume that input do not change to close to active clock edge</p></li></ul></li><li><p>for a asynchronous circuit ∆=total propagation delay</p><ul><li><p>Assume;</p></li><li><p>only 1 input changes at a time</p></li><li><p>input changes occur sufficiently far apart to allow the circuit to reach a stable state before the next change</p></li><li><p>Stable state is a state the asynchronous circuit will stay in once reached, until another input changes</p></li></ul></li></ul><p></p>
7
New cards

Advantages of Asynchronous Sequential Circuits

  • Speed; no clock involved, speed only depends on propagation delays

  • Flexibility: different parts of an asynchronous system can operate at different speeds, but in a synchronous system, the clk frequency has to accommodate slowest part

  • Power Usage; distributing clock signal to all parts adds to power usage up to 30-40%, for a high performance circuit

8
New cards

Disadvantages of Asynchronous Sequential Circuits

  • Design complexity; difficult to design, and limited tool support

  • Glitches; race conditions, glitches can cause problems if circuits not carefully design

9
New cards

Flow Table

  • state table of an Asynchronous circuit

  • a state in a state table is stable for particular set of inputs when the next state = current state

  • the state is unstable, we circle them in the flow table

10
New cards

Excitation Table

  • state assgigned table of a Asynchronous Circuits

11
New cards

S-R latch as a Asynchronous Circuit

  • cut the feedback loop and insert a delay elements

  • creates a time delay of ∆ (equal to the combined propagation delay of the two NOR gates)

  • treat the NOR gates as ideal, no delay

  • let y be the input, Y be the next state

  • after delay of ∆ y is assigned value of Y

<ul><li><p>cut the feedback loop and insert a delay elements</p></li><li><p>creates a time delay of ∆ (equal to the combined propagation delay of the two NOR gates)</p></li><li><p>treat the NOR gates as ideal, no delay</p></li><li><p>let y be the input, Y be the next state</p></li><li><p>after delay of ∆  y is assigned value of Y</p></li></ul><p></p>
12
New cards

Excitation Table for SR latch as an Asynch Sequential

knowt flashcard image
13
New cards

ASYNCHRONOU CIRCUITS HAVE NO RESET

14
New cards
<p>Dp this Example</p>

Dp this Example

<p></p>
15
New cards

Race Conditions

  • when two bits of the presents state change during the next state

  • requires both buts to change at the same time, but because the circuit is not ideal it won’t

  • correct outcome depends on which variable changes first

  • to prevent treat state variable like inputs to circuits, allow only one to change a time )grey code)

16
New cards

Hazards

  • In a asynchronous sequential circuit, you want to avoid glitches on signals

  • a glitch is when a signal temporarily takes on the wrong value

17
New cards

Static Hazards

when a signal is NOT supposed to change it’s value, but momentarily does

  • change to input often has more than one propagation to an output

  • when one path has a longer prop. delay we may find static hazard

  • Examine k-maps, when two adjacent 1 (0) are not covered by the same term, there may be hazard

<p>when a signal is NOT supposed to change it’s value, but momentarily does</p><ul><li><p>change to input often has more than one propagation to an output </p></li><li><p>when one path has a longer prop. delay we may find static hazard</p></li><li><p>Examine k-maps, when two adjacent 1 (0) are not covered by the same term, there may be hazard</p></li></ul><p></p>
18
New cards

Dynamic Hazard

when a signal is supposed to change value, but there is a small oscillation

  • you can’t have a dynamic hazard, without static hazard

<p>when a signal is supposed to change value, but there is a small oscillation</p><ul><li><p>you can’t have a dynamic hazard, without static hazard</p></li></ul><p></p>
19
New cards

Prove Static Hazard

  • Analyze like normal circuit, ignoring the fedback

  • K-map will show it might have hazard, and where to look for hazard

  • must draw a timing diagram with delay to show existence

20
New cards

Dynamic Hazards

  • caused by a circuit with more than two levels, where changes to an input have more than one path to propagate along

  • to avoid dynamic hazards, design two-level circuit with no static hazards