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

Promgen and using -data_file switch


When using Promgen and the -data_file switch, the data in the data file will be byte swapped and formatted.

Can I keep the data in its original format?


If you need the data unformatted and left alone, you must pre-swap the file and then put it into the cmd line to swap it back.


For example:

promgen -p hex -b -r input.bin -o flipped.hex
promgen -p bin -r flipped.hex -o flipped .bin
promgen -p mcs -c FF -u 0 bit1 -data_file up 0x2000 flipped.bin


the resulting MCS file will have the data in flipped BIN in the same format as the original input.BIN.

AR# 41008
Date Created 03/02/2011
Last Updated 10/17/2014
Status Active
Type General Article
  • Configuration Solutions
  • FPGA Device Families