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!

Is it possible to convert *.bin file to *.bit file or *.mcs file?

Reply
Highlighted
Visitor
Posts: 4
Registered: ‎10-29-2017

Is it possible to convert *.bin file to *.bit file or *.mcs file?

 
Xilinx Employee
Posts: 369
Registered: ‎08-10-2008

Re: Is it possible to convert *.bin file to *.bit file or *.mcs file?

1. bin->bit: without byte swapping, bit only has an extra header. You can simply add this header to a bin file and change the suffix.
2. bin<->mcs: https://www.xilinx.com/support/answers/23174.html

Ivy
------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
Visitor
Posts: 4
Registered: ‎10-29-2017

Re: Is it possible to convert *.bin file to *.bit file or *.mcs file?

how to know header to add in .bin file? What will be the header and header length? Is header same for all .bit files?

Xilinx Employee
Posts: 369
Registered: ‎08-10-2008

Re: Is it possible to convert *.bin file to *.bit file or *.mcs file?

Generate one bit file with ISE or Vivado, open this bit with UltraEdit or some simliar tool. You can compare the bit with a bin and learn what is a header.

A header is the same for same device except the creation time but that does not matter at all.
------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
Visitor
Posts: 4
Registered: ‎10-29-2017

Re: Is it possible to convert *.bin file to *.bit file or *.mcs file?

Fine, Thank you. Will try and get back to you.