Click the Configuration, Startup, Readback, or Tie tab to access the different options within the Configuration Template dialog box. Use the different tabs of this dialog box to set the options described in this section.
Click OK to accept the template, click Cancel to exit the dialog box without changing any settings, click Default to set the default options, or click Help to obtain online help.
Use the Configuration tab, shown in the following figure, to set these options.
Figure 5.9 Spartan Configuration Template Configuration Tab |
The Spartan device uses an internal configuration clock, CCLK, when configuring in a master mode. The configuration rate option allows you to select the rate for this clock. The following options are available. The default is Slow.
The Threshold Levels field contains the following options.
These options are supported for the Spartan family only. They are not supported for the SpartanXL family.
The Configuration Pins field contains the following options.
You cannot use these pins to set the configuration mode or use them as user I/Os.
This option is supported for SpartanXL devices only.
This option enables Cyclic Redundancy Checking (CRC) error checking during configuration. If enabled, the software calculates a running CRC and inserts a unique four-bit partial check at the end of each data frame in the configuration bitstream. This allows the device to perform a CRC check on the bitstream during the configuration process. If disabled, the device performs a simple check for the 0110 pattern at the end of each frame in the configuration data. By default, this option is on.
This option creates a rawbits (RBT) file in addition to the binary BIT file. The RBT file is a text file that contains ASCII 1s and 0s. These characters represent the actual bits in the configuration bitstream that are downloaded to the FPGA. By default, this option is off.
Use the Startup tab, shown in the following figure, to set these options.
Figure 5.10 Spartan Configuration Template Startup Tab |
The startup sequence following the configuration of a device can be synchronized to either CCLK or a User Clock. The default is CCLK.
The startup sequence of the device can be synchronized with the signal on the DONE pin. Deselect this option to begin the startup sequence when the configuration memory is full. Select this option to begin the startup sequence when the signal on the DONE pin goes High. By default, this option is off.
There are three major output events which occur during a device startup.
Depending on the settings for Startup Clock and Synchronize Start-up to Done Input pin, the output events can be set to occur as shown in the following table. For more information, see The Programmable Logic Data Book.
CCLK | User Clock | |||
---|---|---|---|---|
Sync | No Sync | Sync | No Sync | |
DONE | C1-C3 | C1-C4 | C1, U2 | C1, U2-U4 |
Enable Outputs | C2, C3, DI, DI+1 | C2-C4 | U2, DI, DI+1, DI+2 | U2-U4 |
Release Set/Reset | C2, C3, DI, DI+1 | C2-C4 | U2, DI, DI+1, DI+2 | U2-U4 |
The definitions of the possible output events settings are as follows.
C1 - first-Cclk rising edge after the length count is met
C2 - second-Cclk rising edge after the length count is met
C3 - third-Cclk rising edge after the length count is met
C4 - fourth-Cclk rising edge after the length count is met
U2 - second-valid-user-clock rising edge after C1 (first-Cclk rising edge after length count is met)
U3 - third-valid-user-clock rising edge after C1 (first-Cclk rising edge after length count is met)
U4 - fourth-valid-user-clock rising edge after C1 (first-Cclk rising edge after length count is met)
DI - when the DoneIn signal goes High
DI+1 - first-Cclk or valid-user-clock rising edge, depending on the selection of startup-Clk, after DoneIn goes High
DI+2 - second-Cclk or valid-user-clock rising edge, depending on the selection of startup-Clk, after DoneIn goes High
Use the Readback tab, shown in the following figure, to set these options.
Figure 5.11 Spartan Configuration Template Readback Tab |
The readback data can be clocked out by either CCLK or a User Clock. The default is CCLK.
Use this option to activate or deactivate the readback capability of the configuration bitstream. To activate this feature, select this option and include the READBACK symbol in your design. Enabling this option generates a .ll file. By default, this option is on.
Use this option to abort the readback sequence. Select this option to terminate the readback sequence when the device detects a High-to-Low transition on the TRIG pin of the READBACK symbol. By default, this option is off.
Use the Tie tab, shown in the following figure, to set these options.
Figure 5.12 Spartan Configuration Template Tie Tab |
Select this option to cause all unused interconnect to be tied to a logic Low or to a known level, keeping internal noise and power consumption to a minimum. When you use this option, Design Rule Check (DRC) runs first. After DRC, this option does the following.
By default, this option is off.
Select this option to use the nets marked as critical to complete the tiedown process if necessary. Use this option as a last resort after an attempt is made to use nets not marked critical. By default, this option is off.