面向智能推理的向量整型部件设计与验证
CSTR:
作者:
作者单位:

军事科学院国防科技创新研究院

作者简介:

通讯作者:

中图分类号:

基金项目:


Design and verification of vector integer unit for intelligent inference
Author:
Affiliation:

Defense Innovation Institute,Academy of Military Science

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    向量处理具有并行处理大量数据的特征,在科学计算、机器学习、自然语言处理以及语音识别等智能应用中得到广泛应用。智能推理应用常常需要处理器能快速、精确地完成推理任务,而常规的向量部件为了满足通用性,常采用向量指令全集和松耦合设计,需要较高的面积和功耗开销。基于开源的RISC-V向量扩展指令集,提取智能推理常用的向量指令,去掉了在智能推理中对性能提升较小、使用频率较低且资源开销较大的指令,形成了一个智能推理指令子集,并设计了一套向量整型部件,采用紧耦合的方式集成到RISC-V处理器中,有效降低了面积和功耗开销。基于测试例自动生成框架,搭建了仿真验证环境,验证了向量部件的基本功能和边界异常情况,功能覆盖率达到100%。

    Abstract:

    Vector processing is widely used in intelligent applications such as scientific computing, machine learning, natural language processing, and speech recognition due to their ability to process large amounts of data in parallel.However, intelligent inference applications require processors to quickly and accurately complete inference tasks, while conventional vector components often adopt vector instruction sets and loosely coupled designs to meet generality, which have high area and power consumption overhead.Therefore, based on an open-source RISC-V vector instruction set extension, we extract a set of commonly used vector instructions for intelligent inference applications, removes the instructions that have little performance improvement, low frequency of use and large resource overhead in intelligent reasoning, and propose an intelligent inference instructions subset.Based on the intelligent inference instructions subset, we design a vector integer component that is tightly coupled and integrated into a RISC-V processor.At the same time, based on a previously proposed test case generation framework, a simulation verification environment is built, and the basic functions, boundary anomalies, and exceptions of the vector component is verified.Results show that the functional coverage rate reached 100%.

    参考文献
    相似文献
    引证文献
引用本文
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-10-16
  • 最后修改日期:2024-12-02
  • 录用日期:
  • 在线发布日期: 2025-07-24
  • 出版日期:
文章二维码