SPI Interface

Anyone have a SPI Interface VHDL code that I can use as a platform to code/modify to interface with an A/D chip?