A RISC-V Extended Infrastructure for CNNs Through Pipelined Computing and Data Dependence Optimization
With the rapid development of artificial intelligence (AI), convolutional neural networks (CNNs) have been widely applied in fields like computer vision and recommendation systems. This growth has intensified the demand for hardware acceleration of CNNs. Existing accelerators are either designed as co-processors or improve performance through extended instructions. While these methods can significantly improve performance, they often result in limited programming and execution flexibility. In this paper, we design custom RISC-V instructions specifically for CNNs to maximize data reuse and exploit parallelism. Then, to efficiently execute CNNs instructions, we extend a Pipelined Vector Computing Unit (PPVCU). Finally, we incorporate Pattern Detection Logic (PDL) to identify common data dependence patterns in CNNs, enabling the Data Dependence Computing Unit (DDCU) to process instructions within each pattern in parallel. Experimental results show that our approach achieves, on average, 9.54× performance improvement and 6.7× energy efficiency improvement compared to our baseline, 8.34× performance improvement and 3.1× energy efficiency improvement compared to state-of-the-art designs.
Authors
- Y. Mu
- Dongrui Fan (ORCID: https://orcid.org/0000-0001-5219-0908)
- Tengfei Xia (ORCID: https://orcid.org/0000-0003-2799-3666)
- Xiaochun Ye (ORCID: https://orcid.org/0000-0003-4598-1685)
- Jiayuan Chen (ORCID: https://orcid.org/0000-0002-2581-951X)
- Tianxiang Luo (ORCID: https://orcid.org/0009-0003-7461-3109)
- Zhihua Fan (ORCID: https://orcid.org/0000-0002-5950-7370)
- Xuejun An (ORCID: https://orcid.org/0009-0005-0494-6332)
- Wenming Li (ORCID: https://orcid.org/0000-0003-4069-2251)
Institutions
- China Mobile (China) (CN)
- Chinese Academy of Sciences (CN)
- Institute of Computing Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2025-04-29
- DOI
- https://doi.org/10.1109/tcad.2025.3565470
- Citations
- 1
- Primary Topic
- CCD and CMOS Imaging Sensors
- Type
- article
- Field-Weighted Citation Impact
- 0.73
Funders
- Beijing Nova Program
- National Key Research and Development Program of China