# Hierarchical Source-to-Post-Route QoR Prediction in High-Level Synthesis with GNNs

Source: [Hierarchical Source-to-Post-Route QoR Prediction in High-Level Synthesis with GNNs](<https://www.sota2.com/research/paper/68fa71de1e209131cea53755>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T02:14:27.865Z

Authors: Mingzhe Gao, Jieru Zhao, Zhe Lin, Minyi Guo

Published: 2024-01-14T07:24:08.000Z

## Abstract

High-level synthesis (HLS) notably speeds up the hardware design process by avoiding RTL programming. However, the turnaround time of HLS increases significantly when post-route quality of results (QoR) are considered during optimization. To tackle this issue, we propose a hierarchical post-route QoR prediction approach for FPGA HLS, which features: (1) a modeling flow that directly estimates latency and post-route resource usage from C/C++ programs; (2) a graph construction method that effectively represents the control and data flow graph of source code and effects of HLS pragmas; and (3) a hierarchical GNN training and prediction method capable of capturing the impact of loop hierarchies. Experimental results show that our method presents a prediction error of less than 10% for different types of QoR metrics, which gains tremendous improvement compared with the state-of-the-art GNN methods. By adopting our proposed methodology, the runtime for design space exploration in HLS is shortened to tens of minutes and the achieved ADRS is reduced to 6.91% on average.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [QoR Prediction (DSP) on PolyBench C (test)](<https://www.sota2.com/research/sota/qor-prediction-dsp-on-polybench-c-test.md>): QoR Prediction (DSP); PolyBench C (test); MAPE: 6.94.

- [QoR Prediction (FF) on PolyBench C (test)](<https://www.sota2.com/research/sota/qor-prediction-ff-on-polybench-c-test.md>): QoR Prediction (FF); PolyBench C (test); MAPE: 9.65.

- [QoR Prediction (LUT) on PolyBench C (test)](<https://www.sota2.com/research/sota/qor-prediction-lut-on-polybench-c-test.md>): QoR Prediction (LUT); PolyBench C (test); MAPE: 9.86.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2401.08696>)

[PDF](<https://arxiv.org/pdf/2401.08696.pdf>)
