rbt to C array

Hi all !

For those who want to download bitstream to Xilinx FPGA via a microcontroller, i have been writing a small perl script (with a blessed relief from a guy down her in Grenoble ENSIMAG) that transcript an rbt file Xilinx ASCII Bitstream Created by Bitstream J.40 Design name: my_design.ncd Architecture: spartan3 Part: 3s50pq208 Date: Thu Jan 3 17:36:05 2008 Bits: 439264

11111111111111111111111111111111 10101010100110010101010101100110 00110000000000001000000000000001 0000000000000000000000000 ....

to a C char array file (const char tableau[439264] = {0xaa, 0x99, 0x55, 0x66, ...};.

Let me know if someone is interrested.

--
HBV
Reply to
Habib Bouaziz-Viallet
Loading thread data ...

And I have a PC command-line program that gobbles a Motorola S28 code file and any number of .RBT files and builds a rom image, executable uP code and packed Xilinx bitstream. It can also do checksums, poke constants, pre-fill the image with all 1's, and do rll:0 compression on the Xilinx stuff (squash factors in the 2:1 to 4:1 range typically.)

John

Reply to
John Larkin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.