Accelerating FPGA Developments from C to Bitstreams by Partial Reconfiguration

Published in Ph.D. Dissertation, 2023

Divide-and-conquer and incremental compilation strategies are widely used in software com- pilations. The divide-and-conquer means that separate source files are compiled indepen- dently by multi-threads to objectives, which are linked together to an executable-format file, while incremental compilation means that software tools only need to re-compile modified source files and quickly re-link the objectives. To enable these strategies for FPGAs, this dissertation presents an open-source framework called PRflow which can speed up the com- pilation times by an order of magnitude. PRflow supports different optimization levels to make better trade-offs among compile-time, area, and performance. -O0 (PRflow RISCV) maps applications to a cluster of on-chip RISC-V cores within seconds for quick verifica- tion and debugging. -O1 (PRflow) compiles the separate parts of an application to partial FPGA bitstreams for different partial reconfigurable regions on the chip. Separate parts can be compiled in parallel within 24 minutes. The interconnections between separate parts can be set up by sending configuration packets to configure a network-on-a-chip (NoC) without re-routing physical wires. -O2 (PRflow DW) supports inter-connection customiza- tion with a fixed page-size overlay on top of a commercial FPGA to meet high inter-page bandwidth requirements, improving the performance by up to 10× compared with -O1. - O3 (PRflow HiPR) supports overlay customization for arbitrary inter-page throughput and various page size requirements with similar incremental compile time to -O1 and -O2. HiPR extracts the interconnect information among separate sub-functions and generates a cus- tomized overlay with PR regions defined. Users can perform quick incremental compilation for dedicated sub-functions at the cost of an acceptable one-time overlay compilation over- head. -O3 compiles applications with the most aggressive optimization strategies similar to commercial tools.

Download paper here

Author’s local PDF copy of paper

Recommended citation: Yuanlong Xiao. “Accelerating FPGA Developments from C to Bitstreams by Partial Reconfiguration” Doctoral dissertation, University of Pennsylvania (2023).