arrow
Return

Efficient Memory Arbitration in High-Level Synthesis From Multi-Threaded Code

delete2022-04-01
delete4
delete
OA
AI
J
Jianyi Cheng *
S
Shane Fleming
Y
Yu Ting Chen
J
Jason H. Anderson
J
John Wickerson
G
George A. Constantinides
DOI:10.1109/TC.2021.3066466delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
High-level synthesis (HLS) is an increasingly popular method for generating hardware from a description written in a software language like C/C++. Traditionally, HLS tools have operated on sequential code, however in recent years there has been a drive to synthesise multi-threaded code. In this context, a major challenge facing HLS tools is how to automatically partition memory among parallel threads to fully exploit the bandwidth available on an FPGA device and minimise memory contention. Existing partitioning approaches require inefficient arbitration circuitry to serialise accesses to each bank because they make conservative assumptions about which threads might access which memory banks. In this article, we design a static analysis that can prove certain memory banks are only accessed by certain threads, and use this analysis to simplify or even remove the arbiters while preserving correctness. We show how this analysis can be implemented using the Microsoft Boogie verifier on top of satisfiability modulo theories (SMT) solver, and propose a tool named EASY using automatic formal verification. Our work supports arbitrary input code with any irregular memory access patterns and indirect array addressing forms. We implement our approach in LLVM and integrate it into the LegUp HLS tool. For a set of typical application benchmarks our results have shown that EASY can achieve 0.13x (avg. 0.43x) of area and 1.64x (avg. 1.28x) of performance compared to the baseline, with little additional compilation time relative to the long time in hardware synthesis.
Keywords:
Instruction sets
Tools
Hardware
Software
Memory management
Bandwidth
Scalability
High-level synthesis
HLS
formal methods
multi-threaded code
FPGA
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.3K
Citations:
9.8K

Organization

S
Swansea University
Scholars:
8.3K
Papers: 8.6K
Citations: 1.3W
I
Imperial College London
Scholars:
8.3W
Papers: 7.3W
Citations: 11.1W
U
university of toronto
Scholars:
14.7W
Papers: 12.0W
Citations: 165
researcher View more organizations