electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to extract the contents of a bit file


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> how to extract the contents of a bit file
Author Message
brightblade



Joined: 11 Jan 2005
Posts: 18


Post02 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


Post02 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


Post02 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


Post05 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
Google Adsense




Post05 Jun 2006 6:59   

Ads




Back to top
ilikebbs



Joined: 30 Nov 2002
Posts: 101
Helped: 2


Post06 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


Post06 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 Crying or Very sad)
Regards...
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> how to extract the contents of a bit file
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
how do i convert the bit rate of an mp3 file? (1)
How to view the layout contents of the instances? (7)
How to extract aperture file from a RS27D gerber?. (2)
how to extract RLC extracted file in latest cadence? (5)
how can i select the annotation contents in analog artist? (4)
how to extract the DC component of the sine wave signal (7)
how to extract the coupling coefficients by simulation (2)
how to extract the equivalent circuit in inductor (2)
How to extract the parasite resistor in Dracula? (1)
How to Extract the RLC Parameters of DRO?! (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS