| Author |
Message |
brightblade
Joined: 11 Jan 2005 Posts: 18
|
02 Jun 2006 13:44 send .bit file to fpga through com port |
|
|
|
|
Hi
I need to find a way to extract the contents of a xilinx bit file. I need to isolate the data bits and the header, time stamp etc... the bit file can be a design that i wanted to write for example into a PROM or into a directly FPGA. Is there anyone who knows the structure of the bit files. thank you all...
|
|
| Back to top |
|
 |
Big Boy
Joined: 20 Jan 2004 Posts: 253 Helped: 10
|
02 Jun 2006 15:16 fpga model extract from mcs file |
|
|
|
|
If your only intent is to extract the bitfile raw data, for the purpose of programing to a PROM for example (or configuring the FPGA using a microprocessor), you can use iMPACT.
You have 2 major mode in iMPACT. One is FPGA programming (you scan the chain, transfer via JTAG to the FPGA or PROM). Another one is PROM generator.
With PROM generator, you can specify a target PROM (so you can split across several of those PROM), or custom PROM. Note here that PROM reffer to any type of programable memory devices (flash, EEPROM, even RAM). You take for input your bit file, and you output to one of several data format (MCS i.e. Intel HEX, binary, ...).
iMPACT come as part of the ISE tools.
Big Boy
|
|
| Back to top |
|
 |
EDALIST
Joined: 27 Nov 2004 Posts: 133 Helped: 13
|
02 Jun 2006 21:14 how big are fpga bitfiles |
|
|
|
|
| just look at the datasheet]euser manual, different parts have different bit file format, so check for the part you are working on. it is usually quite simple procedure.
|
|
| Back to top |
|
 |
brightblade
Joined: 11 Jan 2005 Posts: 18
|
05 Jun 2006 6:59 Re: how to extract the contents of a bit file |
|
|
|
|
| thanks for the help. I know about the impact and i'm using it the problem is I want to send the bit values from pci. With impact you can program fpga and proms through usb or parallel port. but i want pci... Any ideas...thanks
|
|
| Back to top |
|
 |
Google AdSense

|
05 Jun 2006 6:59 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
ilikebbs
Joined: 30 Nov 2002 Posts: 101 Helped: 2
|
06 Jun 2006 7:26 how to extract the contents of a bit file |
|
|
|
|
ISE can generate .bit and .bin file according to your setting.
The difference between .bit and .bin file is the header. You can try to campare them.
Even you do not need to know the content of configuration file, FPGA will know the start bit and the end bit according to XILINX algorithm.
|
|
| Back to top |
|
 |
brightblade
Joined: 11 Jan 2005 Posts: 18
|
06 Jun 2006 12:06 Re: how to extract the contents of a bit file |
|
|
|
|
I see thanks ilikebbs but here comes the next difficulty. Suppose that i have the bit file and i can send by configuration data to the JTAG pins of my fpgas through pci port. How will I send a file through pci if i don't know the contents? Can a fpga know the contents and be programmed correctly? I thought the xilinx software does the job. Is it fpga? (in my problem i can't use the xilinx software while programming. Because i'm programming through pci port )
Regards...
|
|
| Back to top |
|
 |