lnis-uofu / OpenFPGA

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

Bitstream updates and reconfiguration support in OpenFPGA #1723

Open ohault opened 5 months ago

ohault commented 5 months 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 5 months 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.