A Resource Reuse Strategy for Large-Scale Matrix Operations in HLS-Based FPGA Design

Zhihang Lei, Chubo Liu, Zheng Xiao, Baixuan Wu, Anthony T. Chronopoulos, Kenli LiIEEE Trans. Industrial Informatics 2025

Abstract

Matrix operations (MOPs) are essential for various computational tasks, particularly in deep learning models, which have grown increasingly complex. As these models expand, their demand for computational resources increases significantly, making deployment on resource-limited hardware platforms, such as field-programmable gate arrays, more challenging, especially in balancing resource allocation and computation latency. Reuse-control techniques have been employed to optimize resource allocation by enabling multiple operations to share the same computational units, such as digital signal processors. Yet, this approach presents a tradeoff between resource utilization and latency. In this study, we tackle this challenge by thoroughly analyzing existing reuse-control mechanisms and introducing a novel integer linear programming (ILP)-based strategy. Our experimental results demonstrate that the proposed approach not only improves resource utilization for large-scale MOPs but also significantly reduces latency compared to existing methods. In the best case, on the ResNet model, our ILP-based method achieves up to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$2.21\times$</tex-math></inline-formula> lower latency and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$2.14\times$</tex-math></inline-formula> lower energy consumption per inference, demonstrating significantly improved performance and energy efficiency. In addition, our work provides a new optimization perspective for hardware design based on high-level synthesis.
BibTeX
@article{lei2025resource,
  author = {Zhihang Lei and Chubo Liu and Zheng Xiao and Baixuan Wu and Anthony T. Chronopoulos and Kenli Li},
  title = {{A Resource Reuse Strategy for Large-Scale Matrix Operations in HLS-Based FPGA Design}},
  journal = {IEEE Transactions on Industrial Informatics},
  year = {2025},
  doi = {10.1109/tii.2025.3625947},
}

Loading related content...

Figure