首页 | 官方网站   微博 | 高级检索  
     

基于FPGA快速实现定制化RISC-V处理器
引用本文:陆松,蒋句平,任会峰. 基于FPGA快速实现定制化RISC-V处理器[J]. 计算机工程与科学, 2022, 44(10): 1747-1752
作者姓名:陆松  蒋句平  任会峰
作者单位:(1.无锡学院,江苏 无锡 214105;2.国防科技大学计算机学院,湖南 长沙 410073)
基金项目:无锡学院人才启动经费(550220022)
摘    要:随着RISC-V指令集的流行,出现了一批应用于IoT智能硬件、嵌入式系统、人工智能芯片、安全设备及高性能计算等不同领域的开源和商业IP软核。性能、功耗和面积三者之间的平衡需要指令集可裁剪、易扩展,以及软件开发环境的配套支持。为此,按照增加自定义指令、扩展ALU功能单元、连接控制信号和数据通路、FPGA原型验证、定制交叉编译环境和应用程序测试的流程,基于FPGA快速实现了定制化RISC-V处理器。以加速矩阵运算为例,基于FPGA在开源IP蜂鸟E203上设计了一条计算向量内积的自定义指令,并在FPGA上进行了原型验证。应用测试程序表明,定制化的RISC-V处理器的计算性能有显著提升,矩阵乘法运算的性能加速比达到了5.3~7.6。

关 键 词:RISC-V  指令集  定制化  处理器  FPGA
收稿时间:2021-06-01
修稿时间:2021-10-18

Quick customization for RISC-Vprocessor based on FPGA
LU Song,JIANG Ju-ping,REN Hui-feng. Quick customization for RISC-Vprocessor based on FPGA[J]. Computer Engineering & Science, 2022, 44(10): 1747-1752
Authors:LU Song  JIANG Ju-ping  REN Hui-feng
Affiliation:(1.Wuxi University,Wuxi 214105;2.College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)
Abstract:With the rising of the open instruction set RISC-V, a number of open source and commercial soft cores have emerged, which are used in different fields such as IoT hardware, embedded systems, artificial intelligence chips, security devices, and high-performance computers. How to better balance between performance, power consumption, and chip area requires that the instruction set can be easily tailored, extended, and supported by the software development environment. To this end, this paper proposes a quick customization method for RISC-V processor, through adding custom instructions, extending ALU functional units, connecting control signals and data paths, FPGA prototype verification, customizing the cross compiler and application testing. Taking the matrix calculation acceleration as an example, a customized instruction for the vector inner production is designed on the open source IP Hummingbird E203, finishes the prototype verification on FPGA. The matrix calculation benchmark shows that the performance of the customized RISC-V processor has been significantly improved. For matrix multiplication, the performance speedup reaches 5.3~7.6.
Keywords:RISC-V  instruction set  customization  processor  FPGA  
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号