I am trying to implement a binary nueral net on fpga by sending the image data from raspi to spartan 6. I was searching for a way to do the same adopting spi protocol but couldn’t find much information. Can anyone assist me implement SPI or a similar communication protocol that suits the application.