Using buffer-to-BRAM mapping approaches to trade-off throughput vs. memory use
Authors:
- 1 September 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 1946147X,p. 1-8
Abstract
One of the challenges in designing high-performance FPGA applications is fine-tuning the use of limited on-chip memory storage among many buffers in an application. To achieve desired performance and meet the on-chip memory budget requirements, the designer faces the burden of manually assigning application buffers to physical on-chip memories. Mismatches between dimensions (bit-width and depth) of buffers and physical on-chip memories lead to underutilized memories. Memory utilization can be increased via buffer packing - grouping buffers together and implementing them as a single memory, at the expense of data throughput. However, identifying buffer groups that result in the least amount of physical memory is a combinatorial problem with a large search space. This process is time consuming and non-trivial, particularly with a large number of buffers of various depths and bit widths. Previous work [1] introduced a tool that provides high-level pragmas allowing the user to specify global memory requirements, such as an application's on-chip memory budget and data throughput. This paper extends the previous work by introducing two low-level pragmas that specify information about memory access patterns, resulting in an improved on-chip memory utilization up to 22%. Further, we develop a simulated annealing based buffer packing algorithm, which reduces the tool's run-time from over 30 mins down to 15 sec, with an improvement in performance in the generated memory solution. Finally, we demonstrate the effectiveness of our tool with four stream application benchmarks.Keywords
This publication has 16 references indexed in Scilit:
- Analysis and architecture design of scalable fractional motion estimation for H.264 encodingIntegration, 2012
- Decoupling algorithms from schedules for easy optimization of image processing pipelinesACM Transactions on Graphics, 2012
- Optimizing memory hierarchy allocation with loop transformations for high-level synthesis2012
- hiCUDA: High-Level GPGPU ProgrammingIEEE Transactions on Parallel and Distributed Systems, 2010
- Automatic memory partitioning and scheduling for throughput and power optimization2009
- A compiler approach to managing storage and memory bandwidth in configurable architecturesACM Transactions on Design Automation of Electronic Systems, 2008
- Incremental hierarchical memory size estimation for steering of loop transformationsACM Transactions on Design Automation of Electronic Systems, 2007
- Local memory exploration and optimization in embedded systemsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 1999
- Synthesis of application-specific memory designsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 1997
- Definition And Solution Of The Memory Packing Problem For Field-programmable Systems1994