To address the challenges of excessive resource demands and difficulty in meeting low-power requirements in the embedded domain when field programmable gate array (FPGA) are utilized to accelerate convolution operations, a resource-efficient FPGA-based convolution acceleration method for binary neural networks (BNN) is proposed. First, the computational characteristics and resource consumption patterns of various parallelization schemes during the forward inference process of the convolution layer are systematically analyzed. Leveraging the lowbit-width feature of BNN, a high dimensional data splicing and dimensionality reduction storage scheme is introduced. Subsequently, a channel dimension reduction rotation cache (CDR) structure tailored for BNN is proposed, aiming to achieve the combined benefits of intra-convolution kernel parallelism and inter-feature map parallelism with moderate cache bandwidth expansion. Furthermore, to fully exploit the performance advantages of the CDR structure, a specialized CDR processing unit is designed, and the adder tree structure is optimized. The processing unit supports flexible adjustment of different pipeline levels and can achieve higher-level parallel computing capabilities through a repeated invocation mechanism, adapting to diverse system requirements. Experimental results demonstrate that the BNN accelerator based on the CDR architecture achieves significantly superior computational density and storage density compared to existing state-of-the-art solutions when deployed on the Xilinx XC7Z020 chip. It also exhibits low-power characteristics and enables faster inference speed,making it well-suited for resource-and power constrained embedded platforms.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |