Please refer to AN 84868. Here is the link:
This app note will help you to configure FPGA over SPI but we are using dedicated SPI block present on FX3. What do you mean by custom SPI. Are you going to implement it using bit banging method?
Thanks & Regards