iMPACT
Batch Command Definitions E
Scroll through this topic to see all the "E" batch commands.
erase
Erases the programmed contents of a device. Applicable in Boundary-Scan configuration mode and SVF/STAPL/XSVF file generation mode.
Family: CPLD, XC18V00, Platform Flash PROM, SPI or System ACE™ MPM/SC
File Type: N/A
Command Usage:
erase [-o |-override ] [-p |-position <pos1> {<pos2> } ] [-otf ] [-ver <version> {<version> } ] [-spi <spiPartName> ] [-spionly ] [-bpi <bpiPartName> ] [-bpionly ] [-configbankvoltage CFGBVS |2.5V_or_higher |1.8V ] [-image <imageFileName> ] [-qspi single | dual_parallel ] [-nor ] [-nand ] [-startAddress <hexValue> ] [-zynq_fsbl <fsblFileName> ]
Command Switch Definitions:
-o|-override - For PROMs (XC18V, XCFP) and CPLD devices, specifies the selection to override the write protection on the target device. For SPI or BPI Flash devices, specifies that the entire device is to be erased, overriding the default (no -o specified), which erases just the area containing the configuration file.
-p|-position <pos1> {<pos2>} - Refers to the position of the device(s) in the chain.
-otf - Specifies the on-the-fly pattern operation for CoolRunner™-II or CoolRunner-IIA devices.
-ver <version> {<version>} - Specifies which design revision(s) [0..3] to erase for XCF00P Platform Flash PROM device(s).
-spi <spiPartName> - Specifies SPI device type.
-bpi <bpiPartName> - Specifies BPI device type.
-spi <spiPartName> - For indirect SPI device programming, specifies SPI device type. If -spi is specified without an -spionly option (described below), the operation will be performed on both the FPGA and the attached SPI device (does not apply to Zynq-7000).
-spionly - For indirect SPI device programming, specifies that the operation should be performed only on the attached SPI device, and not on the FPGA (does not apply to Zynq-7000).
-bpi <bpiPartName> - For indirect BPI device programming, specifies BPI device type. If -bpi is specified without a -bpionly option (described below), the operation will be performed on both the FPGA and the attached BPI device (does not apply to Zynq-7000).
-bpionly - For indirect BPI device programming, specifies that the operation should be performed only on the attached BPI device, and not on the FPGA (does not apply to Zynq-7000).
-configbankvoltage CFGBVS | 2.5V_or_higher | 1.8V - Kintex-7 devices only. Must be specified when an SPI or BPI device is being programmed indirectly through a Kintex-7 FPGA. The voltage you specify determines the correct I/O options used during the program, erase, verify, and other operations performed on the Flash device that is attached to the Kintex-7 FPGA device. To avoid degrading or potentially damaging the Kintex-7 or Flash devices, be sure the voltage you specify matches the voltage settings of the I/O banks of the FPGA pins that are attached to the Flash device. Configuration bank voltage selection is described in the 7 Series FPGAs Configuration User Guide. Options to -configbankvoltage are:
  • CFGBVS — iMPACT will check the CFGBVS bit in the FPGA's Configuration Status Register to determine the correct I/O settings to be used for programming the Flash device.
  • 2.5V_or_higher — The I/O settings to be used for programming the Flash device will work with the high-range (HR) I/O banks of the FPGA that are set to 2.5V or higher.
  • 1.8V — The I/O settings to be used for programming the Flash device will work with the high-performance (HP) I/O banks of the FPGA that are set to 1.8V or lower.
-image <imageFileName> - For Quad SPI Flash devices being indirectly programmed through a Zynq-7000 AP SoC, specifies the MCS file containing the image to be used in the Flash operation.
Note The –image option is needed in erase to determine the range of Flash addresses to erase. The MCS file contains address information used to determine the start and end addresses of the data contained in the file.
-qspi single | dual_parallel - For Quad SPI Flash devices being indirectly programmed through a Zynq-7000 AP SoC, specifies that the target device to be operated on is a Quad SPI Flash device.
  • single — Selects the Single SS, 4-bit I/O configuration.
  • dual_parallel — Selects the Dual SS, 8-bit Parallel I/O configuration.
-nor — Selects NOR configuration.
Note Must use with the -image option.
-nand 8 | 16 — Selects NAND configuration as either 8 or 16 bit I/O width.
Note Must use with the -image option.
-startAddress <hexValue> — Specifies the start address to be used for the flash operation. The <hexValue> parameter must be in hex format.
-zynq_fsbl <fsblFileName> — Specifies the filename of the required FSBL for NAND programming. The user-created FSBL file which initializes the DDR and NAND devices is specified for this option.
exit
Quits batch mode.
Command Usage:
exit
expresssvf
Creates an SVF file by executing a single batch command.
Family: CPLDs, FPGAs and PROMs
File Type: .svf
Command Usage:
expresssvf [-p |-position <pos> {<pos2> } ] [-e |-erase ] [-v |-verify ] [-program ] [-file <svffilename> ]
Command Switch Definitions:
-p | -position <pos> {<pos2>} - Specifies the position of the device(s) in the chain.
-e | -erase - For PROMs and CPLD devices, adds an erase sequence before the programming sequence in the SVF file.
-v | -verify - For PROMs and CPLD devices, adds a verify sequence after the programming sequence in the SVF file.
-program - Adds a device program sequence to the SVF file.
-file <svffilename> - Specifies the file name of the SVF file produced.
expressxsvf
Creates an XSVF file by executing a single batch command.
Family: CPLDs, FPGAs and PROMs
File Type: .xsvf
Command Usage:
expressxsvf [-p |-position <pos> {<pos2> } ] [-e |-erase ] [-v |-verify ] [-program ] [-file <xsvffilename> ]
Command Switch Definitions:
-p | -position <pos> {<pos2>} - Specifies the position of the device(s) in the chain.
-e | -erase - For PROMs and CPLD devices, adds an erase sequence before the programming sequence in the XSVF file.
-v | -verify - For PROMs and CPLD devices, adds a verify sequence after the programming sequence in the XSVF file.
-program - Adds a device program sequence to the XSVF file.
-file <xsvffilename> - Specifies the file name of the XSVF file produced.

© Copyright 1995–2012, Xilinx® Inc. All rights reserved.