Sequential Circuits
- Asynchronous Sequential Circuits
- Sequential Circuits
- Storage Elements
- Synchronous Sequential Circuits
Circuits that rely on past signals are known as sequential circuits
Sequential circuits have 'memory', or storage elements, that can store logic values, which define the state of the sequential circuit.
- Synchronous: behaviour can change only at discrete instances in time
- Asynchronous: behaviour can change at any instance in time
Clock
A clock signal is used to change the circuit behaviour at discrete instances in time:
Similar to physics, we have the period, which is the time duration of one cycle
Circuit Specification
Examples: Synchronous Sequential Circuits#Moore Machine, Synchronous Sequential Circuits#Mealy Machine
State Diagram
- A state diagram is a directed graph, consisting of nodes and arcs
- Nodes represent circuit states
- Arcs represent transitions between states
State Table (Transition Table, Flow Table)
A state table (aka transition table) describes the behaviour of a sequential circuit in tabular form
Excitation Table (State Assigned Table)
A state table with the states labelled as numbers rather than letters
An excitation table shows the minimum inputs that are necessary to generate a particular next state (i.e to "excite" it to the next state 😏) when the current state is known.
Excitation table for a D flip-flop:
One-Hot State Assignment
State assignment using the same number of state variables as there are states, with only one variable being
Equivalent and Compatible States
Equivalent States
Two states are said to be equivalent if the following are true:
- For each input, the states give the exact same output
- For each input, the states give the same or equivalent next state
Compatible States
(Only applicable to ASCs?)
Two states
That is,
- Both
and must have the same output - For each input valuation, one of the following conditions must be true:
- Both
and have the same successor, OR - Both
and are stable, OR - The successor of at least one of
or is unspecified
- Both
Moore Machine
The output (Z) depends only on the current state
In a Moore machine, the output changes synchronously with the clock (at the clock edges)
Examples: Synchronous Sequential Circuits#Moore Machine, Asynchronous Sequential Circuits#Moore Machine
Mealy Machine
The output (Z) depends on the current state and the input.
In a Mealy machine, the output changes asynchronously with the clock (i.e output can change at any time)
Examples: Synchronous Sequential Circuits#Mealy Machine, Asynchronous Sequential Circuits#Mealy Machine