Synthesis of SSCs
The opposite of analysis.
Procedure
- Devise a state diagram
- Derive a state table and reduce states if possible
- Perform state assignment to get an state assigned table
- Obtain the next-state and output expressions
Example
- The circuit has one input
and one output - All changes in the circuit occur at the positive edge of a clock signal
- The output
is equal to 1 if during two immediately preceding clock cycles, the input was equal to 1.
Otherwise, the outputis equal to 0.
Clock cycle | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
w: | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
z: | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 |
- Node A represents the starting state and it is also the state of the circuit will reach after an input
is applied - Node B represents the state after the first
- Node C represents the state after all subsequent
- Let
, , and be represented as , , and respectively (arbitrarily) - Let
and be the next-state variables
Where
Using K-maps (or by inspection), we can write
Circuit Block Diagram
DFF Based Circuit Diagram
Improved State Assignment
This time, let
Again with K-maps (or by inspection), we can write
Circuit Diagram from Improved State Assignment
Logic expressions:
Example
- The circuit has one input
and one output - The output
is equal to 1 if during immediately preceding clock cycle, and current clock cycle, the input was equal to 1.
Otherwise, the outputis equal to 0.
Clock cycle | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
w: | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
z: | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
Unlike the Moore machine, since the output depends on the current state and present input, the outputs must be shown on the arcs, not the nodes.
Circuit Diagram