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# 35686

iMPACT/promgen - BIN generated by iMPACT is different from the one created by bitgen


The BIN file generated by ISE bitgen (Generate Programming File -> Properties -> General Options -> Create Binary Configuration File) is different from the one created by iMPACT. Which one should I use? Which one is correct?


BIN by bitgen is a non-byte-swapped file, the Sync Wordis read as "AA 99 55 66".
In older iMPACT versions, the generated BIN file by default is byte swapped. The Sync Word is "55 99 AA 66" in it.
In serial configuration by MCU, a non-byte-swapped BIN should be used; if the configuration mode is parallel/selectMAP, where Xilinx requires D0 be the most significant bit, you should use a byte-swapped BIN file.
The batch command to generate a BIN file is as below:
promgen -w [-b] -p bin -u 0 xxx.bit -o xxx.bin
Option -b stands for disabling byte swapping. If a byte-swapped Bin file is needed, remove the -b option.
AR# 35686
Date Created 06/28/2010
Last Updated 02/14/2013
Status Active
Type General Article
  • Spartan-3
  • Spartan-3A
  • Spartan-3A DSP
  • More
  • Spartan-3AN
  • Spartan-3E
  • Spartan-6 LX
  • Spartan-6 LXT
  • Virtex-4 FX
  • Virtex-4 LX
  • Virtex-4 SX
  • Virtex-5 FXT
  • Virtex-5 LX
  • Virtex-5 LXT
  • Virtex-5 SXT
  • Virtex-5 TXT
  • Virtex-6 CXT
  • Virtex-6 HXT
  • Virtex-6 LX
  • Virtex-6 LXT
  • Virtex-6 SXT
  • Less