UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 20058

Spartan-3 Configuration - In SelectMAP configuration mode, what is an ABORT? What causes it to occur?

Description

In SelectMAP configuration mode, what is an ABORT? What causes it to occur?

Solution

An ABORT is an interruption in the SelectMAP configuration or readback sequence that occurs when the state of WRITE_B changes while CS_B is asserted. During a configuration ABORT, the Spartan-3 device drives a 32-bit status word on to the D[0:7] pins over the next four CCLK cycles. After the ABORT sequence finishes, you can re-synchronize the configuration logic and resume configuration.

ABORT Sequence Description

An ABORT is signaled during configuration as follows:

1. Perform a portion of the configuration that writes to registers. After 256 bits of download, at least one write operation has occurred.

2. Pull the /WRITE pin High while CS_B is still asserted (device is selected).

NOTE: When the SelectMAP WRITE signal is active (Low), the FPGA configuration data pins are inputs. When the SelectMAP WRITE signal is inactive (High) the FPGA configuration pins are outputs. If the CS_B signal is inactive (High), the configuration data pins are put into a 3-state condition.

3. BUSY goes High if CS_B remains asserted (Low). The FPGA drives the status word on to the data pins if RDWR_B remains set for read control (logic High).

4. The ABORT ends when the /CS signal is de-asserted.

SelectMAP Configuration Abort Sequence
SelectMAP Configuration Abort Sequence

An ABORT is signaled during readback as follows:

1. Perform a portion of the readback that writes to registers.

2. Pull the /WRITE pin Low while CS_B is still asserted (device is selected).

NOTE: When the SelectMAP WRITE signal is active (Low), the FPGA configuration data pins are inputs. When the SelectMAP WRITE signal is inactive (High) the FPGA configuration pins are outputs. If the CS_B signal is inactive (High), the configuration data pins are put into a 3-state condition.

3. BUSY goes High if CS_B remains asserted (Low).

4. The ABORT ends when the /CS signal is de-asserted.

SelectMAP Readback Abort Sequence
SelectMAP Readback Abort Sequence

ABORTs that occur during readback are not followed by a status word because the RDWR_B signal is set for write control (logic Low).

ABORT Status Words

During the configuration ABORT sequence, the device drives a status word on to the D[0:7] pins. The key for that status word is as follows:

D7: /cfgerr (A CRC error has occurred)

D6: dalign (Interface logic has received a sync word)

D5: rip (A readback is in progress)

D4: /in_abort (An ABORT is in progress)

D3-D0: 1111

The ABORT sequence lasts for four CCLK cycles. During those cycles, the status word changes to reflect data alignment and ABORT status. A typical sequence is as follows:

11011111 => DALIGN = 1, IN_ABORT_B = 1

11001111 => DALIGN = 1, IN_ABORT_B = 0

10001111 => DALIGN = 0, IN_ABORT_B = 0

10011111 => DALIGN = 0, IN_ABORT_B = 1

After the last cycle, the synchronization word can be reloaded to establish data alignment.

Resuming Configuration

After the ABORT is completed (by de-asserting CS), the device must be re-synchronized. After re-synchronizing, you can resume configuration by sending the last configuration packet that was in progress when the ABORT occurred. Alternately, you can restart the configuration from the beginning.

For further information on ABORTs and Spartan-3 configuration, refer to (Xilinx XAPP452): "Spartan-3 Advanced Configuration Architecture", or to the Spartan-3 Data Sheet, available at:

http://www.xilinx.com/xlnx/xweb/xil_publications_display.jsp?category=/Data+Sheets/FPGA+Device+Families&iLanguageID=1

AR# 20058
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article