What is activity controled by?
The input variables
What changes the internal state?
a change in the input
When is a state unstable?
If it has no sling
What indicates a stable state in a flow table?
circle round it, shows it can be detected by oscilloscope
Why do problems arise with the logic in feedback paths?
different time delays within different parts of the logic. Cause a glitch which will make the machine jump to another stable but unwanted state
Do all the bits change at the same time?
What is a zero-hot code?
000000
What is a one-hot code?
000001
What is a two-hot code?
000011
Why would you reduce the number of implicants?
Most devices have a limited number of OR gates
What happens if all the inputs change at the same time?
The machine will fail
What are the three race hazards?
1) Static
2) Dynamic
3) Essential
What is a static race hazard?
What is a dynamic race hazard?
What is an essential race hazard?
What are the steps in asynchronous (and synchronous) FSM design stages?
1) Moore model state diagram
2) flow table
3) iterate round the previous stages
4) determine number of required states
5) code assignment
6) redraw state diagram
7) Inert dummy states if needed
8) Transition table
9) extraction of conical transition equations
10) extraction of prime implication (minimises race hazards)
11) implement
What is the golden rule?
- output appear with states
If there are N inputs, how many equivalent transitions are there leaving every state?
2^N
Can you have 2 of the same transitions leaving the state?
No, only 1
Why is it unlikely to have the same condition looping around states?
Would lead to rapid oscillation between states
What are truth tables good/bad for?
- bad for multi-input multi-output systems
What is Sum of products?
What is product of sums?
- there are 2^N maxterms
What is the difference between a state table and a flow table?
STATE TABLE
-used to represent every transition in a synchronous finite state machine
-Transitions are implied on clock edges.
-same number of rows as states and the number of destination columns is two to the power of the number of inputs.
FLOW TABLE
-used to represent every transition in an asynchronous finite state machine
-transitions occur on input signal levels so the state is always ‘flowing’ from source-to-destination