,
Dylan Leothaud
,
Simon Rokicki
,
Steven Derrien
,
Isabelle Puaut
Creative Commons Attribution 4.0 International license
Deriving sound and precise timing models remains one of the main obstacles to static Worst-Case Execution Time (WCET) analysis. Modern processors exhibit diverse and evolving microarchitectures, making manual construction of timing models labor-intensive, error-prone, and difficult to adapt across processor variants. High-Level Synthesis (HLS) enables rapid customization of processor cores and architectural exploration, offering an opportunity to automate not only hardware generation but also the derivation of associated timing models. This paper presents an automated WCET analysis for HLS-generated processors based on abstract interpretation. We exploit the internal Gated-SSA representation of the HLS flow to automatically extract an abstract timing model capturing speculation and stall mechanisms. WCET estimation at the basic block level is then formulated as an exploration of abstract microarchitectural states within a basic block. The approach safely accounts for timing anomalies, while remaining scalable thanks to an efficient state-merging strategy. Integrated into the Heptane WCET tool and evaluated on Mälardalen benchmarks and a RISC-V, the method achieves the same tightness as a handcrafted timing model, while improving over a previously proposed automated approach.
@InProceedings{feuilletin_et_al:LIPIcs.ECRTS.2026.14,
author = {Feuilletin, Thomas and Leothaud, Dylan and Rokicki, Simon and Derrien, Steven and Puaut, Isabelle},
title = {{WCET Analysis of HLS-Generated Processors Using Abstract Interpretation}},
booktitle = {38th European Conference on Real-Time Systems (ECRTS 2026)},
pages = {14:1--14:19},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-429-1},
ISSN = {1868-8969},
year = {2026},
volume = {375},
editor = {Kritikakou, Angeliki},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECRTS.2026.14},
URN = {urn:nbn:de:0030-drops-266069},
doi = {10.4230/LIPIcs.ECRTS.2026.14},
annote = {Keywords: Static Analysis, Worst-Case Execution Time, High-Level Synthesis}
}