Base2: An IR for Binary Numeral Types

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Abstract

Custom data types and arbitrary-precision arithmetic are often key for efficient hardware designs on Field Programmable Gate Array (FPGA) platforms. Current end-to-end flows incorporating quantization are not only domain-specific, but also tightly integrated and not repurposable. Abstractions for arbitrary-precision arithmetic are generally vendor-specific, and results are hardly portable across platforms. In this work, we present a new Intermediate Representation (IR), base2, to address the programmability issues of custom data types in reconfigurable hardware. We contextualize our proposal in the greater LLVM (llvm) ecosystem, where we show how existing abstractions can be simplified and unified. We implement base2 in Multi-Level Intermediate Representation (MLIR), which allows it to be used in a variety of existing and future target-agnostic front-ends. We demonstrate the power of our model by applying it to sample kernels and evaluating the accuracy of the result. For these samples, we achieve interoperability with an existing end-to-end High-Level Synthesis (HLS) flow.

Details

OriginalspracheEnglisch
TitelProceedings of the 13th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies, HEART 2023
Herausgeber (Verlag)Association for Computing Machinery
Seiten19-26
Seitenumfang8
ISBN (elektronisch)9798400700439
PublikationsstatusVeröffentlicht - 14 Juni 2023
Peer-Review-StatusJa

Publikationsreihe

ReiheACM International Conference Proceeding Series

Konferenz

Titel13th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies, HEART 2023
Dauer15 - 16 Juni 2023
StadtKusatsu
LandJapan

Externe IDs

ORCID /0000-0002-5007-445X/work/160049119