SK_VA
Occasional Contributor
5 years agoSPI Slave Timing Constraints
Hi,
I have an SPI slave implemented in FPGA with input SCLK clock ranging between 10-20MHz.
I have added two flop synchronizer for all SPI input signals CS,SCLK,MOSI before using them in the Slave logic.The two flop synchroniser operates at a very high frequency of 100MHz.
I saw in one of the altera forum posts that SPI slave where all the inputs are synchronized with a double register-chain doesn't need to be constrained.
But if I set them as false path how does the fitter know the timing relation between SCLK,MISO and MOSI. Do we need to consider SPI as a source synchronous interface?
How to estimate the setup and clock to output timing of this interface?