Finite State Machines
With this project, we began Unit 4, Controlling Real world Systems, and we did so by creating a state machine to model the logic and flow of our phone numbers. We were told to make a state graph for the last four digits of our phone number. My digits to use were 2500. so at first there was some confusion as to whether I had three or four states, but I figured it out; I had to use four states. My state graph, truth tables and simulation are shown above.
Conclusion:
1. If a design required eight states, the design would require three state variables. This is because it only takes three binary digits for a possible eight combinations.
2. A design that requires sixteen states would need 4 state variables.
The relation is as follows: # States <= 2^(# state variables) .
3. The simplified expressions are never a function of the enable input because no matter what the enable input is, it must show a value.
4. Three advantages of a programmable logic design over a traditional discrete logic design are as follows:
-The design is more flexible: changing a number in our design wouldn't require too many changes.
-The design is easily modular.
-The design immediately becomes synchronous.
1. If a design required eight states, the design would require three state variables. This is because it only takes three binary digits for a possible eight combinations.
2. A design that requires sixteen states would need 4 state variables.
The relation is as follows: # States <= 2^(# state variables) .
3. The simplified expressions are never a function of the enable input because no matter what the enable input is, it must show a value.
4. Three advantages of a programmable logic design over a traditional discrete logic design are as follows:
-The design is more flexible: changing a number in our design wouldn't require too many changes.
-The design is easily modular.
-The design immediately becomes synchronous.