Hi,
Sometimes when I read threads about communication via SPI or similar interfaces ...it seems that the posters think that one needs specisl SPI interfaces (or code, or IP) for different SPI ICs.
Usually you can use the same SPI VHDL code for ADCs, DACs, memories, PLLs...
Usually the PLD manufacturer or the software manufacturer provide this code. They usually come with a good description..
I don't recommend "unreliable" code you find by a random search in the internet.
Use a reliable code, then ...
* You just need to use the correct setup (SPI clock frequency, SPI mode..)
* and you need to send/receive the correct data.
Klaus