This is a brief description of two SPI Controllers (Master and Slave)
completely described in VHDL, and tested for correct operation.
GitHub repository with all the source code and tests descriptions:
https://github.com/eigenpi/SPI-Controller-in-VHDL