cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
s002wjhw
Voyager
Voyager
4,242 Views
Registered: ‎06-26-2015

promgen vivado

is there vivado tool to convert .bit to .bin

something equal to this

 

promgen -w -b -p bin -o <user_design_binfile> -u 0 <user_design_bitfile> –data_width 32

0 Kudos
3 Replies
timduffy
Explorer
Explorer
4,233 Views
Registered: ‎04-05-2016

write_bitstream -bin_file <filename>.bit should work. Note: the file extension looks to need to be .bit, but it is actually a .bin file ...

Alternatively, this AR shows how to do it using the -ise switch:

https://www.xilinx.com/support/answers/51479.html
0 Kudos
pratham
Scholar
Scholar
4,180 Views
Registered: ‎06-05-2013

@s002wjhw There are two options

 

1) Vivado - use write_cfgmem comamnd to generate a bin file .bit file.

2) SDK- use bootgen command line to generate a bin file from a .bit file.

 

 

Xilinx BootGen
Build-2017.1, Date-Mar 13, 2017
Copyright (c) 1995-2017 Xilinx, Inc. All rights reserved.

------------------------------------------------------------------------------+
COMMAND LINE OPTIONS |
-------------------------------+----------------------------------------------+
-arch [options] | Xilinx Architecture |
| options: [zynq, zynqmp, fpga] |
-------------------------------+----------------------------------------------+
-image <filename> | Input Boot Image File (.bif) |
-------------------------------+----------------------------------------------+
-o <filename> | Output filename in MCS/BIN format |
-------------------------------+----------------------------------------------+
-w [options] | Overwrite mode |
| options: [on, off] |
-------------------------------+----------------------------------------------+
-encrypt [options] | AES Key storage in chip (Zynq only) |
| options: [bbram, efuse] |
-------------------------------+----------------------------------------------+
-p <string> | Part name |
-------------------------------+----------------------------------------------+
-efuseppkbits <filename> | Generate PPK hash for e-fuse |
-------------------------------+----------------------------------------------+
-generate_hashes | Generate SHA hashes (PKCS#1v1.5) |
-------------------------------+----------------------------------------------+
-spksignature <filename> | Generate SPK signature file |
-------------------------------+----------------------------------------------+
-fill <hex-byte> | Fill byte for padding |
-------------------------------+----------------------------------------------+
-split [options] | Split partitions to diff files |
| options: [bin, mcs] |
-------------------------------+----------------------------------------------+
-padimageheader [options] | Pad header tables |
| options: [0, 1] |
-------------------------------+----------------------------------------------+
-process_bitstream [options] | Outputs bitstream in bin/mcs format |
| options: [bin, mcs] |
-------------------------------+----------------------------------------------+
-generate_keys auth [options] | Generate Authentication Keys |
| options: [pem, rsa] |
-------------------------------+----------------------------------------------+
-dual_qspi_mode [options] | Generate 2 output files for Dual QSPI |
| options: [parallel, stacked <size>] |
-------------------------------+----------------------------------------------+
-log [options] | Generate log file |
| options: [error, warning, info, debug, trace]|
-------------------------------+----------------------------------------------+
-zynqmpes1 | Generate boot image for (1.0)ES1 |
-------------------------------+----------------------------------------------+
-h | -help | Print the help summary |
-------------------------------+----------------------------------------------+
-bif_help | Print the BIF help summary |
-------------------------------+----------------------------------------------+
Note : For more info on bootgen options, use the command |
bootgen -help <option> |
Example : bootgen -help efuseppkbits |
------------------------------------------------------------------------------+

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
s002wjhw
Voyager
Voyager
4,089 Views
Registered: ‎06-26-2015

in the bit stream setting there is -bin_file*  I'm assuming this is the same as promgen?

 

Untitled.jpg

0 Kudos