Merge remote-tracking branch 'jan/master'
spi: fix miso
spi: complete bit
Removed division by 4.
Merge branch 'master' of github.com:rainerlego/legocar
- Fixed errors in spi and its test bench.
- Moved motor controller.
- Correctly implemented SPI. First 8 bits sent to master from SPI controller can are always zero.
- Fixed some bugs in motor controller (busy_count was not being reset)
- Added toplevel file for programming the FPGA
- Added test bench for toplevel.
Merge remote-tracking branch 'jan/master'
Added raspi to  fpga spi  interface
- Fixed some bugs in the busy/enabled/reset_n handling logic of the motor controller.
- 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.
Merge remote-tracking branch 'jan/master'
raspi: spi
double