Enabling Dynamic System Integration on Maxeler HLS Platforms

Charalampos Kritikakis, Dirk KochJ. Signal Process. Syst 2020

Abstract

This paper presents a novel framework that integrates Partial Reconfiguration (PR) capabilities into the Maxeler High-Level Synthesis (HLS) environment. By extending the Java-based MaxJ language and automating complex hardware implementation tasks, the proposed system allows developers to swap hardware kernels at runtime in milliseconds. This approach preserves data in onboard memory and enables a flexible, "Lego-like" assembly of hardware accelerators without the need for full system recompilation.

Introduction

Field Programmable Gate Arrays (FPGAs) offer superior performance and energy efficiency for dataflow applications. However, the traditional development cycle is hindered by long compilation times and the static nature of HLS designs. In standard Maxeler workflows, any modification to a hardware kernel requires a full bitstream generation and a complete device reload, which typically wipes internal DDR memory. While Partial Reconfiguration (PR) exists in vendor-specific tools, its complexity often makes it inaccessible to software-oriented developers. This work addresses these challenges by automating the PR flow within the Maxeler ecosystem.

Methodology and Toolflow

The core of the framework is a custom toolflow that sits atop the standard Maxeler compiler. It introduces new Java language constructs, specifically PRGroups and PRManager, allowing developers to explicitly define which parts of their dataflow pipeline should be dynamic (swappable) versus static (permanent).

The proposed design flow adds front-end, mid-end, and back-end processing stages to the standard MaxCompiler workflow to automate partial reconfiguration.

As shown in the modified design flow, the framework incorporates automated floorplanning and bitstream manipulation. Key innovations include:

  • Decoupled Chaining: Control logic is moved to the static region while data buffers remain in the swappable modules, making kernels "relocatable" across different slots on the FPGA.
  • Automated Implementation: The flow integrates academic tools like GoAhead and BitMan to ensure that dynamic modules do not interfere with static wiring, bypassing the need for manual vendor-specific PR setups.

System Architecture

The architecture partitions the FPGA into two distinct zones: a static region and a dynamic region. The static region houses critical infrastructure, such as DDR memory controllers and the Internal Configuration Access Port (ICAP), ensuring that data remains persistent even when kernels are swapped.

The system architecture separates static infrastructure from dynamic instances (PRGroups), allowing for runtime relocatability and modular hardware assembly.

This modularity allows for a library of hardware modules to be built independently. Because the physical interfaces are standardized, these modules can be daisy-chained at runtime based on application requirements, significantly increasing hardware resource flexibility.

Evaluation and Results

The framework was evaluated using a real-time video processing pipeline featuring eight different image processing kernels, such as Sobel filters and Gaussian blurs.

  • Performance: The system achieved a peak throughput of 6.4 GB/s on a 512-bit wide datapath, effectively saturating the DDR memory channel.
  • Latency: Hardware modules can be swapped in just 3 to 6 milliseconds, a significant improvement over previous academic implementations.
  • Resource Efficiency: The static infrastructure overhead is low (approximately 9,375 LUTs), leaving the majority of the FPGA available for user logic.
  • Productivity: Developers can generate an entire library of hardware modules in the time it would normally take to compile a single static design.

Conclusion and Future Work

By bringing Partial Reconfiguration to the Maxeler HLS environment, this framework bridges the gap between software flexibility and hardware performance. While currently demonstrated on Virtex-6 platforms, the logic is designed to be portable to modern architectures. Future research will focus on automating the initial floorplanning setup and exploring higher clock frequencies to further enhance computational throughput.

Summary updated

BibTeX
@article{kritikakis2020enabling,
  author = {Charalampos Kritikakis and Dirk Koch},
  title = {{Enabling Dynamic System Integration on Maxeler HLS Platforms}},
  journal = {J. Signal Process. Syst.},
  year = {2020},
  doi = {10.1007/s11265-020-01545-y},
}
Figure