Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

which download file should I use?

Status
Not open for further replies.

ackqin

Newbie level 5
Joined
Nov 15, 2005
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,376
I am doing a project using ARM9, I also want to use ARM9 and AMD 16 bit flash configuring FPGA(spartan3 xc3s400), I use serial slave mode, ARM9 get parallel data and I send it out by serial. but I dont know which file should I use to download the FPGA, bin or bit or mcs or others? also which bit should I send out first bit 7 or bit 0?

thanks a lot.

ackqin
 

The bin file is easiest because it's pure binary with no header information. Simply send all the bytes one bit at a time. I don't recall the bit order, probably left to right (7 to 0, MSB to LSB). If it doesn't work, try the other way. I've given up searching the Xilinx docs for an unambigious description of the bit order.
 

thanks you echo47.
I have successfully download it. bit and bin file all can do, I send the MSB(bit 7) first. Later I find bit file is mostly same as bin file, only differ in some title information which is no use for FPGA, it seek 4 FF to start data write, the title information will be ignored.
 

Yes, header plus bin file equals bit file. The header varies in length, so it can be a nusiance to remove. You can request bitgen to generate the bin file: "-g binary:yes"

Thanks for confirming MSB first. By the way, Xilinx further confuses the issue by declaring bit 0 as MSB.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top