Filters








1 Hit in 0.043 sec

Tile size selection for optimized memory reuse in high-level synthesis

Junyi Liu, John Wickerson, George A. Constantinides
2017 2017 27th International Conference on Field Programmable Logic and Applications (FPL)  
High-level synthesis (HLS) is well capable of generating control and computation circuits for FPGA accelerators, but still requires sufficient human effort to tackle the challenge of memory and communication bottlenecks. One important approach for improving data locality is to apply loop tiling on memory-intensive loops. Loop tiling is a well-known compiler technique that partitions the iteration space of a loop nest into chunks (or 'tiles') whose associated data can fit into sizeconstrained
more » ... sizeconstrained fast memory. The size of the tiles, which can significantly affect the memory requirement, is usually determined by partial enumeration. In this paper, we propose an analytical methodology to select a tile size for optimized memory reuse in HLS. A parametric polyhedral model is introduced to capture memory usage analytically for arbitrary tile sizes. To determine the tile size for data reuse in constrained on-chip memory, an algorithm is then developed to optimize over this model, using non-linear solvers to minimize communication overhead. Experimental results on three representative loops show that, compared to random enumeration with the same time budget, our proposed method can produce tile sizes that lead to a 75% average reduction in communication overhead. A case study with real hardware prototyping also demonstrates the benefits of using the proposed tile size selection.
doi:10.23919/fpl.2017.8056810 dblp:conf/fpl/LiuWC17 fatcat:34vhbzckrbc6lkrzg7tjhhiqqe