hamster 47 Report post Posted October 11, 2012 I just had a look at the source... bitfile.cpp has two functions already in it that seems to do what is needed:void BitFile::append(unsigned long val, unsigned cnt)void BitFile::append(char const *fname)It should be posilble to "append()" zeros to pad to the required location, then append() the additional file you want into the bitstream. Will try it when I get a chance.... Share this post Link to post Share on other sites
alex 21 Report post Posted October 11, 2012 I think a magic value at the start of the blob would give the best payoff as you don't need to worry about where the FPGA bit image ends and where the blob starts, then have to pass that offset back into the code so it knows where the find the blob. It will be more foolproof and more user friendly. The FPGA boot loader will of course need to be updated to search for this magic value but that seems fairly trivial. Share this post Link to post Share on other sites