Altera_Forum
Honored Contributor
11 years agoConfigure FPGA dynamically at run-time
Hello,
I'm trying to change the FPGA configuration at run time using one of the generic SD images. I'm using the Ubuntu image from Terasic at the moment and the goal is to boot to Linux using this image, and then swap out FPGA configurations without having to reset the HPS (resetting the FPGA is fine). I want to have several bitstreams stored and swap to the most relevant one. I've looked around and although I think I'm finding information saying it's possible; I'm having a hard time finding out how to actually do it. Ideally I would like to use Linux commands and do something simple likecat myfpgaconfig.rbf > /dev/thefpga But if I have to use C and do it myself, that's okay too. I'm under the impression I want to interface with the FPGA manger if I am required to write it myself, but I wanted to ask if anyone knew of a "simple" solution or existing examples that would do this? I'm afraid I'm suffering from information overload looking at all the datasheets and documentation provided by Altera and could use some advice on what's important and what's not so important at the moment. Thanks!