Synthesis of ASCs
The opposite of analysis.
Procedure
- Devise a state diagram
- Derive a flow table and reduce states if possible
- Perform state assignment to get an excitation table
- Obtain the next-state and output expressions
Example - Serial Parity Generator
- The system has an input
and an output - When pulses are applied to
: - The output
is equal to if the number of previously applied pulses is even - The output
is equal to if the number of previously applied pulses is odd
- The output
Assume a Moore machine.
Devising a state diagram:
- Let
be the state that indicated that an even number of pulses were received - State
produces output as long as , so it is stable at
- State
- When the next pulse arrives (
), we move to the next state which we will call - State
produces output as long as , so it is stable at
- State
- Next, the pulse ends (
), we move to another state - State
produces output as long as , so it is stable at
- State
- When the next pulse arrives (
), we move to another state - State
produces output as long as , so it is stable at
- State
- When the pulse ends (
), we move back to state
Now we need to do some state assignments. If we tried
Better state assignment:
We can write:
We arrive at the circuit: