FPGA Technology Mapping Using Sketch-Guided Program Synthesis

Gus Henry Smith,  Benjamin Kushigian,  Vishal Canumalla,  Andrew Cheung,  Steven Lyubomirsky,  Sorawee Porncharoenwase,  René Just,  Gilbert Louis Bernstein,  Zachary Tatlock

Architectural Support for Programming Languages and Operating Systems (ASPLOS) 2024

Abstract

FPGA technology mapping is the process of implementing a hardware design expressed in high-level HDL (hardware design language) code using the low-level, architecture-specific primitives of the target FPGA. As FPGAs become increasingly heterogeneous, achieving high performance requires hardware synthesis tools that better support mapping to complex, highly configurable primitives like digital signal processors (DSPs). Current tools support DSP mapping via handwritten special-case mapping rules, which are laborious to write, error-prone, and often overlook mapping opportunities. We introduce Lakeroad, a principled approach to technology mapping via sketch-guided program synthesis. Lakeroad leverages two techniques—architecture-independent sketch templates and semantics extraction from HDL—to provide extensible technology mapping with stronger correctness guarantees and higher coverage of mapping opportunities than state-of-the-art tools. Across representative microbenchmarks, Lakeroad produces 2–3.5× the number of optimal mappings compared to proprietary state-of-the-art tools and 6–44× the number of optimal mappings compared to popular open-source tools, while also providing correctness guarantees not given by any other tool.

BibTeX

@inproceedings{10.1145/3620665.3640387,
author = {Smith, Gus Henry and Kushigian, Benjamin and Canumalla, Vishal and Cheung, Andrew and Lyubomirsky, Steven and Porncharoenwase, Sorawee and Just, Ren\'{e} and Bernstein, Gilbert Louis and Tatlock, Zachary},
title = {FPGA Technology Mapping Using Sketch-Guided Program Synthesis},
year = {2024},
isbn = {9798400703850},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3620665.3640387},
doi = {10.1145/3620665.3640387},
abstract = {FPGA technology mapping is the process of implementing a hardware design expressed in high-level HDL (hardware design language) code using the low-level, architecture-specific primitives of the target FPGA. As FPGAs become increasingly heterogeneous, achieving high performance requires hardware synthesis tools that better support mapping to complex, highly configurable primitives like digital signal processors (DSPs). Current tools support DSP mapping via handwritten special-case mapping rules, which are laborious to write, error-prone, and often overlook mapping opportunities. We introduce Lakeroad, a principled approach to technology mapping via sketch-guided program synthesis. Lakeroad leverages two techniques---architecture-independent sketch templates and semantics extraction from HDL---to provide extensible technology mapping with stronger correctness guarantees and higher coverage of mapping opportunities than state-of-the-art tools. Across representative microbenchmarks, Lakeroad produces 2--3.5\texttimes{} the number of optimal mappings compared to proprietary state-of-the-art tools and 6--44\texttimes{} the number of optimal mappings compared to popular open-source tools, while also providing correctness guarantees not given by any other tool.},
booktitle = {Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2},
pages = {416–432},
numpages = {17},
location = {La Jolla, CA, USA},
series = {ASPLOS '24}
}

📝 publications index