- #1
ineedmunchies
- 45
- 0
Homework Statement
Homework Equations
There aren't really any relevant equations.
The Attempt at a Solution
Ok so I just want to see if my idea for the state diagram seems ok, I'm going to give it in table form here but its the same info.
Code:
F | Bk | A | B | C | D
--------------------------------------
0 | 0 | A | B | C | D
0 | 1 | D | A | A | D
1 | 0 | B | C | C | A
The F is the forward button, the Bk the back button. A is the stop state, B is the forward state 1, C is the forward state 2, D is the backward state. I then put this into a state diagram with the 3 possible changes/inputs for each state. However should I have included the clock and the reset button in this? So that there would be 16 possible inputs?
P.S. I am not concerned about the VHDL problem at the moment although I may ask for help with it at another date.