FADO: Floorplan-Aware Directive Optimization for High-Level Synthesis Designs on Multi-Die FPGAs
Authors:
- Linfeng DuLDLinfeng Du
- Tingyuan LiangTLTingyuan Liang
- Sharad SinhaSSSharad Sinha
- Zhiyao XieZXZhiyao Xie
- Wei ZhangWZWei Zhang
Preprint
Abstract
Multi-die FPGAs are widely adopted to deploy large hardware accelerators. Two factors impede the performance optimization of HLS designs implemented on multi-die FPGAs. On the one hand, the long net delay due to nets crossing die-boundaries results in an NP-hard problem to properly floorplan and pipeline an application. On the other hand, traditional automated searching flow for HLS directive optimizations targets single-die FPGAs, and hence, it cannot consider the resource constraints on each die and the timing issue incurred by the die-crossings. Further, it leads to an excessively long runtime to legalize the floorplan of HLS designs generated under each group of configurations during directive optimization due to the large design scale. To co-optimize the directives and floorplan of HLS designs on multi-die FPGAs, we propose the FADO framework, which formulates the directive-floorplan co-search problem based on the multi-choice multi-dimensional bin-packing and solves it using an iterative optimization flow. For each step of directive search, a latency-bottleneck-guided greedy algorithm searches for more efficient directive configurations. For floorplanning, instead of repetitively incurring global floorplanning algorithms, we implement a more efficient incremental floorplan legalization algorithm. It mainly applies the worst-fit online bin-packing algorithm to balance the floorplan, together with an offline best-fit-decreasing re-packing to compact the floorplan, followed by pipelining of long wires crossing die-boundaries. Through experiments on HLS designs mixing dataflow and non-dataflow kernels, FADO not only well-automates the co-optimization and finishes within 693X~4925X shorter runtime, compared with DSE assisted by global floorplanning, but also yields an improvement of 1.16X~8.78X in overall workflow execution time after implementation on the Xilinx Alveo U250 FPGA.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- AutoDSE: Enabling Software Programmers to Design Efficient FPGA AcceleratorsACM Transactions on Design Automation of Electronic Systems, 2022
- Elastic-DF: Scaling Performance of DNN Inference in FPGA Clouds through Automatic PartitioningACM Transactions on Reconfigurable Technology and Systems, 2021
- Hi-ClockFlow: Multi-Clock Dataflow Automation and Throughput Optimization in High-Level Synthesis2019
- COMBA: A comprehensive model-based analysis framework for high level synthesis of real applications2017
- Parallel High-Level Synthesis Design Space Exploration for Behavioral IPs of Exact LatenciesACM Transactions on Design Automation of Electronic Systems, 2017
- Multiple Dice Working as One: CAD Flows and Routing Architectures for Silicon Interposer FPGAsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2015
- There is no EPTAS for two-dimensional knapsackInformation Processing Letters, 2010
- Efficient High Level Synthesis Exploration Methodology Combining Exhaustive and Gradient-Based Pruned Searching2010
- Adaptive Simulated Annealer for high level synthesis design space exploration2009
- Knapsack Problems: Algorithms and Computer ImplementationsJournal of the Operational Research Society, 1991