Splitting a project into two .bit files to upload program separate from CPU

Recommended Posts



I've finished the first version of my first ever FPGA project: a CPU that uses Brainfuck as its machine language. See for details.

Now, I'd like to split it into two parts so that I can upload the CPU definition proper into the FPGA's flash memory in one go of papilio-prog, then upload the programs (preferably as a raw blob, i.e. without any processing on the original Brainfuck program file)  by running papilio-prog again. So basically, I'd like to be able to upload ROM data without having to re-load the hw configuration bitfile.


Is this something that's somehow possible with papilio-prog? How?




Share this post

Link to post
Share on other sites



You need to use the data2mem tool to do what you are talking about. It will allow you to merge your code into the BRAM space of a bit file, this is the method that we use with the AVR8 and the arcade games to load code and video games into the bit file.


There was a discussion thread about it here:


Here are some helpful app notes:



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now