AN 033: Configuring Titanium FPGAs
About Configuring Titanium FPGAs
This document describes how to configure Titanium™ FPGAs. These FPGAs contain volatile Configuration RAM (CRAM) that you must configure with the desired logic function (via a bitstream) upon power-up and before the core enters normal operation. The Efinity® software generates the bitstream, which is design dependent.
Bitstream Size
The bitstream size is dependent on the FPGA you choose and the configuration parameters you set in the Efinity software.
| FPGA | Maximum Supported Configuration Bits (Single Image) | Packages |
|---|---|---|
| Ti35 | 13,735,488 | All |
| Ti60 | 13,735,488 | All |
| Ti85 | 38,440,704 | All |
| Ti90 | 50,096,640 | All |
| Ti120 | 50,096,640 | All |
| Ti135 | 38,440,704 | All |
| Ti165 | 105,994,048 | All |
| Ti180 | 50,096,640 | All |
| Ti240 | 105,994,048 | All |
| Ti375 | 105,994,048 | All |
The Efinity software automatically compresses the bitstream; therefore, the bitstream size for a typical design should be about 50% of the maximum size shown.
Bitstream Size for Multiple Images
The following table shows the approximate flash size required for one to four images with and without compression.
| Number of Images | Ti35, Ti60 | Ti85, Ti135 | Ti90, Ti120, Ti180 | Ti165, Ti240, Ti375 | ||||
|---|---|---|---|---|---|---|---|---|
| Uncomp. Maximum (Mbits) | Comp. Typical (Mbits) | Uncomp. Maximum (Mbits) | Comp. Typical (Mbits) | Uncomp. Maximum (Mbits) | Comp. Typical (Mbits) | Uncomp. Maximum (Mbits) | Comp. Typical (Mbits) | |
| 1 | 14 | 8 | 38 | 19 | 50 | 25 | 106 | 64 |
| 2 | 28 | 16 | 76 | 38 | 100 | 50 | 212 | 128 |
| 3 | 42 | 24 | 114 | 57 | 150 | 75 | 318 | 192 |
| 4 | 56 | 32 | 152 | 76 | 200 | 100 | 424 | 256 |
Configuration Time
The FPGA configuration time depends on the frequency and data bus width. To estimate the configuration time for a given FPGA, use the following equation:
- Ti60 FPGA—Assuming 8.85 Mbits of compressed configuration data:
- Configuration clock frequency—10 MHz
- Ti60 configuration data bus width—8 bits1
Configuration time: 8.85 Mbits ÷ (10MHz × 8 bits) = 110.625 ms
Planning Your Device Pinout
The configuration mode you choose affects your design's pinout. You should decide which mode you will use and plan for it before performing floorplanning or pin selection for your logic design.
Active and passive configuration modes use multi-function pins during configuration. When configuration completes, these multi-function pins are available for general use. JTAG configuration uses dedicated configuration pins that cannot be used for other functions. Additionally, the configuration mode you choose can affect the voltage restrictions for the I/O bank that contains the configuration pins.
Efinix® recommends that you:
- Choose the configuration mode(s). Consider the primary configuration mode as well as configuration modes you may need for debugging or future updates.
- Find the pin and the bank locations for the configuration mode(s).
- Understand how you use these pins and any restrictions when using multi-function
configuration pins as standard I/O pins. For example, consider internal and
external pull-ups or pull-downs, connections to external devices, etc. Note: In some situations, you may want to use a multi-function configuration pin as an output pin in user mode. If the pin is driven by an external device during configuration, the source that drives this pin during configuration must be tri-stated before the device enters user mode and user logic begins driving it. Otherwise, the drivers can be in contention, and can damage the pin.
- For each set of configuration pins, determine the common required I/O voltage support for the required configuration bank. You can only use compatible I/O standards elsewhere in that bank.
Other Factors to Consider
Although configuration is typically a one-time event independent of device operation, your configuration choices can affect your design options. Make configuration decisions early in the design cycle to eliminate challenges later:
- Do you need to support JTAG configuration for debugging purposes?
- How can you provide easy access to the configuration control and status pins for debugging?
- What multi-function pins are you using in your logic design and are they active during configuration? If they are, check for conflicts with other uses of these pins.
Additionally, you should:
- Provide quality signal integrity for key signals during PCB layout, including the configuration clock (even though configuration can operate at a low frequency).
- Understand the configuration sequence to reduce configuration time.
- Generate the configuration bitstream for your FPGA using Efinity tools.
Configuration Pins
- Dedicated pins cannot be used as general purpose I/O.
- During configuration, use dual-purpose pins as described in this document for the configuration mode you are using. After configuration (in user mode), you can use these pins as general-purpose I/O.
| Pins | Direction | Description | External Weak Pull Up/Pull Down Requirement |
|---|---|---|---|
| CDONE | I/O | Configuration done status pin. CDONE is an open drain output; connect it to an external pull-up resistor to VCCIO. When CDONE = 1, the configuration is complete and the FPGA enters user mode. You can hold CDONE low and release it to synchronize the FPGAs entering user mode. | Pull up |
| CRESET_N | Input | Active-low FPGA reset and
re-configuration trigger. Pulse CRESET_N low for a duration of
tcreset_N before releasing CRESET_N from low to high
to initiate FPGA re-configuration. This pin does not perform a
system reset. |
Pull up |
| TCK | Input | JTAG test clock input (TCK). The rising edge loads signals applied at the TAP input pins (TMS and TDI). The falling edge clocks out signals through the TAP TDO pin. | Pull up |
| TMS | Input | JTAG test mode select input (TMS). The I/O sequence on this input controls the test logic operation . The signal value typically changes on the falling edge of TCK. TMS is typically a weak pull-up; when it is not driven by an external source, the test logic perceives a logic 1. | Pull up |
| TDI | Input | JTAG test data input (TDI). Data applied at this serial input is fed into the instruction register or into a test data register depending on the sequence previously applied at TMS. Typically, the signal applied at TDI changes state following the falling edge of TCK while the registers shift in the value received on the rising edge. Like TMS, TDI is typically a weak pull-up; when it is not driven from an external source, the test logic perceives a logic 1. | Pull up |
| TDO | Output | JTAG test data output (TDO). This serial output from the test logic is fed from the instruction register or a test data register depending on the sequence previously applied at TMS. The shift out content is based on the issued instruction. The signal driven through TDO changes state following the falling edge of TCK. When data is not being shifted through the device, TDO is set to an inactive drive state (e.g., high-impedance). | Pull up |
| JTAG_VCCIO_SEL | Input | JTAG voltage select pin. This pin affects the voltage for the
bank in which it is located, or any banks merged with
it. Supply VCCIO33_<bank name> with 1.8 V and
connect a 1 kΩ external resistor between this pin and ground to use
JTAG at 1.8 V. Leave this pin floating to use the default
JTAG at 3.3 V or 2.5 V.
For Ti85 and Ti135
FPGAs the JTAG_VCCIO_SEL bank is BR1.
For Ti165,
Ti240, and Ti375
FPGAs the JTAG_VCCIO_SEL bank is BR4.
|
Floating or pull down |
| Configuration Functions | Direction | Description | External Weak Pull Up/Pull Down Requirement |
|---|---|---|---|
| CBSEL[1:0] | Input | Multi-image configuration selection pin. This function is not
applicable to single-image bitstream configuration or internal
reconfiguration (remote update). Connect CBSEL[1:0] to the external
resistors for the image you want to use: 00 for image
1 01 for image 2 10 for image 3 11
for image 4 0: Connect to an external weak pull
down. 1: Connect to an external weak pull
up. |
Pull up or pull down |
| CCK | I/O | Passive SPI input configuration clock or active SPI output configuration clock. | Optional pull up if required by external load |
| CDIn | I/O | Data input for SPI configuration. n is a number from 0 to 31
depending on the SPI configuration data width. CDI0 is an output in
x1 active configuration mode and is a bidirectional pin in all other
active configuration modes. CDI4 is a bidirectional pin in
x8 active configuration mode. In a multi-bit daisy chain
connection, CDI[31:0] connects to the data bus in
parallel. |
Optional pull up if required by external load |
| CSI | Input | Chip select. 0: The FPGA is not selected or
enabled and will not be configured.
1: Select the FPGA for
all
configuration modes.
Ti35, Ti60
FPGAs require this
setting for JTAG configuration mode.
FPGAs require this setting
for JTAG configuration mode.
This pin is not bonded out in some of the
smaller packages, such as the F100S3F2 and F100.
CSI must remain high throughout configuration. |
Pull up |
| CSO | Output | Chip select output. Asserted after configuration is complete. Connect
this pin to the chip select pin of the next FPGA
for daisy chain configuration.3
This pin is not bonded out in some of the smaller packages, such as
the F100S3F2 and F100.
|
– |
| NSTATUS | Output |
Indicates a configuration error. When the FPGA drives this pin
low, it indicates either an device mismatch or a failed bitstream
CRC check.
|
– |
| SSL_N | I/O |
SPI configuration mode select. The FPGA senses the value of
SSL_N when it comes out of reset (i.e., CRESET_N transitions from
low to high).
0: Passive mode; connect to external weak pull down.
1: Active mode; connect to external weak pull up.
In active configuration mode, SSL_N is an active-low chip select to
the flash device (CDI0 - CDI3).
|
Pull up or pull down |
| SSU_N | Output | Active-low chip select to the upper flash device (CDI4 - CDI17) in
active x8 configuration mode (dual quad mode).
Not available in W64, V64, F100S3F2, or F100 packages.
|
Optional pull up if required by external load |
| EXT_CONFIG_CLK | Input | Alternative clock in active configuration mode. | Optional pull up if required by external load |
| TEST_N | Input | Active-low test mode enable signal. Set to 1 to disable test
mode. During all configuration modes, rely on the external weak
pull-up or drive this pin high. |
Pull up |
FPGA Configuration Modes
Titanium™ FPGAs have dedicated configuration pins. You select the configuration mode by setting the appropriate condition on the input configuration pins. Titanium™ FPGAs support the following configuration modes.
| Mode | Description |
|---|---|
| SPI Active (serial/parallel) | The FPGA loads the bitstream itself from non-volatile SPI flash memory. |
| SPI Passive (serial/parallel) | An external microprocessor or microcontroller sends the bitstream to the FPGA using the SPI interface. |
| JTAG | A host computer sends instructions through a download cable to the FPGA's JTAG interface using JTAG instructions. |
Selecting the Configuration Mode
- Select the configuration mode by setting the appropriate condition on the
SSL_NandTEST_Ninput pins. (TheSSU_Npin can be any value.) - Do not toggle the mode pins before the FPGA enters user mode.
| Configuration Mode | CSI | TEST_N | SSL_N |
|---|---|---|---|
| SPI Active | 1 | 1 | 1 |
| SPI Passive | 1 | 1 | 0 |
| JTAG | 1 | 1 | N/A |
The JTAG/boundary-scan configuration interface is always available regardless of pin settings. If you send configuration instructions to the JTAG interface, the Titanium FPGA overwrites the previous configuration.
The supported configuration modes are specific to the FPGA and package. Refer to the data sheet for information on the supported configuration modes.
About SPI Clocking and Sampling
| Mode | Clock | Sampling Edge |
|---|---|---|
| Passive | The CCK clock comes from an external device | Positive |
| Active | The FPGA generates the CCK clock | User configurable, the default is positive. You can change
this setting in the Efinity
tab. |
The microprocessor or microcontroller can set the SPI clock polarity (CPOL bit) and the clock phase (CPHA bit) when the interface is idle, which results in four modes, depending on how you set these bits. Use Mode 3 in your microprocessor or microcontroller when programming the FPGA.
| Mode | Clock Polarity when Idle | Data Sampled On | Data Shifted On |
|---|---|---|---|
| 0 | Low | Rising edge | Falling edge |
| 1 | Low | Falling edge | Rising edge |
| 2 | High | Falling edge | Rising edge |
| 3 | High | Rising edge | Falling edge |
Efinix uses Mode 3 for SPI passive mode, which is CPOL bit = 1 and CPHA bit =1 for all Titanium FPGA devices.
SPI Active Mode
In active mode, the FPGA loads configuration data itself
from a configuration bitstream that typically resides in non-volatile memory on the
same board. Active modes can be serial or parallel. The FPGA internally generates the
configuration clock signal (CCK) and controls configuration by
sending a clock or addresses to the flash memory.
The active SPI configuration mode supports low pin count, industry-standard external SPI flash devices to store the bitstream. The FPGA supports a direct connection to the flash device's four-pin SPI interface. Active SPI configuration mode can read from standard 1-bit serial SPI flash devices as well as from flash devices that support x2 and x4 fast output read operations. These modes are proportionally faster than the standard 1-bit SPI interface.
For even faster loading times, Titanium FPGAs also support a x8 mode that uses two identical SPI flash devices.
| Instruction | Description | SPI Data Width |
|---|---|---|
| 0BH | Fast read | x1 |
| 3BH | Dual output fast read | x2 |
| 6BH | Quad output fast read, single flash device | x4 |
| Quad output fast read, two flash devices | x8 |
Connection Examples
CRESET_N pin to meet the
tCRESET_N requirement.Timing
SSL_N is externally pulled up, the FPGA enters active SPI
configuration mode. Then, the FPGA: - Starts configuration by driving
SSL_Nlow to wake up the external SPI flash. - Issues a release from power-down instruction to wake up the external SPI
flash by driving the
CDI0pin. - Waits for at least 30
μs. - Issues a fast read command to read the content of SPI flash from address 24h’000000 or 32h’00000000. See SPI Flash Address Width.
- Optional: When configuration completes, the FPGA issues a deep power-down instruction to force the external SPI flash to enter into a deep power-down state.
Refer to SPI Active Clocking and Using an External Configuration Clock for more details on clocking.
SPI Active Mode for SIP Packages
- For F100S3F2 package, you can ONLY start SPI active configuration with this internal SPI flash. However, you can still cascade an external SPI flash by sharing the SPI bus to increase the storage capacity for user data in your application.
- For N576D2F4 packages, you can still use an external SPI flash to store the configuration bitstreams.
Depending on the setup, you must observe the following pin connection requirements in addition to the connections shown in Connection Examples.
| Device | SPI Active (Internal Flash) | SPI Passive | SPI Flash Cascading on same SPI Bus | 4-Byte Addressing | Number of Storable Images |
|---|---|---|---|---|---|
| Ti35F100S3F2, Ti60F100S3F2 | x4 | x2 | Not Supported | Not Supported | 2 |
| Ti135N576D2F4 | x4 | x32 | Supported | Supported | 4 |
F100S3F2 (Ti35 and Ti60) Configuration
This section describes the configuration of Ti35 and Ti60 devices in F100S3F2 packages to take advantage of either internal or external flash.
Configuration with Internal Flash
SPI active configuration for the F100S3F2 requires an internal SPI flash, shown conceptually below.
You use this same connection irrespective of whether you are using SPI active x1, x2, or x4.
Cascading External SPI Flash for User Data Storage
You can cascade an external SPI flash by sharing the SPI bus to increase the storage capacity for user data in your application, shown conceptually below.
To control access to both internal and external SPI flash simultaneously:
- GPIO4 to external SPI flash
CS_B.
N576D2F4 (Ti135) Configuration
You can configure Ti135 devices in N576D2F4 packages to use either internal or external flash, or both in the case of SPI active x8.
Configuration with Internal Flash
For most use cases, Efinix recommends using the internal flash, with FPGA’s in N576D2F4 packages capable of storing up to four configuration images.
If your user data is sufficiently small, after storing any configuration images, you can store your user data in the internal SPI flash without the need to add external SPI flash.
SSL_NtoCS_N.- GPIO5 to SPI flash
CS_N.
- Configuration with internal SPI flash.
Configuration with External Flash (×1, ×2, ×4)
The internal flash of FPGA’s in N576D2F4 packages
supports up to four configuration images. You can also use external flash to store user
data. To setup this external flash, you need to connect the CS_B pin to
a GPIO, shown conceptually below. You create the GPIO in the Interface Designer and
SSL_Nto SPI flashCS_N.- GPIO6 to SPI flash
CS_B.
- Configuration with external SPI flash.
- User data storage in internal SPI flash.
Configuration with SPI Active x8
SSU_N SPI bus channel.SSL_NtoCS_Nof internal SPI flash for lower-half byte access.SSU_NtoCS_Bof external SPI flash for upper-half byte access.
SPI Active Mode without CSI
Titanium™
FPGAs in smaller pin count packages,
such as the F100 and F100S3F2, may not have the
CSI signals bonded out. This pinout limits your programming
options. Without CSI, you cannot use cascade configuration.
CSI are the same as the regular SPI
active schematics except that you do not connect the CSI
signal.SPI Active Clocking
An internal oscillator or external clock generates the clocks the FPGA uses during configuration. In SPI active configuration mode, configuration starts operating at the default frequency (10 MHz) and then switches to the user-selected clock to minimize configuration time (assuming the SPI flash device supports the faster fMAX).
You set the configuration clock frequency in the Efinity® software.
| Clock Source | Divider | Frequency (MHz) (Typical) | Sample On (Default) |
|---|---|---|---|
| Internal Oscillator | DIV8 | 10 | Positive edge |
| Internal Oscillator | DIV4 | 20 | Positive edge |
| Internal Oscillator | DIV2 | 40 | Negative edge |
| Internal Oscillator | DIV1 | 80 | Negative edge |
| External Clock | — | <40 | Positive edge |
| 40 - 125 | Negative edge |
CDONE
does not go high.Using an External Configuration Clock
For SPI active configuration, the FPGA
internally generates the configuration clock signal (CCK) by default.
The FPGA can also use an external clock,
that you send to the FPGA via the external
configuration clock pin. In the pinout file, this pin is listed as
EXT_CONFIG_CLK in the Configuration Functions column.
To use an external configuration clock:
- In the Efinity Project Editor, choose . This change affects the bitstream; therefore, you should re-generate the bitstream when you change this setting.
- Provide a free running clock to the external configurartion clock pin before triggering the reconfiguration.
- When the FPGA enters user mode, you can stop toggling the external configurartion clock pin.
- Change the Project Editor Clock Source option to Internal Oscillator and re-generate the bitstream.
- Pull the FPGA's
SSNpin low to boot the device in SPI passive mode. - Use the Efinity Programmer to program the FPGA using the SPI Active using JTAG Bridge mode (see Program using a JTAG Bridge).
SPI Flash Address Width
| Device | SPI Flash Address Width | |
|---|---|---|
| 24 bit (3-byte Addressing) | 32 bit (4-byte Adressing) | |
| Ti35, Ti60 | - | |
| Ti85, Ti90, Ti120, Ti135, Ti165, Ti180, Ti240, Ti375 | ||
Refer to Project-Based Programming Options for information about enabling 4-byte addressing in the Efinity software.
SPI Passive Mode
In passive mode, the FPGA receives the configuration clock and data from an external active module, such as an external microprocessor or microcontroller. This mode supports a data width of up to 32 bits.
Design considerations are similar to active configuration except CCK
must be driven from an external clock source. Each configuration image contains a
synchronization pattern. When the Titanium™
FPGA detect the synchronization pattern, it begins
configuration. The external active device must supply data continuously on every
clock until configuration ends.
Connection Examples
These examples show SPI passive x1 and x32 modes. .
CS or CLOCK due to firmware
latency.CS of other devices sharing
the same SPI bus.You cannot disable the configuration by driving either SSL_N to high or
CSI to low. You have to complete the bit stream transmission before
communicating with other devices on the same SPI bus. The waveform as shown in Figure 15 results in successful configuration. While the waveform
as shown in Figure 16 results in configuration failure.
| CBUS | Byte Order | Bit Order |
|---|---|---|
| Cycle 1 | Byte 0 | Bit 7 (MSB) |
| Cycle 2 | Bit 6 | |
| Cycle 3 | Bit 5 | |
| Cycle 4 | Bit 4 | |
| Cycle 5 | Bit 3 | |
| Cycle 6 | Bit 2 | |
| Cycle 7 | Bit 1 | |
| Cycle 8 | Bit 0 (LSB) | |
| Cycle 9 | Byte 1 | Bit 7 (MSB) |
| Cycle 10 | Bit 7 | |
| Cycle 11 | Bit 5 | |
| Cycle 12 | Bit 4 | |
| Cycle 13 | Bit 3 | |
| Cycle 14 | Bit 2 | |
| Cycle 15 | Bit 1 | |
| Cycle 16 | Bit 0 (LSB) |
| CBUS | 31 | 24 | 23 | 16 | 15 | 8 | 7 | 0 | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cycle 1 | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | ||||||||||||||||
| Byte 0 | Byte 1 | Byte 2 | Byte 3 | |||||||||||||||||||||
| Cycle 2 | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | ||||||||||||||||
| Byte 4 | Byte 5 | Byte 6 | Byte 7 | |||||||||||||||||||||
| CBUS | 15 | 8 | 7 | 0 | ||||
|---|---|---|---|---|---|---|---|---|
| Cycle 1 | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | ||||
| Byte 0 | Byte 1 | |||||||
| Cycle 2 | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | ||||
| Byte 2 | Byte 3 | |||||||
| Cycle 3 | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | ||||
| Byte 4 | Byte 5 | |||||||
| Cycle 4 | Bit 7 (MSB) | Bit 0 (LSB) | Bit 7 (MSB) | Bit 0 (LSB) | ||||
| Byte 6 | Byte 7 | |||||||
| CBUS | 7 | 0 | ||
|---|---|---|---|---|
| Cycle 1 | Bit 7 (MSB) | Bit 0 (LSB) | ||
| Byte 0 | ||||
| Cycle 2 | Bit 7 (MSB) | Bit 0 (LSB) | ||
| Byte 1 | ||||
| Cycle 3 | Bit 7 (MSB) | Bit 0 (LSB) | ||
| Byte 2 | ||||
| Cycle 4 | Bit 7 (MSB) | Bit 0 (LSB) | ||
| Byte 3 | ||||
| CBUS | Byte Order | 3 | 2 | 1 | 0 | ||||
|---|---|---|---|---|---|---|---|---|---|
| Cycle 1 | Byte 0 | Bit 7 (MSB) | Bit 6 | Bit 5 | Bit 4 | ||||
| Cycle 2 | Bit 3 | Bit 2 | Bit 1 | Bit 0 (LSB) | |||||
| Cycle 3 | Byte 1 | Bit 7 (MSB) | Bit 6 | Bit 5 | Bit 4 | ||||
| Cycle 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 (LSB) | |||||
| CBUS | Byte Order | 1 | 0 | ||
|---|---|---|---|---|---|
| Cycle 1 | Byte 0 | Bit 7 (MSB) | Bit 6 | ||
| Cycle 2 | Bit 5 | Bit 4 | |||
| Cycle 3 | Bit 3 | Bit 2 | |||
| Cycle 4 | Bit 1 | Bit 0 (LSB) | |||
| Cycle 5 | Byte 1 | Bit 7 (MSB) | Bit 6 | ||
| Cycle 6 | Bit 5 | Bit 4 | |||
| Cycle 7 | Bit 3 | Bit 2 | |||
| Cycle 8 | Bit 1 | Bit 0 (LSB) | |||
Timing
The microprocessor or microcontroller supplies the configuration clock and controls
the reset signal. The microprocessor or microcontroller must hold CRESET_N low for a duration of tCRESET_N and then release it to start the SPI
passive configuration. After tDMIN, the Titanium™
FPGA samples the synchronization pattern and begins
configuration.
- Refer to Figure 11 for the supported waveform.
- The waveform shows the perspective from the control block without any optional external pull-up or pull-down resistors connected.
- CDI input data is clocked by
CCK. To prevent configuration failure,CCKmust stop toggling if the bitstream data becomes invalid. You must resume with the next bitstream data before stopping to continue the configuration. CSImust stay high during configuration.- It is recommended that
SSL_Nremain low during configuration. Sometimes, however, an SPI Master might release theSSL_Nto high during firmware latency. Refer to Figure 11 for the supported waveform. - Efinix does not recommend connecting multiple slaves on the same SPI bus to prevent signal contention.
- Refer to the data sheet for timing specifications.
SPI Passive Mode without CSI
CSI
signal bonded out. This pinout limits your programming
options.- Without
CSI, you cannot use cascade configuration.
The schematics for programming without CSI are
the same as the regular SPI active schematics except that you do not connect the
CSI signal.
JTAG Mode
The JTAG serial configuration mode is popular for prototyping and board testing. The four-pin JTAG boundary-scan interface is commonly available on board testers and debugging hardware.
Efinix FPGAs support IEEE standard 1149.1 - 2001.
| Instruction | Binary Code [4:0] | Description |
|---|---|---|
| BYPASS | 11111 | Enables BYPASS. |
| DEVICE_STATUS | 01100 | Lets you read the device configuration status. |
| EFUSE_PREWRITE | 11000 | Loads user data for fuse operations. |
| EFUSE_USER_WRITE | 11010 | Blows fuses as defined in EFUSE_PREWRITE. |
| EFUSE_WRITE_STATUS | 11011 | Returns status of EFUSE_USER_WRITE operation. |
| ENTERUSER | 00111 | Changes the FPGA into user mode. |
| EXTEST | 00000 | Enables the boundary-scan EXTEST operation. |
| IDCODE | 00011 | Enables shifting out the IDCODE. |
| INTEST | 00001 | Enables the boundary-scan INTEST operation. |
| JTAG_USER1 | 01000 | Connects the JTAG User TAP 1. |
| JTAG_USER2 | 01001 | Connects the JTAG User TAP 2. |
| JTAG_USER3 | 01010 | Connects the JTAG User TAP 3. |
| JTAG_USER4 | 01011 | Connects the JTAG User TAP 4. |
| PROGRAM | 00100 | JTAG configuration. |
| SAMPLE/PRELOAD | 00010 | Enables the boundary-scan SAMPLE/PRELOAD operation. |
| USERCODE | 01101 | Use this instruction to program a 32-bit signature into the FPGA during programming. |
BYPASS, DEVICES_STATUS,
IDCODE, and USERCODE.The CRESET_N signal needs to be deasserted before
JTAG configuration begins. When configuration ends, the JTAG host issues the
ENTERUSER instruction to the FPGA. After
CDONE goes high and the FPGA receives
the ENTERUSER instruction, the FPGA waits
for tUSER to elapse, and then it goes into user mode.
1.8 V JTAG Support
The JTAG_VCCIO_SEL function is a dedicated JTAG
voltage setting pin. This setting also affects the
BRx
bank voltage or any banks that merged with the
BRx
bank. For
devices Ti85, Ti135, and Ti165, x = 1. For Ti240 and Ti375, x = 4.
| Ti35 | Ti60 | Ti85 | Ti90 | Ti120 | Ti135 | Ti165 | Ti180 | Ti240 | Ti375 |
|---|---|---|---|---|---|---|---|---|---|
| – | – | – | – | – |
JTAG_VCCIO_SEL, TCK runs at a lower maximum
frequency at VCCIO 1.8V. Refer to the Titanium data sheets in the Documentation page of the Support Center for the
JTAG timing.VCCIO33_BRx
with 1.8 V and connect an external resistor between the
JTAG_VCCIO_SEL pin and ground to use JTAG at 1.8 V.Supply
VCCIO33_BRx
with 2.5, 3.0, or 3.3 V and leave the JTAG_VCCIO_SEL pin floating
or connect it to an external pull-up resistor to use the default JTAG at 2.5, 3.0,
or 3.3 V.
Design Considerations
- Because the
TCKandTMSsignals connect devices in the JTAG chain, they must have good signal quality. TCKshould transition monotonically at the receiving devices and should be terminated correctly. PoorTCKquality can limit the maximum frequency you can use for configuration.- Buffer
TMSandTCKso they have sufficient drive strength at all receiving devices. - Ensure that the logic high voltage is compatible with all devices in the JTAG chain.
- If your chain contains devices from diffferent vendors, you might need to
drive optional JTAG signals, such as
TRSTand enables.
Using FPGA, MCU, and SPI Flash Devices Together
Most applications include some combination of FPGA, MCU, and SPI flash in the system design. How you connect the FPGA, MCU, and SPI flash determines the configuration mode and the configuration sequence.
MCU with Separate SPI Bus Connections
- FPGA images are stored in the SPI flash, allowing the MCU to configure the FPGA in SPI passive mode.
- In user mode, the MCU sends user data from the SPI flash to the FPGA.
FPGA with Separate SPI Bus Connections
SSL_N, CCK,
CDI0, CDI1, CDI2, and
CDI3 pins are connected to the SPI flash; GPIO pins connect to the
MCU.- You use the SPI flash to store configuration images and application user data.
- In SPI active mode, the FPGA reads the configuration image from the SPI flash.
SSL_N, CCK, CDI0,
CDI1, CDI2, and CDI3 pins are
connected to the MCU; GPIO pins connect to SPI flash.- Use SPI flash for storing application data.
- This system only supports SPI passive mode through the MCU.
Shared SPI Bus Connections
In the idle state, the SPI master disables the bus by setting the /CS
pin to high-impedance with an external pull-up, holding the signal high. In this
configuration, the flash and MCU share the FPGA’s SPI bus,
defaulting to SPI active mode after power up.
The state of the SSL_N pin when CRESET_N is triggered determines the
configuration mode.
If you have an off-chip MCU, the configuration advice is the same as an006.html#concept_xxk_lwc_cdb__fig_arc_q3w_mqb with an SPI header.
Flash Programming Modes
The following table shows the methods you can use to program the configuration bitstream into the flash device on your board. Although you can program the flash directly using the SPI interface, this method requires that you have a SPI header on your board or use an FDTI chip. Therefore, Efinix recommends that you use a JTAG bridge, because that method only requires a JTAG header, which you would typically have on your board for other purposes.
| Mode | Description |
|---|---|
| SPI Active (serial/parallel) | Use the Efinity Programmer and a cable connected to a SPI header on the board. |
| SPI Active using JTAG Bridge (New) | A improved version of the SPI Active using JTAG Bridge (Legacy) mode with a faster flash programming time. |
| SPI Active x8 using JTAG Bridge (New) | A improved version of the SPI Active x8 using JTAG Bridge (Legacy) mode with a faster flash programming time. |
| SRP1 | SRP2 | /WP | Status Register | Description |
|---|---|---|---|---|
| 0 | 0 | X | Software Protection | /WP pin has no control. Following a Write Enable instruction, the status register is writable, WEL=1. |
| 0 | 1 | 0 | Hardware Protected | When /WP is low, the status register is locked and is unwritable. |
| 0 | 1 | 1 | Hardware Unprotected | When /WP is high, the status register is unlocked. A Write Enable instruction will make the status register writable, WEL=1. |
| 1 | 0 | X | Power Supply Lock-Down | The status register is locked and cannot be written to again until the next power-up cycle. |
| 1 | 1 | X | One Time Program | The status register is permanently protected. |
Flash Programming Using Microcontroller
After JTAG has been disabled, you can program the internal SPI flash through the SPI bus with a microprocessor.
- Drive
CRESET_Nlow - Drive
CS/SSL_Nlow - Begin programming the internal flash.
Power Sequence
Power Up Configuration Circuitry Recommendation
You can use one of the following methods to hold the CRESET_N pin of the
Titanium™ FPGA low after the power supplies are stable:
- Supervisor integrated circuit (IC)
- Microprocessor or microcontroller
Supervisor IC Circuitry Example
Assuming that the VCCIO1A is the last power supply to be stable in the system, the
supervisor IC must hold the CRESET_N pin low for a duration of
tRP (reset timeout period) after the VCCIO1A reaches the stable
threshold.
Ensure that the tRP of the selected supervisor IC is more than the required tCRESET_N. Refer to the supervisor IC vendor for the recommended operating circuitry.
MR pin of the supervisor IC.Microprocessor or Microcontroller Circuitry Example
The microprocessor or microcontroller must hold the CRESET_N pin low
more than the required tCRESET_N duration.
Configuration Sequence
The Titanium™ FPGA configuration logic uses the following sequence during configuration:
- When
CRESET_Nreturns high (logic 1) after being held low (logic 0), the FPGA samples the logical value on itsSSL_Npin. Like other programmable I/O pins, theSSL_Npin has an internal pull-up resistor.Notice: Refer to the Titanium™ data sheet for the pulse width requirements ofCRESET_N. - If the
SSL_Npin is sampled as a logic 1 (high), the FPGA configures using the SPI active configuration interface. - If the
SSL_Npin is sampled as a logic 0 (low), the FPGA waits to be configured from an external controller or from another FPGA in SPI active configuration mode using an SPI-like interface.
Support for Multiple Images
When powered up in SPI active mode, the Titanium™ FPGA defaults to the first valid image it finds searching from address 0. If you enable the multi-image feature, you can optionally choose from three other images.
During multi-image configuration, the Titanium™
FPGA monitors the CBSEL[1:0] pin logic
value when configuration or reconfiguration begins to determine which bitstream
image to use. Then, it loads the corresponding image starting from the address
specified in the bitstream option bits by sending out a fast read instruction
followed by the address.
For multi-image configuration, the Efinity® software saves the images to the bitstream file with no configuration bits between images by default.
24'h000000 address as Titanium™
FPGAs always start searching for a valid bit stream from the
24'h000000 address.CBSEL[1:0] for the image you want to use:00for image 101for image 210for image 311for image 4
During configuration, the FPGA initially searches for a
valid image starting at the memory location 0x0000_0000 in the SPI
flash. It then proceeds to read the memory location based on the
CBSEL[1:0] setting. If no valid image is found at that memory
location, the FPGA continues to search in ascending
order until it locates a valid image. For example, if CBSEL[1:0] is
set to 11 and the SPI flash only contains valid images for
00 and 01, the FPGA will load the image from 00. The following table describes valid
and invalid images.
| Image Details | Note |
|---|---|
| Valid image | Configuration performs as expected. |
| Invalid image | FPGA The FPGA cannot recognize a valid image at the targeted SPI Flash address. It continues to search in ascending address and configure with the next valid image if any. |
| Corrupted image | Image is recognized, but the FPGA
fails in configuration with CDONE =
0 and NSTATUS = 0 to indicate
a device mismatch or CRC error. |
CBSEL[1:0] pins. Refer to AN 010: Using the Internal Reconfiguration Feature to Update Efinix FPGAs Remotely for details on
this feature.Configuring Multiple FPGAs
- FPGAs that use the same configuration file can be loaded at the same time.
- FPGAs that use different configuration files (images) can be loaded sequentially, either through Titanium™ FPGAs in a daisy chain, or using external logic.
For daisy chain configurations, the Efinity® software includes 2,048 configuration bits between images in the bitstream file.
CSI signal bonded out (such as the F100 and F100S3F2).Daisy Chaining with a SPI Flash Device
In a daisy chain, the FPGA closest to the configuration data source is the most upstream FPGA and the FPGA furthest from the source is the most downstream FPGA. The most upstream FPGA typically provides the configuration clock. All other FPGAs are in passive serial mode.
Daisy Chaining with a Microcontroller or Microprocessor
A microcontroller or microprocesser can configure FPGAs in a daisy chain with a single cascaded bitstream file. All FPGAs must be in passive mode.
Resistors in Configuration Circuitry
Alternatively, you can calculate your own pull-up or pull-down resistance, RUSER, shown in the following sections.
User-Defined Pull-Up Resistor Values
- RUSER = User-defined pull-up resistance
- RCPU = Combined pull-up resistance
- RIPU = Internal weak pull-up resistance
The combined pull-up resistance, RCPU, can be derived using the following formula:
- VT+ = Schmitt Trigger low-to-high threshold
- VCCIO = I/O bank power supply
- RIPD = Internal weak pull-down resistance
User-Defined Pull-Down Resistor Values
- RUSER = User-defined pull-down resistance
- RCPD = Combined pull-down resistance
- RIPD = Internal weak pull-down resistance
The combined pull-down resistance, RCPD, can be derived using the following formula:
- VT- = Schmitt Trigger high-to-low threshold
- VCCIO = I/O bank power supply
- RIPU = Internal weak pull-up resistance
Configuration Timing
Titanium FPGA configuration timing is process dependent. The following tables show the timing parameters for the various configuration modes.
| Symbol | Parameter |
|---|---|
| tCRESET_N | Minimum CRESET_N low pulse width required to trigger re-configuration. |
| tUSER | Minimum configuration duration after CDONE goes high before entering user
mode.78 Test condition at 10 kΩ pull-up resistance
and 10 pF output loading on CDONE pin. |
| Symbol | Parameter |
|---|---|
| fMAX_M | Active mode internal configuration clock frequency. |
| fMAX_M_EXTCLK | Active mode external configuration clock frequency. |
| tSU | Setup time. Test condition at 1.8 V I/O standard and 0 pF output loading. |
| tH | Hold time. Test condition at 1.8 V I/O standard and 0 pF output loading. |
| Symbol | Parameter |
|---|---|
| fMAX_S | Passive mode configuration clock frequency. |
| tCLKH | Configuration clock pulse width high. |
| tCLKL | Configuration clock pulse width low. |
| tSU | Setup time. |
| tH | Hold time. |
| tDMIN | Minimum time between deassertion of CRESET_N to first valid configuration data. |
| Symbol | Parameter |
|---|---|
| fTCK | TCK frequency. |
| tTDISU | TDI setup time. |
| tTDIH | TDI hold time. |
| tTMSSU | TMS setup time. |
| tTMSH | TMS hold time. |
| tTCKTDO | TCK falling edge to TDO output. |
Selecting the Right SPI Flash Device
Titanium™ FPGAs support an SPI flash memory interface for active mode configuration. Use these guidelines to help choose the correct flash device for your Titanium™ FPGA.
- Configuration Bits—Ensure that your chosen flash device has enough bits
to store the configuration bitstream.
- Single image—Find the configuration bits a single image uses (refer to Table 1).
- Multiple images—Find the configuration bits a single image uses (refer to Table 1). Multiply the number of bits times the number of images to determine the total bits required to store the full bitstream.
- Daisy chain—Use the formula (i × b) + (2048 × (i - 1)) where i is the number of images and b is the configuration bits for each image. For example, a daisy chain of three Ti60 FPGAs uses (3 × 13,686,496) + (2,048 × (3 - 1)) = 41,063,584 bits.
- Configuration Bus Width—Determine the supported configuration bus width for the SPI flash device in Supported Configuration Modes section of the Titanium FPGA Data Sheets in the Documentation page of the Support Center.
- SPI Clock Frequency—Ensure that your SPI flash device supports a clock frequency that is higher than the SPI active configuration clock frequency as described in Table 10.
- Required Voltage—Make sure the voltage your SPI flash device requires is the same as the FPGA I/O bank voltage.
- Temperature Range—Check that the SPI flash device's temperature range is compatible with the operating temperature as described in the FPGA data sheet.
Flash Memory Support
Efinix has tested a number of third-party flash devices to determine their compatibility with Efinix FPGAs. The following sections provide an overview of tested flash devices, as well as the commands required to perform read and write actions on the flash memory.
Verified Flash Devices
The following table lists third-party flash devices tested and verified by Efinix. Unverified flash devices may still be compatible with your FPGA. Refer to the list of Supporting Commands in AN 070: Understanding SPI Flash Operations in SIP Devices to determine whether your flash device will work with your FPGA.
| Manufacturer | Family Part Number |
|---|---|
| GigaDevice9 | GD25Q, GD25WQ, and GD25LQ |
| Macronix | MX25L, MX25U, MX25V, MX75L, and MX75U |
| Puya Semiconductor | P25Q |
| Winbond | W25Q |
| Micron | M25P and MT25Q |
| XTX | XT25F |
| Atmel (Adesto Technologies) | AT25SF |
| ISSI | IS25LP128 and IS25WP512M |
Supported Commands
Use the commands in the following table to perform flash device operations (e.g., read, write). Memory access supports 24-bit addressing, with byte addresses assigned via the address frame. The first byte on the frame is at the address [23:16], followed by address [15:8], and with the last byte at address [7:0]. All serial input and output timing frames for standard SPI commands rely on x1 mode timing.
For dual SPI commands, some serial input/output timings rely on x2 mode timing. Pins
SPI_MOSI and SPI_MISO are used for either serial
input or output. SPI_WP and SPI_HOLD pin functions are
available.
For quad SPI commands, some serial input /output timings rely on x4 mode timing.
SPI_MOSI, SPI_MISO, SPI_WP and
SPI_HOLD are used for either serial input or output. The QE bit of
the status registers must be set to 1 before issuing any quad SPI commands. Also, be
aware the functions of the SPI_WP and SPI_HOLD pins
are unavailable while the QE bit is set to 1.
| Commands | Description | Value / Number of Bytes (Mode) | ||||
|---|---|---|---|---|---|---|
| Op Code (Command) | Address | Dummy | Data Input | Data Output | ||
| Status Register | ||||||
| Read Status Register | Read Status Register Bit S7 – S0 | 05h (x1) |
S7 – S0 (x1) |
|||
| Read Status Register-1 | Read Status Register Bit S15 – S8 | 35h (x1) |
S15 – S8 (x1) |
|||
| Read Configure Register-2 | Read Status Register Bit S23 – S16 | 15h (x1) |
S23 – S16 (x1) |
|||
| Write Status Register | Write to Status Register Bits S7 – S0 | 01h (x1) |
S7 – S0 (x1) |
|||
| Write Status Register-1 | Write to Status Register Bits S15 – S8 | 31h (x1) |
S15 – S8 (x1) |
|||
| Write Configure Register-2 | Write to Status Register Bits S23 – S16 | 11h (x1) |
S23 – S16 (x1) |
|||
| Read | ||||||
| Read Array | n Bytes Read Until CS# Goes High | 03h (x1) |
3 (x1) |
1+ (x1) |
||
| Read Array (Fast) | n Bytes Read Until CS# Goes High | 0Bh (x1) |
3 (x1) |
1 (x1) |
1+ (x1) |
|
| Read Manufacturer/Device ID | Output JEDEC ID: 1-Byte Manufacturer ID 2-Byte Device
ID |
9Fh (x1) |
1 – 3 (x1) |
|||
| Read Manufacture ID | Read Manufacturer ID (Odd Address) and Device ID (Even Address) | 90h (x1) |
3 (x1) |
1+ (x1) |
||
| Erase/Program | ||||||
| Page Erase | Erase Selected Page | 81h (x1) |
3 (x1) |
|||
| Sector Erase (4K Bytes) | Erase Selected Sector | 20h (x1) |
3 (x1) |
|||
| Block Erase (32K Bytes) | Erase Selected 32K Block | 52h (x1) |
3 (x1) |
|||
| Block Erase (64K Bytes) | Erase Selected 64K Block | D8h (x1) |
3 (x1) |
|||
| Chip Erase | Erase Whole Chip | 60h/C7h (x1) |
||||
| Page Program | Program Selected Page | 02h (x1) |
3 (x1) |
1 – 256 (x1) |
||
| Program/Erase Suspend | Suspend Program/erase Operation | 75h (x1) |
||||
| Program/Erase Resume | Suspend Program/Erase Operation | 7Ah (x1) |
||||
| Protection | ||||||
| Write Enable | Sets Write Enable Latch Bit S1 WEL = 1 | 06h (x1) |
||||
| Write Disable | Resets Write Enable Latch Bit S1 WEL = 0 | 04h (x1) |
||||
| Volatile SR Write Enable | Write Enable for Volatile SR | 50h (x1) |
||||
| Individual Block Lock | Individual Block Lock | 36h (x1) |
3 (x1) |
|||
| Individual Block Unlock | Individual Block Lock | 39h (x1) |
3 (x1) |
|||
| Read Block Lock Status | Read Individual Block Lock Register | 3Dh (x1) |
3 (x1) |
1+ (x1) |
||
| Global Block Lock | Whole Chip Block Protect | 7Eh (x1) |
||||
| Global Block Unlock | Whole Chip Block Unprotect | 98h (x1) |
||||
| Security | ||||||
| Erase Security Registers | Erase Security Registers | 44h (x1) |
3 (x1) |
|||
| Program Security Registers | Program Security Registers | 42h (x1) |
3 (x1) |
1+ (x1) |
||
| Read Security Registers | Read Value of Security Registers | 48h (x1) |
3 (x1) |
1+ (x1) |
||
| Others (Standard SPI) | ||||||
| Reset Enable | Enable Reset | 66h (x1) |
||||
| Reset | Enable Reset | 99h (x1) |
||||
| Deep Power Down | Enters Deep Power-Down Mode | B9h (x1) |
||||
| Release Deep Power - Down/ Read Electronic ID
|
Read Eelectronic ID Data | Abh (x1) |
3 (x1) |
1 (x1) |
||
| Read SFDP | Read SFDP Parameter (SFDP is a JEDEC Standard, JESD216B) | 5Ah (x1) |
3 (x1) |
1 (x1) |
1+ (x1) |
|
| Commands | Description | Value / Number of Bytes (Mode) | ||||
|---|---|---|---|---|---|---|
| Op Code (Command) | Address | Dummy | Data Input | Data Output | ||
| Read (Dual SPI) | ||||||
| Read Dual Output | n Bytes Read by Dual Output | 3Bh (x1) |
3 (x1) |
1 (x1) |
1+ (x2) |
|
| Read 2IO | n Bytes Read by 2IO | BBh (x1) |
3 (x2) |
1 (x1) |
1+ (x1) |
|
| Dual Read Manufacture ID | Dual Output Manufacture (Odd)/Device ID (Even) | 92h (x1) |
3 (x2) |
1+ (x2) |
||
| Read (QUAD SPI) | ||||||
| Read QUAD Output | n bytes read out by quad output | 6Bh (x1) |
3 (x1) |
1 (x1) |
1+ (x4) |
|
| Read 4IO | n Bytes Read by 4IO | Ebh (x1) |
3 (x4) |
3 (x4) |
1+ (x4) |
|
| Read Word 4IO | n Bytes Word Read by 4IO | E7h (x1) |
3 (x4) |
1 (x4) |
1+ (x4) |
|
| Quad Read Manufacture ID | Quad Output Manufacture (Odd)/Device ID (Even Address) | 94h (x1) |
3 (x4) |
1+ (x4) |
||
| Erase / Program (QUAD SPI) | ||||||
| Quad Page Program | Quad Input to Program Selected Page | 32h (x1) |
3 (x1) |
1 – 256 (x4) |
||
Connecting Programming Hardware
You can program Efinix FPGA or the SPI flash using FTDI Mini Modules. This section describes the hardware connections required. See Using the Efinity Programmer for instructions about SPI and JTAG programming using the Efinity® Programmer.
Supported Download Hardware
| Manufacturer | Type | Part Number |
|---|---|---|
| FTDI | Dual Channel | FT2232 |
| Quad Channel | FT4232 | |
| Single Channel | FT232L | |
| Centron | Single Channel | Efinix Download Cable II |
SPI Programming Connections
The following figure illustrates the connection required when programming the SPI flash with FTDI FT2232H and FT4232H Mini-Module.
JTAG Programming Connections
Efinix does not recommend using the FTDI cable C232HM-DDHSL-0 for JTAG programming due to the possibility of the FPGA not being recognized or the potential for programming failures.
When programming Titanium FPGAs with a JTAG Mini Module, use this connection:
Using the Efinity Programmer
The Efinity® software has a Programmer you use to configure Titanium™ FPGAs. You can run the Programmer using the GUI or with the command line.
Generate a Bitstream (Programming) File
When you run the automated flow, the software automatically generates bitstream files that you can use to configure your target device. You can also generate the bitstream files manually. To generate bitstream files from the command line, use the following command:
Generate a Bitstream File from the Command Line
> efx_run.py <project name>.xml --flow pgm
> efx_run.bat <project name>.xml --flow pgm
- .hex file as <project name>.hex. Use this file to program in SPI active or passive mode.
- .bit file as <project name>.bit. Use this file for JTAG programming.
The bitstream file includes programming options you set for your project (e.g., to initialize user memory or set configuration mode). If you change these options you must regenerate the bitstream file. See Project-Based Programming Options.
Working with Bitstreams
You can use the Efinity Programmer to manipulate a bitstream before programming an FPGA or flash device.
Edit the Bitstream Header
About this task
You can use the Programmer to edit the bitstream header information, for example, to add project or revision information. To edit the header:
Procedure
- In the Programmer, choose or click the toolbar icon to open the Edit Image Header dialog box. The window shows the default header information.
- Edit the header.
- Click Save.
Results
Device: <name>), the
Programmer may not be able to recognize the bitstream. Efinix
recommends that you only append a small amount of information to the auto-generated
data if you want to customize or annotate the header. The header can be a maximum of
256 characters, including the auto-generated text.Device: <name>
string.Bitstream Compression
When you generate a bitstream for Titanium FPGAs, the Efinity® software compresses the bitstream by default. This compression results in a bitstream size that is about half of the maximum size.
Export to Raw Binary Format
- Open the Programmer.
- Select the bitstream file.
- Click Export.
- Specify the filename.
- Click Save.
You can also convert the file to .bin at the command line as described in Convert to Intel Hex Format at the Command Line.
Export to .svf Format
- Open the Programmer.
- Select a bitstream file.
- Click Export.
- Specify the filename.
- Choose Serial Vector Format (*.svf) as the Files of type.
- Click Save.
Convert to Intel Hex Format at the Command Line
You can convert a bitstream file to Intel Hex and other formats at the command line using this command:
export_bitstream.py [--help] [--family FAMILY] [--idcode IDCODE] [--freq FREQ]
[--sdr_size SDR_SIZE] [--tir_length TIR_LENGTH] [--hir_length HIR_LENGTH]
[--tdr_length TDR_LENGTH] [--hdr_length HDR_LENGTH] [--enter_user_mode {on, off}]
format input_file output_file
| Argument | Input | Description |
|---|---|---|
| format | hex_to_bin, hex_to_intelhex, bin_to_hex, intelhex_to_hex, hex_to_svf | Conversion type. |
| input_file | Filename | Image file source. |
| output_file | Filename | Image file destination. |
| Option (Long) | Option (Short) | Input | Description |
|---|---|---|---|
| --help | -h | None | Show help. |
| --family | N/A | Family name | Device family (SVF only) |
| --idcode | N/A | Identification code | JTAG IDCODE (SVF only). |
| --freq | N/A | Number | JTAG frequency (SVF only). |
| --sdr_size | N/A | Number | Approximate JTAG shift_dr size before cycling to
idle state (SVF only). |
| --tir_length | N/A | Number | JTAG bypass trailer instruction register length (SVF only). |
| --hir_length | N/A | Number | JTAG bypass header instruction register length (SVF only). |
| --tdr_length | N/A | Number | JTAG bypass header data register length (SVF only). |
| --enter_user_mode | N/A | on, off | Enter user mode after JTAG configuration (SVF only). |
The following example shows conversion of the bitstream hex file to bin format:
Converting Hex to Bin
%EFINITY_HOME%\bin\python3
%EFINITY_HOME%\pgm\bin\efx_pgm\export_bitstream.py hex_to_bin new_project.hex test2.bin
Combine Bitstreams and Other Files
You may want to store multiple bitstreams or other data into the same flash device on your board. For example, you can combine files for:
- Multi-image configuration using the
CBSELpins - Internal reconfiguration
- Programming FPGAs in a daisy chain
- Programming a bitstream and other files such as a RISC-V application binary
You use the Combine Multiple Image Files dialog box to choose files to combine into a single file for programming. Choose one of the following modes:
| Mode | Use For | Number of Images | Notes |
|---|---|---|---|
| Selectable Flash Image | Multi-image configuration | Up to 4 | Use this mode if you want the CBSEL pins to control which image the FPGA loads. For this mode, you also need to choose . See Program Multiple Images (CBSEL) |
| Internal reconfiguration | Up to 4 | Use this mode if you want the internal reconfiguration pins to determine which image the FPGA loads. For this mode, you also need to choose . See Program Multiple Images (Internal Reconfiguration) | |
| Daisy Chain | Daisy chains | Any number of JTAG devices including those from other vendors 10. | See Program a Daisy Chain |
| Generic Image Combination | A bitstream and other files | One bitstream and any number of other files | See Program Multiple Images (Bitstream and Data) |
SPI Programming
You can program Efinix FPGAs using the SPI interface and a .hex file.
Program a Single Image
About this task
In single image programming mode, you configure one FPGA with one image.
Procedure
- Click the Select Image File button.
- Browse to the outflow directory and choose <filename>.hex.
- Choose SPI Active or SPI Passive configuration mode.
- Click Start Program. The console displays programming messages.
Program Multiple Images (CBSEL)
About this task
In this programming mode, you specify up to four images that can configure one
FPGA. You then use the FPGA's CBSEL
pins to select which image to use. You can only use active
mode.
Procedure
- Click the Combine Multiple Images button.
- Choose .
- Enter the output file name.
- Choose the output file location. The default is the project's outflow directory.
- Choose . This setting tells the FPGA to use the CBSEL pins.
- Click in the table row corresponding to the position for which you want to add an image.
- Click Add Image.
- Select the image file to place in that location.
- Click OK.
- Repeat steps 6 through 9 as needed. You can add up to four images.
- Click Apply to generate the combined image file.
- Click Close to return to the Programmer, which displays the combined image file as the image to use for programming.
- Click Start Program.
Program Multiple Images (Internal Reconfiguration)
About this task
In this programming mode, you specify up to four images that can configure one FPGA. You then use the FPGA's internal reconfiguration interface to select which image to use. You can only use active mode.
Procedure
Results
Program Multiple Images (Bitstream and Data)
About this task
In this programming mode, you specify one bitstream and one or more data files to combine into a single file for programming. You can only use active mode.
Procedure
Results
Program a Daisy Chain
About this task
In this programming mode, you specify any number of images to configure a daisy chain of FPGAs. You can choose active or passive configuration for first FPGA; the rest are in passive mode.
Procedure
- Click the Combine Multiple Images button.
- Select Daisy Chain as the Mode.
- Enter the output file name.
- Choose the output file location. The default is the project's outflow directory.
- Click Add Image to add a file to the daisy chain.
- Repeat step 5 to add as many files as you want to the chain. Use the up/down arrows to re-order the images if needed.
- Click Apply to generate the combined image file.
- Click Close to return to the Programmer, which displays the combined image file as the image to use for programming.
- Click Start Program.
JTAG Programming
You can program Efinix FPGAs using the JTAG interface and a .bit file.
Titanium Family JTAG Device IDs
The following table lists the Titanium JTAG device IDs.
| FPGA | Package | JTAG Device ID |
|---|---|---|
| Ti35 | All | 0x10661A79 |
| Ti60 | All | 0x10660A79 |
| Ti85 | All | 0x006C2A79 |
| Ti90 | J361, J484, G400, G529 | 0x00691A79 |
| L484 | 0x00688A79 | |
| Ti120 | J361, J484, G400, G529 | 0x00692A79 |
| L484 | 0x0068CA79 | |
| Ti135 | All | 0x006C0A79 |
| Ti165 | All | 0x006A1A79 |
| Ti180 | M484 | 0x00680A79 |
| J361, J484, J484D1, G400, G529 | 0x00690A79 | |
| L484 | 0x00684A79 | |
| Ti240 | All | 0x006A2A79 |
| Ti375 | All | 0x006A0A79 |
Program a Single Image
About this task
In single image programming mode, you configure one FPGA with one image.
Procedure
- Click the Select Image File button.
- Browse to the outflow directory and choose <filename>.bit.
- Choose the JTAG configuration mode.
- Click Start Program. The console displays programming messages.
Program Using a JTAG Chain
About this task
You can program an FPGA that is part of a JTAG chain. The chain can include Titanium™ FPGAs as well as other devices. You define your JTAG chain using a JTAG chain file. You import the JTAG chain file into the Programmer to perform programming. The JTAG chain file is an XML file (.xml) that includes all of the devices in the chain. For example:
<?xml version="1.0"?>
<chain>
<device chip_num="1" id_code="0x10661A79" ir_width="5" istr_code="11000" />
<device chip_num="2" id_code="0x10661A79" ir_width="5" istr_code="11000" />
<device chip_num="3" id_code="0x10661A79" ir_width="5" istr_code="11000" />
</chain>
chip_numis the device order starting from position 1.id_codeis the hexadecimal JEDEC device ID (all lowercase letters)ir_widthis the width of the instruction register in bitsistr_codeis the binary IDCODE instruction
chip_num=”1” as the
first device.istr_code.To program using a JTAG chain:
Procedure
- Create a JTAG Chain File using a text editor.
- Open the Programmer.
- Choose your USB Target and Image.
- Select JTAG as the Programming Mode.
- Click the Import JCF toolbar button.
- Browse to your JTAG Chain File and click Open.
- Select which device you want to program in the drop-down list next to the JTAG Programming Mode option.
- Click Start Program.
Example
Program using a JTAG Bridge
About this task
Programming with a JTAG bridge is a two-step process: first you configure the FPGA to turn it into a flash programmer (.bit) and second you use the FPGA to program the flash device with the bitstream (.hex).
The SPI Active using JTAG Bridge mode (formerly named SPI Active using JTAG Bridge (New)) has pre-built flash loader (.bit) files that you can use. These .bit files do not require an external clock source. You can still use your own .bit file if you choose to do so.
- Single flash .bit files—0x96C09A03
- Dual flash .bit files—0xC07FCFE2
To program using a JTAG bridge:
Procedure
Results
JTAG Programming with FTDI Chip Hardware
About this task
These instructions describe how to program Titanium™ FPGAs using the FTDI Chip FT2232H and FT4232H Mini Modules. Efinix® has tested the hardware for use with Titanium™ FPGAs.
Procedure
- Open the Efinity® software.
- Open the Efinity® Programmer.
- Click the Select Bitstream Image button.
- Browse to your image and click OK.
-
Choose one of the following in the USB Target drop-down
list:
- Dual RS232 HS for FT2232H Mini Module
- FT4232H_MM for FT4232H Mini Module
- Choose JTAG from the Programming Mode drop-down list.
- Click Start Program.
FTDI Programming at the Command Line
The Efinity software includes a Python script you can use for programming FTDI modules at the command line.
ftdi_pgm.py [--help] [--mode MODE] [--output_file OUTPUT_FILE] [--url URL] [--aurl AURL]
[--xml XML] [--num NUM] [--board_profile BOARD_PROFILE] [--address ADDRESS]
[--num_bytes NUM_BYTES] [--burst_size BURST_SIZE] [--jtag_bridge_mode JTAG_BRIDGE_MODE]
[--jtag_clock_freq JTAG_CLOCK_FREQ] [--verify_method VERIFY_METHOD]
[--check_flash_if_supported CHECK_FLASH_IF_SUPPORTED] [--spi_active_freq SPI_ACTIVE_FREQ]
[--spi_passive_freq SPI_PASSIVE_FREQ] [--list_usb] [input_file]
| Argument | Description |
|---|---|
| input_file | HEX file generated from efx_pgm. |
| Option (Long) | Option (Short) | Input | Description |
|---|---|---|---|
| --help | -h | None | Show help. |
| --mode | -m | passive, active, jtag, jtag_chain, erase_flash, read_flash, jtag_bridge, jtag_bridge_x8 | Programming mode. See the Efinity Programmer User Guide. In Efinity software versions prior to
v2025.1, the 11jtag_bridge and
jtag_bridge_new options were named
jtag_bridge_new and
jtag_bridge_x8_new, respectively.To use the JTAG
bridge modes, you must have already configured the with the JTAG SPI
flash loader. The Efinity software v2023.2
and higher includes pre-built flash loader.bit files in <
installation directory>/pgm/fli/<family>. Refer to
the JTAG SPI Flash
Loader Core User Guide for information on using the legacy
flash loader. |
| --output_file | -o | Filename | Output file used for read_flash mode. |
| --url | -u | URL | FTDI URL (see Identifying FTDI URLs). |
| --aurl | -a | URL | Alternative URL (Deprecated). |
| --xml | -x | Filename | XML file for JTAG programming. |
| --num | -n | Number | Chip target number for JTAG chain programming. |
| --board_profile | -b | Generic Board Profile Using FT232, Digilent JTAG-HS3, FireAnt Development Board, Generic Board Profile Using FT2232H, ISX Programming Cable, Titanium Ti180J484 Dev Board, Titanium Ti180M484 Development Kit, Generic Board Profile Using FT4232, JinChen Programming Cable, TJ180A484S Development Kit, Xyloni Development Board, Generic Board Profile Using FT4234HA | Name of the board profile used. |
| --address | N/A | Hex number | Starting flash address for flash read and write operations. |
| --num_bytes | N/A | Number | Number of bytes to erase or read. For modes erase
and read only. |
| --burst_size | N/A | Number | Individual read or write burst size in multiples of 256 bytes. For
legacy JTAG bridge modes only (jtag_bridge and
jtag_bridge_x8). |
| --jtag_bridge_mode | N/A | Erase, write, erase_and_write, read, all, all_no_erase | JTAG bridge programming mode. |
| --jtag_clock_freq | N/A | Number | JTAG clock frequency. |
| --verify_method | N/A | None, onchipx1, onchipx2, onchipx4 | The method used to verify the downloaded bitstream. Default:
onchipx2 (On-chip hash calculation with SPI x2 mode) |
| --check_flash_if_supported | N/A | Hex string | Check if flash is supported using the JEDEC ID hex string (e.g., C84012). |
| --spi_active_freq | N/A | Number | Set SPI active frequency. Default: 6000000 Hz |
| --spi_passive_freq | N/A | Number | Set SPI passive frequency. Default: 3000000 Hz |
| --list_usb | -l | None | List the available USB target's URL. |
Linux Examples
To program in Linux:
- Open a terminal and change to the Efinity® installation directory.
- Type:
source ./bin/setup.shand press enter. - Use the
ftdi_program.pycommand.
Example: Titanium Ti60 F225 Development Board as the only board attached to your computer:
ftdi_program.py <filename>.bit -m jtag
Example: Titanium Ti60 F225 Development Board with serial number FT5ECP6E when another board with an FTDI chip is connected to your computer:
ftdi_program.py <filename>.bit -m jtag --url ftdi://ftdi:4232h:FT5ECP6E/1
--aurl ftdi://ftdi:4232h:FT5ECP6E/1
Windows Examples
To program in Windows:
- Open a command prompt and change to the Efinity® installation directory.
- Type:
.\bin\setup.batand press enter. - Use the
ftdi_program.pycommand.
Example: Titanium Development board as the only board attached to your computer:
%EFINITY_HOME%\bin\python3
\ftdi_program.py <filename>.bit -m jtag
Example: Titanium Ti60 F225 Development Board with serial number FT5ECP6E when another board with an FTDI chip is connected to your computer:
%EFINITY_HOME%\bin\python3
\ftdi_program.py <filename>.bit
-m jtag --url ftdi://ftdi:4232h:FT5ECP6E/1 --aurl ftdi://ftdi:4232h:FT5ECP6E/1
Identifying FTDI URLs
Certain Efinity® scripts contain the --url and
--aurl options, which require the input of an FTDI URL.
--url and
--aurl options if you have more than one board with an FTDI chip
connected to your computer. The FTDI URL is in the format:
ftdi://ftdi:<product>:<serial>/<interface>where:
| <product> | Board |
|---|---|
| 4232h | Titanium Ti60 BGA225 Development
Board Titanium
Ti375C529 Development Board Titanium
Ti375N1156 Development
Board |
| 2232h | Titanium Ti180J484 Development Board |
- If you only have one Efinix® development board or FTDI device connected to your computer, you do not need to specify the serial number.
- In the Efinity® software v2020.2 and higher, the Programmer
displays the serial number of the FTDI device in the USB
Info string. The serial number is a string beginning with
FT.
<interface> is the interface number. For Efinix® development boards, <interface> is always 1.
Programmer Messages
The following section lists warning and error messages that the software may display and explains how to fix them.
| Message | on_program Device is not available |
| Reason | 1. Board not connected or powered off. 2. USB driver is not
installed. |
| To fix | 1. Connect board to host and power on the board. 2. Install USB
driver. |
| Message | USBError(2, 'Entity not found') |
| Reason | USB driver is not installed. |
| To fix | Install USB driver. |
| Message | *Cannot get JTAG url, Please check your board profile configuration*int() argument must be a string, a bytes-like object or a real number, not 'NoneType'--(idcode=None) |
| Reason | USB driver is not installed in interface 1 (JTAG). |
| To fix | Install USB driver for interface 1. |
| Message | ERROR: Incompatible file extension for programming mode, please use .bit file for JTAG programming |
| Reason | JTAG chosen as programming mode but .hex file specified in bitstream file. |
| To fix | Specifiy correct the .bit bitstream file. |
| Message | ERROR: Incompatible file extension for programming mode, please use .hex file for SPI Active programming |
| Reason | SPI Active chosen as programming mode but .bit file specified in bitstream file. |
| To fix | Specifiy correct the .hex bitstream file. |
| Message | ERROR: Incompatible file extension for programming mode, please use .hex file for SPI Passive programming |
| Reason | SPI Passive chosen as programming mode but .bit file specified in bitstream file. |
| To fix | Specifiy correct the .hex bitstream file. |
| Message | ERROR: Incompatible file extension for programming mode, please use .hex file for SPI Active using JTAG Bridge programming |
| Reason | SPI Active using JTAG Bridge chosen as programming mode but .bit file specified in bitstream file. |
| To fix | Specifiy correct the .hex bitstream file. |
| Message | ERROR: Incompatible file extension for programming mode, please use .hex file for SPI Active x8 using JTAG Bridge programming |
| Reason | SPI Active x8 using JTAG Bridge chosen as programming mode but .bit file specified in bitstream file. |
| To fix | Specifiy correct the .hex bitstream file. |
| Message | ERROR: Check board is plugged in, and then click on "Refresh USB Targets" |
| Reason | Board disconnected or powered off during programming. |
| To fix | Reconnect the board and click the refresh button. |
| Message | Image file not found |
| Reason | Bitstream file not loaded. |
| To fix | Load the bitstream file. |
| Message | Failure to configure was detected |
| Reason | Programmer internally failed to enter configuration mode. |
| To fix | Program again. |
| Message | Unable to configuire from flash device. |
| Reason | JTAG state failed to enter USER mode. |
| To fix | Reprogram the bitstream. |
| Message | Unable to determine status of device. |
| Reason | 1. JTAG programming in unknown state; potentially hardware issue. 2. Different width
chosen to program the bitstream file. For example, the bitstream is x1
width but SPI Active x8 is chosen. |
| To fix | 1. Try to reprogram the bitstream. If using C323HM cable, check the
connectivity. 2. Choose the correct width or run the bitgen
again. |
| Message | ERROR: Flash verify unsuccessful... mismatch found |
| Reason | 1.Programmed flash does not match with the selected bitstream.2. The board does not support the selected verify method. |
| To fix | 1. Reprogram the bitstream.2. Select "Normal verify." |
| Message | ERROR: Unable to verify JTAG interface, cannot determine configuration status |
| Reason | JTAG mode used to program the board, but JTAG interface 1 is unstable or the JTAG connection using C2323HM is incorrect or disconnected. |
| To fix | Check the driver for the JTAG interface or check the wire connection. |
| Message | ERROR: Unknown error trying to read flash device, aborting. Aborting flash programmingFtdiProgram error: could not get flash device |
| Reason | Attempted to program the board via SPI Active or SPI Passive while interface 0 (SPI) is disabled. |
| To fix | Check the driver for the SPI interface. If it is unsupported (using C232HM), then it is not possible to program with SPI. |
| Message | FtdiProgram error: Device is in CONFIGURATION_FAIL state instead of user mode after programming JTAG Bridge Image! |
| Reason | Wrong or incomplete JTAG Bridge image specified. |
| To fix | Specify the correct JTAG Bridge image. |
| Message | Unsupported JTAG Bridge version: 0.0. Please choose the latest bundled JTAG Bridge image and then try again., aborting flash programming FtdiProgram error: |
| Reason | Used an older or unsupported version of the flash loader. |
| To fix | Use the supported version of the flash loader. |
| Message | ERROR: JTAG Bridge Image not found. Please specify correct file path.- ERROR: File = "" |
| Reason | JTAG Bridge image not specified when SPI Active using JTAG Bridge is selected as programming mode. |
| To fix | Specify the correct JTAG Bridge image. |
| Message | ERROR: Invalid speed entered, please only input numbers |
| Reason | Invalid character entered for Custom JTAG Clock Speed. |
| To fix | Use a numerical speed value. |
| Message | ERROR: Invalid speed entered, out of range, please enter a number between 1000 and 30,000,000" |
| Reason | Invalid character entered for Custom JTAG Clock Speed. |
| To fix | Use a valid value between 1000 and 30,000,000. |
| Message | ERROR: The FPGA given in the bitstream file does not match the FPGA you are trying to program. Check that you are using the correct bitstream file. |
| Reason | Wrong bitstream file specified for the board in use. |
| To fix | Specify the correct bitstream file. |
| Message | Detected 4Byte flag in bitstream but flash is smaller or equal to 16MiB Aborting flash programmingFtdiProgram error:Detected 4Byte flag in bitstream but flash is smaller or equal to 16MiB |
| Reason | 1. Erase or read flash attempted with a starting flash address greater than the flash
capacity. 2. Erase length specified greater than the flash
capacity. |
| To fix | 1. Specify the correct starting address. 2. Specify the correct length. |
| Message | ERROR: Unable to retrieve flash status Check board is plugged in, and then click on ""Refresh USB Targets"" Unrecognized Flash device. Will use Generic Flash profile. Please contact support if you face any problem. |
| Reason | Programmed bistream contains an incorrect or mismatched header with the board. |
| To fix | Verify that the bitstream header is correct. |
| Message | ERROR: Export SVF feature is disabled for T8/T20 bitstreams |
| Reason | T8 or T20 bitstream exported to SVF. |
| To fix | SVF is not supported for T8 or T20. |
| Message | ERROR: Cannot edit SPI Active clock settings for .bit file, please use the .hex file |
| Reason | Opened Edit SPI Active Clock on a .bit file. |
| To fix | Edit SPI Active Clock only works for .hex files. |
| Message | ERROR: Input file has been corrupted, unable to determine target device |
| Reason | Opened Edit SPI Active Clock on a corrupted .hex file. |
| To fix | Replace the corrupted .hex file to a valid one. |
| Message | ERROR: Unable to read input image file, file maybe have been corrupted |
| Reason | Opened Edit SPI Active Clock on a corrupted .hex file. |
| To fix | Replace the corrupted .hex file to a valid one. |
| Message | ERROR: Device code for JTAG Bridge image CANNOT be Unknown. Please ensure you are using correct bitstream file |
| Reason | 1. Programmer is unable to detect the device code. 2. Connectivity issue. 3. USB
driver missing for the JTAG interface. 4. Programmer is unable to
detect non-Efinix device. |
| To fix | Ensure there is a valid device ID at Device Select. |
| Message | ERROR: Export feature only works with Efinity bitstreams |
| Reason | Export failed because the bitstream is not originally from Efinity. |
| To fix | Bitsream exports not originally from Efinity are not supported. |
| Message | ERROR: Cannot detect JTAG chain setup. Please import JTAG chain file |
| Reason | Programmer is unable to detect non-Efinix device. |
| To fix | Import the JCF. |
| Message | Calculated IR width is invalid. Please import JTAG chain file |
| Reason | A board in the chain is powered off. |
| To fix | Power on the board and click the refresh button. |
| Message | Total IR width of the previous JCF does not match actual total IR width. Please import JTAG chain file again. |
| Reason | Programmer is unable to detect non-Efinix device and cannot auto-detect IR length of the board in the JTAG chain. |
| To fix | Import the JCF. |
| Message | ERROR: The Programmer cannot detect the FPGA in the JTAG chain. Check the JTAG cable or header for connectivity issues |
| Reason | Incorrect connection of the chain or improperly connected wire. |
| To fix | Check the wire connectivity and check the IDCODE through the SVF Player. |
| Message | ERROR: Invalid ASCII character detected in header, cannot display header text |
| Reason | Bitstream header is incorrectly formatted. |
| To fix | Run the bitstream again to generate a new bitstream. |
| Message | ERROR: JTAG chain file does not match XSD standard |
| Reason | The JCF file in the wrong format. |
| To fix | Fix the format of the JCF. |
| Message | Error occured. OpenocdNotRunning("An error occurred when waiting for response from the main loop. OpenocdNotRunning('Failed to add a user due to: OpenOCD Error: no device found; Return code: 1')") |
| Reason | Occurs in co-debug mode when the board is disconnected and reconnected. |
| To fix | Close and re-open the Programmer. |
| Message | Failed to detect number of JTAG TAP. JTAG chain connection may be broken or number of TAP is greater than 128 |
| Reason | Failed to auto-detect the board in the JTAG chain. |
| To fix | Import the JCF. |
| Message | ERROR: Invalid output file <file name> specified for image generation |
| Reason | Name of the output file not specified when using Combine Multiple Image Files. |
| To fix | Specify the file in Output File. |
| Message | ['', '', '', '']ERROR: All input files for image generation must be targeted to the same device |
| Reason | 1. No file added to the field at Combine Multiple Image Files. 2. Image mixed with a
different target device. |
| To fix | 1. Add at least one image to use the tool. 2. Only the same targeted device bitstream file
can be used to combine the image. |
| Message | ERROR: Flash address '' is not a valid hexademical number |
| Reason | Flash address unspecified or incorrect at Generic Image Combination. |
| To fix | Specify the flash address in the correct hexadecimal format. |
| Message | ERROR: No input files for image combination |
| Reason | No input file specified for the image combination at Generic Image Combination. |
| To fix | Specify at least one image. |
| Message | ERROR: First flash address '0x00380000' is not equal to 0x00000000 |
| Reason | First flash address specified at Generic Image Combination does not start with 0. |
| To fix | For the first image, the flash address must start with 0. |
| Message | ERROR: Flash address '0x00000000' should be greater than or equal to next availableflash address '0x00121000' |
| Reason | Second or later flash address specified at Generic Image Combination starts with 0. |
| To fix | For the second and later images, the flash address cannot start with 0. |
Using the Command-Line Programmer
To run the Programmer using the command line, use the command:
Command-Line Programmer
efx_run.py <project name>.xml --flow program [--pgm_opts [mode=MODE] [settings_file]]
efx_run.bat <project name>.xml --flow program [--pgm_opts [mode=MODE] [settings_file]]
Options
--pgm_opts mode specifies the configuration mode. The available modes
are:
| Mode | Description |
|---|---|
| active | SPI Active configuration. |
| passive | SPI Passive configuration. |
| jtag | JTAG programming. See the Efinity Programmer User Guide for more information about programming with the JTAG interface. |
| jtag_bridge | SPI Active using JTAG bridge mode. |
| jtag-bridge_x8 | SPI Active x8 using JTAG bridge mode (used with two flash devices). 12 |
efx_run.py <project name>.xml --flow program --pgm_opts mode=jtag--pgm_opts
settings_file specifies a file in which you have saved all of the
programming options. A settings file is useful for performing batch programming of
multiple devices.
Project-Based Programming Options
You specify project-based programming options in the tab in the Efinity® software. Efinix FPGAs support active and passive configuration in a variety of modes.
| Option | Notes |
|---|---|
| Active/Passive | Active: SPI active mode. Passive: SPI passive mode. Your
choice of active or passive affects the pinout and determines which
choices are available in the Programming Mode box. |
| JTAG USERCODE | Use this field to specify a 32-bit user electronic signature. The
USERCODE is included in the bitstream. You can read it from the FPGA via the JTAG interface, and you can view the JTAG USERCODE in the Programmer’s Advanced Device Status dialog
box. Default: 0xFFFFFFFF |
| Clock Source | For Titanium
FPGAs, choose whether you want to use the FPGA's internal oscillator or an external clock
source as the configuration clock. |
| SPI Programming Clock Divider | Choose the divider for the SPI clock. This setting is reflected in
the bitstream file. Default: DIV8 |
| Clock Sampling Edge | For Titanium
FPGAs, choose whether the configuration clock
should sample on the rising or falling edge. The default is
Falling. |
| Power down flash after programming | Enable this option to power down the flash device after the FPGA
finishes programming. This setting is reflected in the bitstream file,
and you can only set it here. Default: On |
| Use 4-byte addressing during configuration | (Titanium
only). When you turn
this option on, the control block issues 4-byte addresses when it
configures the FPGA. This option is not
supported for Ti35 or Ti60 FPGAs. |
| Programming mode | Choose the programming mode and width; the choices depend on the FPGA
and package you are targeting. This setting is reflected in the
bitstream file, and you can only set it here. Default: SPI
<active or passive> x1 |
| Enable Initialized Memory in User RAMs | This setting is reflected in the bitstream file, and you can only set
it here. on: The bitstream has initialized
memory. off: The bitstream does not
have initialized memory. smart: For the Titanium
family, this option gives a
slightly smaller bitstream. Default: smart |
| Release Tri-States before Reset | During configuration, core signals are held in reset and the I/O pins
are tri-stated. These states are released when the FPGA enters user mode. On: (default) I/O pins
are released from tri-state before the core is released from reset
(use this option when the application is core
sensitive). Off: Core signals are released from reset
before the I/O pins are released from tri-state (use this option
when the application is I/O sensitive). |
| Enable Bitstream Compression | When turned on
(default), the software compresses the bitstream. If you choose
Bitstream Encryption or
Bitstream Authentication, this option is
turned off and disabled because you cannot compress a bitstream and
use the security features simultaneously. |
| Bitstream Encryption | On: The
software generates an encrypted bitstream. You also need to specify the
.bin file in the FPGA Key Data
File box. Off: (default) The software generates a
plaintext bitstream. |
| Randomize IV value during compilation | This option is used
with bitstream encryption. The encryption/decryption uses a 96-bit
initial vector (IV). If you want the software to generate a random IV
for every compilation, leave this option turned on. If you want to
specify an IV, turn this option off and specify the value in the
96-bit IV Value box. On (default): Let
the software generate the IV value. (The bitstream will be different
every time you compile, even if nothing has changed in your
design.) Off: The software does not generate the IV value;
the user will specify it in the 96-bit IV
Value box. (If nothing has changed in your design,
when you recompile, the bitstream remains the same) |
| 96-bit IV Value | Click the refresh button next to this box to generate a random IV value. You can also enter a value you generate with another program. |
| Bitstream Authentication | On: The software
generates a signed bitstream. You also need to specify the
.bin file in the FPGA Key Data
File box and the RSA private key
(.pem) file in the RSA Private
Key box. Off: (default) The software generates an
unsigned bitstream. |
| FPGA Key Data File | Specify the location and name of the .bin file you generated with the Efinity Bitstream Security Key Generator. |
| RSA Private Key | Specify the location and name of the RSA private key file (.pem). |
| Generate JTAG configuration file | On (always): Generate a .bit file for JTAG configuration. |
| Generate JTAG raw binary configuration file | On: Generate a .bin file (raw binary) for JTAG
configuration. Off (default): Do not generate a
.bin file. |
| Generate SPI configuration file | On (always): Generate a .hex file for SPI programming. |
| Generate SPI raw binary configuration file | On: Generate a .bin file (raw binary) for SPI
programming. Off (default): Do not generate a
.bin file. |
When you change one of these options, you can simply re-run the bitstream generation flow step. You do not need to recompile the design.
Configuration Status Register
Titanium FPGAs have a configuration status register. You can use the Efinity Programmer to monitor the values in this register to help debug confugration issues. View the register values in the Advanced Device Configuration Status dialog box, which you open by clicking the button of the same name.
| Name | Description |
|---|---|
| IN_USER | 0: The FPGA is not in user mode. 1: The
FPGA is in user mode. IN_USER waits for
all internal resets and tri-states to be released before it goes
high. Note: This bit is not supported in Ti60ES FPGAs. |
| CDONE | Configuration done, has the same value as the CDONE output
pin. 0: The FPGA is not
configured. 1: Configuation is complete. |
| NSTATUS | Configuration status, has the same value as the active-low NSTATUS
output pin if the NSTATUS pin is not driven by user when the FPGA is in
user mode. 0: Indicates that the FPGA
received a bitstream that was targeted for a different configuration
mode or width, or a CRC error is detected during configuration.
NSTATUS can also go low if there is a mismatch between the bitstream
and the FPGA encryption/authentication keys. 1: During
configuration, indicates that the FPGA is in
configuration mode. |
| CRC32_ERROR_CORE | 0: No CRC errors were detected in the core configuration bits. 1:
One or more CRC errors were detected in the core configuration
bits. |
| RMUPD_ERROR | 0: No errors occurred during remote update. 1: An error occurred
in the golden image during remote update configuration.
|
| CONFIG_END | 0: Configuration is not complete. 1: Configuration completed
(whether successful or not). |
| SYNC_PAT_FOUND | 0: Indicates that the FPGA is not receiving
the expected synchronization pattern at start of the bitstream. Check
for board or power issues. 1: Indicates that the FPGA detected a synchronization pattern at
start of the bitstream., and the clock and data connections to the
FPGA are acceptable. Any configuration
problems are likely digital or logical in nature. After successful
configuration the status will return to 0. |
| SEU_ERROR | 0: No SEU detection errors were found. 1: An SEU detection error
was found when reading back the SEU CRAM. Has the same value as the
SEU detection error status signal to the core fabric. |
| CRC32_ERROR_PERIPH | 0: No CRC errors were detected in the interface configuration bits.
1: One or more CRC errors were detected in the interface
configuration bits. |
| AES256_PASS | For an encrypted bitstream: 0: Decryption failed. The
encryption keys used in to program the fuses may not match the ones used
to encrypt the bitstream 1: The encrypted bitstream was decrypted
successfully. If the bitstream is not encrypted, this
register is always a 1.
Note: This bit is not supported in Ti60ES FPGAs. |
| RSA_PASS | When using RSA authentication: 0: The signature check
failed. The RSA keys used to program the fuses may not match the ones
used to sign the bitstream in the Efinity project.1:
The bitstream signature was verified successfully If RSA
authentication is not used, this register is always a
1. Note: This bit is not supported in Ti60ES FPGAs. |
| AES_ACTIVE | After the FPGA is configured, you can check
this status bit for encryption: 0: AES is disabled in the current
design. 1: AES is enabled in the current
design. |
| RSA_ACTIVE | After the FPGA is configured, you can check
this status bit for authentication: 0: RSA is disabled in the
current device. 1: RSA is enabled in the current
device. |
| USERCODE | Displays the 32-bit hex JTAG USERCODE. |
Verifying Configuration
NSTATUS remains as 0.You can confirm that the FPGA is configured by your bitstream successfully by checking on the following:
- Use the Efinity Programmer to check whether the FPGA is in user mode. In the Programmer, click the button. The console displays the FPGA status.
- Monitor the
CDONEandNSTATUSpins to determine the status of the FPGA. The status lets you know if there is a configuration error (CDONE=0andNSTATUS=0). - You can verify the bit stream stored in the SPI flash after programming is
completed in SPI Active mode. Turn on the option in to check for errors such as flash image being corrupted
during a write, an improperly skipped erase step, etc.Note: Generally, Efinix recommends that you keep the Verify After Programming option turned on. However, if you are using the FPGA's built-in CRC checking (enabled by default) with
NSTATUSmonitoring to verify configuration, you can use that method as a way of verifying the flash (that is, if the FPGA goes into user mode, the flash write is verified).Note: The Verify After Programming confirms the correctness of the bit stream programmed into the SPI Flash. It doesn't confirm if the device is in use afterwards.
The Efinity software adds a CRC
to the bitstream. During configuration, the FPGA generates another CRC as it reads
the bitstream. Then, it compares the two CRCs to see if they match. If they do not,
it indicates a configuration error. The CRC error is reflected by
CDONE = 0 and NSTATUS =
0. The CRC check can be useful for debugging board problems
such as signal integrity issues between the flash device and the FPGA.
Monitoring with the Efinity Programmer
With the board connected to your computer, you can monitor the FPGA's status with the Programmer. The
following table describes the values of CDONE and
NSTATUS and their meaning.
NSTATUS is a dual purpose GPIO, you may
observe different behavior from Efinity
Programmer on NSTATUS if NSTATUS is applied as a
GPIO in your bit stream.| CDONE | NSTATUS | Programmer Message | Description |
|---|---|---|---|
| 0 | 0 | Failure to configure was detected | Configuration failed. This may be caused by:
|
| 0 | 113 | Programming ... | The FPGA is in configuration mode. |
| 1 | 0 | – | The FPGA is not functioning as expected. Bitstream transmission
is completed but failed may be due to the following:
|
| 1 | 1 | Device is in user mode! | The FPGA is functioning correctly according to the user design. |
Monitoring with a Microcontroller or LEDs
You can optionally monitor the status of CRESET_N,
CDONE and NSTATUS with a microcontroller or
LEDs. CDONE is a dedicated configuration pin and you can monitor it
directly. However, NSTATUS is a dual-purpose configuration pin. To
use it to monitor configuration, you can connect it to a GPIO and set it's output
value to a constant 0.
NSTATUS to your design as a GPIO for monitoring: - In the Interface Designer, create a GPIO block for
NSTATUSwith the following settings:- Instance Name: NSTATUS
- Mode: Output
- In the Instance View pane, assign the
NSTATUSinstance to theNSTATUSpackage pin (refer to the pinout file to find the package pin). - Follow these steps to set the external or internal configuration:
- For single image (SPI active, SPI passive, and JTAG) and external
controller flash image,
- Set Constant Output:
0 for the
NSTATUS
- Set Constant Output:
0 for the
- For internal configuration,
- Assign the
cfg_errorto theNSTATUSin the RTL top module.
- Assign the
- For single image (SPI active, SPI passive, and JTAG) and external
controller flash image,
- Recompile the design.
- Download the bitstream to the flash memory on your board.
CDONE and
NSTATUS pins:- Reset the FPGA.
- Poll
CDONEfor1. - Wait for
tUSER. - Sample
NSTATUS.
| CRESET_N | CDONE | NSTATUS (After tUSER) | Description |
|---|---|---|---|
| 1 | 0 | 0 | Configuration failed. This may be caused by:
|
| 1 | 0 | 114 | The FPGA is in configuration mode. |
| 1 | 1 | 0 | The FPGA is functioning correctly according to the user design. |
| 1 | 1 | 1 | For internal reconfiguration only. The targeted application image FPGA cannot be configured successfully after 6 trials or a timeout with the golden image restored. |
The following figure shows example schematics connecting LED's to the FPGA's CDONE and
NSTATUS pins:
| CRESET_N | CDONE LED | NSTATUS LED | Description |
|---|---|---|---|
| 1 | Off | Off15 | The FPGA is in configuration mode. |
| 1 | Off | On | Configuration fails. This may be caused by:
|
| 1 | On | On | The FPGA is functioning correctly according to the user design. |
| 1 | On | Off | The internal reconfiguration only, the targeted application image cannot be configured successfully after 6 trials or a timeout with the golden image restored. |
Installing USB Drivers
To program Titanium™ FPGAs using the Efinity® software and programming cables, you need to install drivers.
Efinix development boards have FTDI chips (FT232H, FT2232H, or FT4232H) to communicate with the USB port and other interfaces such as SPI, JTAG, or UART. Refer to the Efinix development kit user guide for details on installing drivers for the development board.
For your own development board, Efinix suggests using the FTDI Chip FT2232H or FT4232H Mini Modules for JTAG programming Titanium™ FPGAs. (You can use any JTAG cable for JTAG functions other than programming.)
| Board | Connect to Computer with |
|---|---|
| Efinix development boards | USB cable |
| Your own board | FTDI x232H programming kit. For example:
|
Installing the Linux USB Driver
The following instructions explain how to install a USB driver for Linux operating systems.
- Disconnect your board from your computer.
- In a terminal, use these
commands:
> sudo <installation directory>/bin/install_usb_driver.sh > sudo udevadm control --reload-rules > sudo udevadm trigger
Installing the Windows USB Driver
On Windows, you use software from Zadig to install drivers. Download the Zadig software (version 2.7 or later) from zadig.akeo.ie. (You do not need to install it; simply run the downloaded executable.)
To install the driver:
Appendix: Programming the Flash Using JTAG Bridge (Legacy)
JTAG Bridge (Legacy) and JTAG SPI Flash Loader are EOL. The section has been kept to provide legacy support. For new designs, Efinix recommends using JTAG Bridge (New).
You can use the JTAG SPI Flash Loader to load a new user image into the SPI flash device on your board. The Titanium™ FPGA bridges the JTAG commands sent from the computer to the flash device. This mode lets you save board space because you can use the JTAG header on your board to program the flash instead of using a separate SPI header.
- Turn the Titanium™ FPGA into a flash programmer by configuring the FPGA via JTAG with the JTAG SPI Flash Loader IP core. You can configure the IP core using the Efinity IP Manager. You use a .bit bitstream file to configure the FPGA.
- Use the Efinity Programmer and the SPI Active using JTAG Bridge or SPI Active x8 using JTAG Bridge mode to program the user image into the flash device. The Programmer sends the command through the Titanium™ FPGA, which in turn programs the flash. You use a .hex bitstream file for the user image.
- After the flash is programmed, toggle the Titanium™
FPGA's
CRESET_Nsignal to trigger reconfiguration using the new flash image.
For the SPI Active x8 using JTAG Bridge mode, choose TRUE for the Enable dual flash programming option.
Revision History
| Date | Version | Description |
|---|---|---|
| ??? | 3.2 | Update Figure 23.
(DOC-2938) Update Verified Flash Devices. (DOC-2940) Added Supported Commands.
(DOC-2940) |
| February 2026 | 3.1 |
Added F100S3F2 (Ti35 and Ti60) Configuration.
(DOC-2846)
Added N576D2F4 (Ti135) Configuration.
(DOC-2846)
For Titanium and Topaz
FPGAs, the default setting for the option is Falling (not
Rising). (DOC-2804)
Added note regarding Test Data In and JTAG programming to Program Using a JTAG Chain. (DOC-2892)
|
| November 2025 | 3.0 | Added Supported Download Cables section. (DOC-1303) Added
IS25WP512M for ISSI in Supported Flash Devices. Corrected
and Updated Verify Configuration topic including sub-topic
Monitoring with a Microcontroller or LEDs. Added in new
GigaDevice's GD25LQ in Supported Flash Devices.
(DOC-2711) Removed N484 and added J484 under Ti180 at
table Titanium JTAG Device IDs. (DOC-2720) Fix BR4/BR1
problem for JTAG_VCCIO_SEL pin. (WEB-266, WEB-267) Added
note about padding in combined bitstream images in Combine Bitstreams and Other Files. Added N576D2F4 in SPI Active Mode for SIP Packages. Also
added sub-topic Configuration with Internal Flash and Configuration
with External Flash. (DOC-2699) Added note on Ti375, Ti240, and Ti165
internal reconfiguration in Program Multiple Images (Internal
Reconfiguration). (PROG-672) |
| March 2025 | 2.9 |
Added Figure 6.
Added Figure 7.
Added Figure 4.
Added Figure 5.
Correct typo in Figure 32. Added note to Program Using a JTAG Chain.
(DOC-2310) Updated Table 2 for J484D1. |
| January 2025 | 2.8 | Fixed typo in title of referenced document. (DOC-2302) Added
an006.html#concept_xxk_lwc_cdb__table_i1r_4sg_tdc. (DOC-2254) |
| December 2024 | 2.7 | Updated an006.html#an006-bitstream-verification__table_o5z_nfw_5vb. (DOC-2256) Updated entry for SYNC_PAT_FOUND in
Table 31. (DOC-2181)Added SPI Active Mode for SIP Packages (DOC-2177) Added SPI Passive Mode for SIP Packages (DOC-2177) Updated Figure 24. (DOC-2171) Updated JTAG_VCCIO_SEL description in Table 3. (DOC-2171) Updated an006.html#concept_xxk_lwc_cdb__fig_arc_q3w_mqb.
(DOC-1408)Changed column name from Pins to Configuration
Functions in Table 4. (DOC-2038) Added note after Table 4 directing the reader to the pinout file. (DOC-2038) Updated
Table 1 for Ti85, Ti135, Ti165, Ti240, and Ti375. (DOC-1809 and
DOC-2035)Updated JTAG device IDs for Ti375, Ti135, and Ti85:
(DOC-1851)Updated Table 11 in SPI Passive Mode to clarify Byte Order and Bit Order.
(DOC-1520) Updated various tables in SPI Passive Mode to clarify Bit Cycles and Byte
Cycles. (DOC-1520) Link added to Ti60 Data Sheet for
details on tDMIN. (DOC-1525) Updated an061.html#concept_hzy_4yh_ftb__table_wnx_xyh_ftb for Ti165, Ti240, and Ti375. (DOC-1809)
Note added in
relation to Table 10. (DOC-1865) Updated Figure 2. (DOC-1865) Updated an006.html#concept_spi_programming__fig_ol5_ldw_bheb. (DOC-1910) Updated Figure 19. (DOC-1910) Added Figure 20. (DOC-1910) Updated Figure 21. (DOC-1910) Added Figure 22. (DOC-1910) Updated Table 11 |
| March 2024 | 2.6 | Removed JTAG IDs: (DOC-1760)
|
| February 2024 | 2.5 | Updated figures Flash Programming Board Setup and SPI Flash
Programming with FTDI FT2232H and FT4232H Mini Module Connections.
(DOC-1256) Updated on table Dedicated Configuration Pins and
Dual-Purpose Configuration Pins. (DOC-1490) Added note in
SPI Passive Mode section. Added statement and figure SPI Clocking
and Phase Modes Diagram, and table SPI Interface Clocking and
Sampling in About SPI Clocking and Sampling section.
(DOC-1525) Added new sub-topic JTAG Operation.
(DOC-1589) Removed link and corrected statement in
Configuration Bus Width of Selecting the Right SPI Flash Device
section. (DOC-1670) Updated notes in figure SPI Passive
Mode (x1) Timing Sequence. (DOC-1690) Updated the waveform
for figures SPI Active Mode (x1) Timing Sequence, SPI Passive Mode
(x1, Mode 3) Timing Sequence, and JTAG Programming
Waveform. Updated bitstram size in table Titanium FPGA
Bitstream Size. Moved Bitstream Size for Multiple Images topic to
Bitstream Size section. Updated table SPI Hardware
Settings. |
| November 2023 | 2.4 |
Added reference note to power-up sequence in data sheet.
(DOC-1351)
Updated pull-up and pull-down resistors in Resistors in
Configuration Circuitry. (DOC-1489)
Updated SPI Flash Programming with FTDI Mini Module Connections.
(DOC-1497)
Updated initial CCK waveform of figure SPI Passive Mode (x1) Timing
Sequence.
Added reference note to power-down sequence and power supply
current transient in data sheet.
Added JTAG device IDs for the Ti135, Ti240, and Ti375.
|
| August 2023 | 2.3 |
Added G400 package JTAG Device ID. (DOC-1385)
|
| May 2023 | 2.2 |
Added IS25LP128 to list of supported flash devices.
(DOC-1247)
|
| February 2023 | 2.1 | Added more description about valid and invalid image.
(DOC-1118) Corrected user-defined pull-up/pull-down resistor
formula. (DOC-1136) Updated VQPS power-down sequence
note. Added connection requirement when unused for
VQPS. |
| December 2022 | 2.0 | Corrected SPI Clock Polarity and Phase Mode table.
(DOC-946) Added note about not recommending user to pause FPGA
configuration. (DOC-944) Added VQPS in power up sequence
requirement. (DOC-951) Updated configuration pins external
weak pull-up requirements. (DOC-1035) Added description
about CRESET_N needs to be deasserted before JTAG
configuration begins. (DOC-1069)Updated the Verifying
Configuration topic. (DOC-1024) Added JTAG device IDCODE
for J361, J484, G529 packages. (DOC-1084) |
| September 2022 | 1.9 | Updated Verifying Configuration topic. Enable CRC
Check option removed from the Project
Editor (always on with Efinity
v2022.1 and higher). (DOC-912) Removed support for
C232HM-DDHSL-0 cable. (DOC-860) Updated SPI Flash
Programming with FTDI mini module diagram by adding voltage level
translator. (DOC-844) Updated supported flash devices.
(DOC-896) Updated Project-Based Programming
Options topic for new options. |
| July 2022 | 1.8 | Added topic on SPI clocking and sampling. (DOC-625) Added maximum
number of configuration bits for the Ti90, Ti120, and Ti180 FPGAs. Added topic on the flash
size needed for multiple images. Corrected SSL_N
connection to be bidirectional in active SPI mode connection
diagrams. Updated configuration flow
diagram. Updated DDR power supplies to match pinout and
Efinity software. (DOC-795) Added
JTAG device ID for Ti90, Ti120, and Ti180. Corrected
configuration time estimation formula. Added 4-byte
addressing mode (24 bit address) support for Ti90, Ti120, and
Ti180. |
| April 2022 | 1.7 |
Added user-defined pull-down resistance formula. (DOC-747)
Added Program using a JTAG Bridge topic.
Added topic on
combining a bitstream and other data into a single file for
programming. Updated Power Supply Current Transient
and power sequence diagram for Packages without MIPI D-PHY
Block. (DOC-761) Re-organized topics about working
with bitstreams. |
| March 2022 | 1.6 | Moved FTDI hardware connection diagrams into Programming Hardware
Connections topic. Added topic about external pull-up resistors.
(WEB-39) Updated connection diagrams with required pull-up
resistors. (DOC-734) Updated power up sequence stating
that all supplies must be powered up within 10 ms.
(DOC-631) |
| January 2022 | 1.5 |
Improved connection diagrams to show pull-ups to point upwards.
(DOC-612)
Updated JTAG mode connection diagram. (DOC-546)
Added note about if the flash device does not have a valid image in
the location the FPGA expects based on the CBSEL setting, the FPGA
looks at the image locations in ascending order until it finds a
valid image. (DOC-686)
Updated active mode connection diagram.
|
| December 2021 | 1.4 | With the Efinity software v2021.2 and higher, you
must use .hex for SPI and
.bit for JTAG. (DOC-638) Corrected the JTAG
Device IDs. |
| November 2021 | 1.3 | Added Configuration Status Register, Bitstream Compression and
Exporting to .svf Format topics. Added support for FTDI FT4232H Mini
Module.
(DOC-597) Added
Bitstream Bytes Packed into Parallel Bus for x16, x8, x4, x2, and
x1. (DOC-626) Updated power up sequence and added power
supply current transient specs. (DOC-643) |
| November 2021 | 1.2 | Added topic about verifying configuration. (DOC-508,
DOC-486) Updated the Project-Based Programming Options topic.
(DOC-523, DOC-550) Added XT25F family to list of supported
flash devices. (DOC-529) Added connection requirements for
unused resources. Added note about Titanium™ Ti35 and Ti60 only supports SPI flash
with 3-byte addressing mode for configuration.
(DOC-558) Added SPI active and passive mode without CSI
topics. (DOC-563) Updated JTAG mode connection diagram.
(DOC-546) Added Macronix MX75L and MX75U to supported
flash devices. (DOC-573) Corrected clock divider settings
for SPI active mode. (DOC-595) |
| August 2021 | 1.1 | Updated power up sequence. Added note that FTDI Chip FT2232H Mini
Module supports 3.3 V I/O voltage only. (DOC-495) |
| August 2021 | 1.0 | Initial release. |
jtag_bridge_x8 mode is only supported in some
Titanium and
FPGAs. Refer to the data
sheet for the modes your FPGA supports.NSTATUS remains ON.