soc/cores/spi/SPIMaster: rewrite/simplify.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 20 Jul 2020 08:36:35 +0000 (10:36 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 20 Jul 2020 08:44:18 +0000 (10:44 +0200)
commit100aa5a4ca4aa9809af1764bdbf6cd6b090456bc
tree102cb07f14dacb08373224874a938ffb49950234
parent63c19ff45fa3421d2affd1b987d6a92112a78710
soc/cores/spi/SPIMaster: rewrite/simplify.
- Make sure MOSI is latched on start, MISO is stable during Xfer (last value).
- Allow clk_divider down to 2.
- improve test errors reporting with hex() on AssertEqual.
litex/soc/cores/spi.py
test/test_spi.py