- Added Debounce timer to toplevel.
- Still problems with state machine in motor controller. I suspect it is because of changing clock domains between the i2c master and the motor controller.
- Moved out motor controller test in own file.
- Renamed motor controller test
- Corrected implementation. Simulation is now correct (last argument was lost). Also converted to two-process state machine form.