~ruther/vhdl-spi

vhdl-spi/testbench/tb_spi_transmit.vhd -rw-r--r-- 3.8 KiB
85f97d01 — František Boháček 1 year, 10 months ago
feat: simplify spi_transmit, send data without delay

The transmit entity did contain a lot of states that
were dependent on each other, it was simply too chaotic.

The entity is rewritten to have only one important state variable
with few different states.

There were also changes to change the bit output on falling edge
rather than rising edge to comply with t_su and t_hold of the
device on the other end.

The entity now also sends data right away on the first clock cycle,
that did not work before. It may also align to send only every WIDTH
bits, to be in sync with the spi_recv if used together.
b25bef3a — František Boháček 1 year, 10 months ago
tests: add tests for spi recv and transmit
0e7950c7 — František Boháček 1 year, 10 months ago
fixup! feat: add shift registers
be420a44 — František Boháček 1 year, 10 months ago
feat: add shift registers
Do not follow this link