09-25-2018 06:50 AM
I know that the .bin file and .bit.bin file both can configure the PL logic in ZYNQ.So I want to know what's the difference between the .bin file and .bit.bin file?
09-25-2018 06:56 AM
AFAIK, FPGA manager needs a .bin format file(can be .bin or .bit.bin) file to program the PL.
Don't forget to reply, kudo, and accept as solution.
09-25-2018 07:01 AM
Bit file is text based, try to open one with a text editor. Bin file is binary, smaller. You can use either, doesn't make much difference.
09-25-2018 07:09 AM
My vivado version is 2017.4,so I want to use devcfg to partial reconfigure the PL logic in linux.What should I do?
09-25-2018 11:09 AM
Hi @chenyang1994 ,
Both .bit and .bin are binary files. The difference is that .bit includes 129-byte text header that provides some information about bitstream name, FPGA, user ID, etc. It's typically used for JTAG configuration. I attached example screenshots of .bit and .bin.
The reason why .bit file can configure FPGA from a non-JTAG configuration interface is more subtle. A bitstream is essentially a sequence of configuration commands and data executed by FPGA configuration controller on power-on. (Bitstream format is described in more details in Chapter 9 of UG570 [link] for Ultrascale FPGAs). FPGA config controller starts executing commands in the first 129-byte of the file. But this is a text header, and those commands are invalid. Then it encounters a long sequence of FFs - this is a reset command to FPGA config controller. Commands after FF are the same in both .bit and .bin.
09-26-2018 12:09 AM