Evaluation of On-Chip Accelerator Performance Based on RocketChip

Jinghe Wei, Zongguang Yu, De Liu
{"title":"Evaluation of On-Chip Accelerator Performance Based on RocketChip","authors":"Jinghe Wei, Zongguang Yu, De Liu","doi":"10.1109/ICCS51219.2020.9336609","DOIUrl":null,"url":null,"abstract":"In the fields of artificial intelligence and signal processing where computing tasks are dense or algorithms are complex, researchers usually design heterogeneous SoC of CPU + accelerator to improve the efficiency of system. In heterogeneous SoC, accelerators often act as coprocessors or channel accelerators. In this paper, in order to study the coupling relationship between accelerators and CPU, we respectively design CORDIC algorithm accelerators of coprocessor, CORIDC channel accelerator, vector dot product accelerators of coprocessor and channel accelerator based on RISC-V open source project - RocketChip. The acceleration effect of each accelerator is simulated by Modelsim. It is verified that the acceleration ratio of CORDIC algorithm coprocessor to CPU is about 151 times, and the accelerator ratio of CORDIC channel accelerator is about 103 times. The longer the vector length is, the more significant the acceleration effect of the vector dot product accelerator is, and the acceleration effect of the vector dot product channel accelerator is significantly better than that of the vector dot product coprocessor. We find that the performance of the coprocessor is limited by the speed of data access. Moreover, when the coprocessor is not tightly coupled to the CPU, additional time overhead is introduced.","PeriodicalId":193552,"journal":{"name":"2020 IEEE 2nd International Conference on Circuits and Systems (ICCS)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE 2nd International Conference on Circuits and Systems (ICCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCS51219.2020.9336609","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

In the fields of artificial intelligence and signal processing where computing tasks are dense or algorithms are complex, researchers usually design heterogeneous SoC of CPU + accelerator to improve the efficiency of system. In heterogeneous SoC, accelerators often act as coprocessors or channel accelerators. In this paper, in order to study the coupling relationship between accelerators and CPU, we respectively design CORDIC algorithm accelerators of coprocessor, CORIDC channel accelerator, vector dot product accelerators of coprocessor and channel accelerator based on RISC-V open source project - RocketChip. The acceleration effect of each accelerator is simulated by Modelsim. It is verified that the acceleration ratio of CORDIC algorithm coprocessor to CPU is about 151 times, and the accelerator ratio of CORDIC channel accelerator is about 103 times. The longer the vector length is, the more significant the acceleration effect of the vector dot product accelerator is, and the acceleration effect of the vector dot product channel accelerator is significantly better than that of the vector dot product coprocessor. We find that the performance of the coprocessor is limited by the speed of data access. Moreover, when the coprocessor is not tightly coupled to the CPU, additional time overhead is introduced.
基于RocketChip的片上加速器性能评价
在计算任务密集或算法复杂的人工智能和信号处理领域,研究人员通常会设计CPU +加速器的异构SoC来提高系统效率。在异构SoC中,加速器通常充当协处理器或通道加速器。本文为了研究加速器与CPU之间的耦合关系,基于RISC-V开源项目RocketChip,分别设计了协处理器的CORDIC算法加速器、CORIDC通道加速器、协处理器的矢量点积加速器和通道加速器。利用Modelsim软件对各加速器的加速效果进行仿真。验证了CORDIC算法协处理器对CPU的加速比约为151倍,CORDIC通道加速器的加速比约为103倍。矢量长度越长,矢量点积加速器的加速效果越显著,且矢量点积通道加速器的加速效果明显优于矢量点积协处理器。我们发现协处理器的性能受到数据访问速度的限制。此外,当协处理器没有与CPU紧密耦合时,会引入额外的时间开销。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信