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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor yaro
Visitor
5,660 Views
Registered: ‎06-28-2014

Vivado promgen equivalent

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
8,456 Views
Registered: ‎01-15-2008

Re: Vivado promgen equivalent

Jump to solution

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

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
5,655 Views
Registered: ‎10-24-2013

Re: Vivado promgen equivalent

Jump to solution
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.
0 Kudos
Moderator
Moderator
8,457 Views
Registered: ‎01-15-2008

Re: Vivado promgen equivalent

Jump to solution

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

0 Kudos
Visitor yaro
Visitor
5,641 Views
Registered: ‎06-28-2014

Re: Vivado promgen equivalent

Jump to solution

Thank you!

0 Kudos