Forum Discussion
KhaiChein_Y_Intel
Regular Contributor
6 years agoHi,
Here is the example of constraining the SPI: https://fpgawiki.intel.com/wiki/Constrain_SPI_Core
Thanks.
- JMasi6 years ago
New Contributor
Thank you, I had once looked at the above link. That is not my exact situation. In my case, the clock is generated in the raspberry pi and delivered to the FPGA. The FPGA is acting as a slave in my design. SCLK needs constraining in the FPGA. In the above link, the FPGA is acting a master. In the above link, they used create_generated_clock to define the spi clock. I do not think that is the right command when the clock is generated in the raspberry pi. I suspect I need to use a virtual clock for this case, please elaborate how to constrain the SPI click in the FPGA. Lets assume that the spi clock is 1 MHz, when data is sent.