lnis-uofu / OpenFPGA

An Open-source FPGA IP Generator
https://openfpga.readthedocs.io/en/master/
MIT License
772 stars 153 forks source link

Bitstream updates and reconfiguration support in OpenFPGA #1723

Open ohault opened 2 weeks ago

ohault commented 2 weeks ago

FPGA bitstream generation and loading are becoming quite mature topics, but what about the issue of updates?

To dynamically modify a partial circuit on the reconfigurable structure at runtime, it would require the implementation of some dedicated functionality in the FPGAs.

How could such facilities be supported by OpenFPGA currently or in the future?

tangxifan commented 2 weeks ago

@ohault It is a good point, and we are aiming to it. However, in my view, it requires both hardware and software supports. Some of them have already been done but still you may need more.

Hardware

We have upgraded our configuration protocols to support partial reconfiguration. You can reconfigure part of an FPGA fabric.

Something is still missing could be gating the signals when loading a different bitstream.

Software

Here are my thoughts on this topic. If you see anything missing, feel free to contact me.