DSP-Packing: Squeezing Low-precision Arithmetic into FPGA DSP Blocks

被引:16
作者
Sommer, Jan [1 ]
Oezkan, M. Akif [1 ]
Keszocze, Oliver [1 ]
Teich, Juergen [1 ]
机构
[1] Friedrich Alexander Univ Erlangen Nurnberg, D-91054 Erlangen, Germany
来源
2022 32ND INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS, FPL | 2022年
关键词
Digital Signal Processing (DSP); Field-Programmable Gate Array (FPGA); Approximate Computing;
D O I
10.1109/FPL57034.2022.00035
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The number of Digital Signal Processor (DSP) resources available in Field Programmable Gate Arrays (FPGAs) is often quite limited. Therefore, full utilization of available DSP resources for the computationally intensive parts of an algorithm is paramount for optimizing the non-functional properties of an implementation (i.e., performance, power, and area). The DSPs available in Xilinx devices implement large bit width operators (i.e. a 48-bit accumulator or a 18 x 27 multiplier). However, using such a DSP for low-precision quantized data (as is common in image processing or machine learning applications) leaves the DSP resources underutilized. As a remedy, a method has been proposed to pack and compute four 4-bit multiplications on a single DSP in a single clock cycle. This paper presents a generalization of this scheme to arbitrary bit widths and number of multiplications. We also demonstrate that the previously proposed approach leads to errors (Mean Absolute Error (MAE) = 0.37). Furthermore, we explain where these errors come from and how they can be corrected. On top, we introduce a novel approximate method called "Overpacking" which allows to squeeze even more multiplications into a single DSP at the cost of small errors (MAE = 0.47). Overpacking allows to squeeze six 4-bit multiplications into a single DSP compared to just four in the literature. Finally, we introduce an alternative method for packing multiple small-bit width additions into a single 48-bit accumulator for use in applications such as Spiking Neural Networks.
引用
收藏
页码:160 / 166
页数:7
相关论文
共 15 条
[1]  
[Anonymous], DEEP LEARN INT8 OPT
[2]   Spiking Neural Networks Hardware Implementations and Challenges: A Survey [J].
Bouvier, Maxence ;
Valentian, Alexandre ;
Mesquida, Thomas ;
Rummens, Francois ;
Reyboz, Marina ;
Vianello, Elisa ;
Beigne, Edith .
ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2019, 15 (02)
[3]  
Han J, 2013, EUROSURVEILLANCE, V18, P6
[4]   An Efficient Method of Parallel Multiplication on a Single DSP Slice for Embedded FPGAs [J].
Huang, Zhangqin ;
Zhang, Shuo ;
Wang, Weidong .
IEEE ACCESS, 2019, 7 :100993-101008
[5]  
Kalali E., 2021, IEEE T COMPUT, P1
[6]   Addicted to cellphones: exploring the psychometric properties between the nomophobia questionnaire and obsessiveness in college students [J].
Lee, Seungyeon ;
Kim, Minsung ;
Mendoza, Jessica S. ;
McDonough, Ian M. .
HELIYON, 2018, 4 (11)
[7]  
Mert A. C., EFFICIENT MULTIPLE C
[8]   A Survey of Techniques for Approximate Computing [J].
Mittal, Sparsh .
ACM COMPUTING SURVEYS, 2016, 48 (04)
[9]  
Mrazek V, 2017, DES AUT TEST EUROPE, P258, DOI 10.23919/DATE.2017.7926993
[10]   Conversion of Continuous-Valued Deep Networks to Efficient Event-Driven Networks for Image Classification [J].
Rueckauer, Bodo ;
Lungu, Iulia-Alexandra ;
Hu, Yuhuang ;
Pfeiffer, Michael ;
Liu, Shih-Chii .
FRONTIERS IN NEUROSCIENCE, 2017, 11