Titanium About the SPI Flash Memory

Important: You cannot enable the Titanium FPGA security features when using compressed bitstreams.

In SPI active configuration mode, the FPGA is configured using a bitstream stored in the SPI flash device. During configuration, the maximum clock frequency for the flash device is specified in SPI Active Mode. When the FPGA is in user mode, you can access the flash at the flash device's maximum clock frequency (although different SPI flash commands may have different maximum clock frequencies).

Note: Refer to the data sheet for the connections between the FPGAand the SPI flash device inside the package.
Important: The SPI flash memory's VCC is connected to . If you are using the SPI flash memory, drive the with a 1.8 V supply.
Table 1. SPI Flash Memory Signals (Interface to FPGA Fabric)
SPI Name Signal Direction Description
SCLK SCLK_OUT Input Clock output from FPGA CCK pin to SPI flash memory.
SCLK_OE Input Output enable. Required for multiple controller.
MOSI MOSI_IN Output Required for ×2 or ×4 data width.
MOSI_OUT Input Data output from FPGA CDI0 to SPI flash memory.
MOSI_OE Input Output enable. Required for ×2 data width, ×4 data width, or multiple controller.
MISO MISO_IN Output Data input to FPGA CDI1 from SPI flash memory.
MISO_OUT Input Required for ×2 or ×4 data width.
MISO_OE Input Output enable. Required for ×2 or ×4 data width.
WP_N WP_N_IN Output Required for ×4 data width.
WP_N_OUT Input Data output from FPGA CDI2 pin to SPI flash memory.
WP_N_OE Input Output enable. Required for ×4 data width or multiple controller.
HOLD_N HOLD_N_IN Output Required for ×4 data width.
HOLD_N_OUT Input Data output from FPGA CDI3 pin to SPI flash memory
HOLD_N_OE Input Output enable. Required for ×4 data width or multiple controller.
CS_N CS_N_OUT Input Chip select output from FPGA SSL_N pin to SPI flash memory.
CS_N_OE Input Output enable. Required for multiple controller.
CLK CLK Input Required for register interface.
To program the SPI flash memory, use one of these modes:
  • SPI Active using JTAG Bridge mode
  • SPI Active mode
Notice: Refer to the AN 033: Configuring Titanium FPGAs for information on programming the SPI flash memory.

You can also write a new bitstream to the SPI flash memory by controlling the SPI signals with an external controller. In this case, the CRESET_N signal should stay low and the FPGA remains in reset mode, even though you stored a new bitstream in the SPI flash memory. To enable this mode, turn on Configuration > External Flash Control > Enable external controller acccess to flash memory in the Interface Designer.

Table 2. SPI Flash Interface Designer Settings
Option Choices Notes
Instance Name User defined
SPI Flash Resource SPI_FLASH0 Only one resource available.
Enable Register Interface 0, 1 Default: 0 (Disable)
Read/Write Width ×1, ×2, ×4 Default: ×1
Enable Multiple Controller 0, 1 Default: 0 (Disable)
Pin names (various) User defined Specify the interface pin names.