Electronic Science and Technology ›› 2025, Vol. 38 ›› Issue (6): 45-51.doi: 10.16180/j.cnki.issn1007-7820.2025.06.007

Previous Articles     Next Articles

Efficient Memory Access Instruction Extension and Hardware Implementation Based on RISC-V

XU Junjie1,2, ZHANG Jiahong1, WEI Jinghe2(), LIU Guozhu2, HE Jian2, YOU Xingyu1,2   

  1. 1. School of Electronics and Information Engineering,Nanjing University of Information Scienof and Technology,Nanjing 210044, China
    2. The 58th Research Institute of China Electronics Technology Group Corporation, Wuxi 214123,China
  • Received:2023-10-31 Revised:2023-12-01 Online:2025-06-15 Published:2025-06-24
  • Supported by:
    National Natural Science Foundation of China(62204233);Natural Science Foundation of Jangsu(BK20211041);Industry Outlook and Key Core Technology Key Projects in Jiangsu(BE2021003-1);Key R&D Plan Industry Outlook and Key Core Technology Projects in Jiangsu(BE2023005-1)

Abstract:

MCU(Micro Control Unit) is a data flow control method often used in the deployment inference of neural network model hardware, and memory access operation is the main execution content of MCU data flow control. In view of the problems such as low efficiency and poor flexibility of memory access instruction supported by MCU with traditional instruction set architecture, this study investigates SIMD(Single Instruction Multiple Data) extension based on RISC-V(Reduced Instruction Set Computer V) instruction set. The efficient memory access instruction is designed according to the instruction expansion coding space reserved by RISC-V. To support the correct execution of the new extension instructions, the related hardware circuit is extended based on the open source Hummingbird E203 kernel of core technology. The performance of the extended kernel is evaluated by comparing the performance of the base kernel and the extended kernel against the same functional software load. The results show that when the extended E203 kernel continuously accesses memory in the 16 Byte address space, the number of instructions is reduced by 65.23%, the execution cycle is reduced by 66.12%, and the energy efficiency of the extended kernel is higher with the increase of the number of accesses.

Key words: instruction extension, RISC-V, SIMD, Hummingbird E203, efficient storage access, hardware deployment, data stream, instruction reduction

CLC Number: 

  • TN431.2