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!

Reply
Visitor
Posts: 16
Registered: ‎06-28-2014
Accepted Solution

Vivado promgen equivalent

Hello,

 

for configuring the Programmable Logic of a Zynq from its Processing system one needs a .bin file. In ISE this .bin file can be generated out of a .bit file with the promgen tool. Vivado does not have this tool.

In the bitstream settings on can specify that a .bin file should be generated, but this file differs from the one generated by promgen and cannot be used to configure the logic (at least not in the obvious way).

 

So the question is: How can one generate an appropriate .bin file with vivado?

 

With promgen I have used the following command:

promgen -b -w -p bin -data_width 32 -u 0 bitfile.bit -o bitfile.bin

 

 

Best  regards,

Yaro


Accepted Solutions
Moderator
Moderator
Posts: 1,264
Registered: ‎01-15-2008

Re: Vivado promgen equivalent

Hi Yaro,

 

You can check the following link for the procedure mentioned on page 15 of "Vivado Programming & Debugging Guide" to create the bin file for the proms/flash
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_2/ug908-vivado-programming-debugging.pdf

 

for BPI 16 width flash bin file generation is

write_cfgmem -format bin -interface bpix16 -size 128 -loadbit "up 0x0 c:/main.bit" -file main.bin

 

You can modify according to your requirement.

 

--Krishna

View solution in original post


All Replies
Moderator
Posts: 2,963
Registered: ‎10-24-2013

Re: Vivado promgen equivalent

Hi,
http://forums.xilinx.com/t5/Design-Tools-Others/promgen-Command-Line-Help/td-p/322729

http://forums.xilinx.com/t5/Design-Tools-Others/Promgen-Migration-to-Vivado-Bit-byte-swapping/td-p/390017

ISE to Vivado migration guide help
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_2/ug911-vivado-migration.pdf
Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
Moderator
Moderator
Posts: 1,264
Registered: ‎01-15-2008

Re: Vivado promgen equivalent

Hi Yaro,

 

You can check the following link for the procedure mentioned on page 15 of "Vivado Programming & Debugging Guide" to create the bin file for the proms/flash
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_2/ug908-vivado-programming-debugging.pdf

 

for BPI 16 width flash bin file generation is

write_cfgmem -format bin -interface bpix16 -size 128 -loadbit "up 0x0 c:/main.bit" -file main.bin

 

You can modify according to your requirement.

 

--Krishna

Visitor
Posts: 16
Registered: ‎06-28-2014

Re: Vivado promgen equivalent

Thank you!