Using the SPI Flash Interface
The internal SPI flash is 16 Mbits and can store up to 2 bitstreams and user data.
If you want to use the internal SPI flash to store user data, you need to add the SPI flash block to your interface design. Simply add the block, choose the resource, and specify the instance and pin names. Then, connect the pins to your user design. Use the SPI flash interface block to communicate with the SPI flash in user mode.
Important: You do not need to use the SPI flash interface
block if you are only using the internal SPI flash for storing bitstreams.
The following table lists the SPI flash interface and the internal SPI flash memory signals with the default resource assignments.
Important: Do not toggle the CCK pin when any LVDS TX is
used.
| SPI Flash Interface Signal | SPI Flash Signal | Q100F3 Package Resource Assignment |
|---|---|---|
| SCLK | SCK | GPIOL_01_CCK |
| MOSI | SI | GPIOL_08_CDI0 |
| MISO | SO | GPIOL_09_CDI1 |
| WP_N | WP# | GPIOL_12_CDI2 |
| HOLD_N | HOLD# | GPIOL_13_CDI3 |
| CS_N | – | GPIOL_00_SS_N |
| - | CS# | SPI_CS_N |