| 注册
首页|期刊导航|集成电路与嵌入式系统|基于RISC-Ⅴ自定义指令的数学函数的高效实现

基于RISC-Ⅴ自定义指令的数学函数的高效实现

邢根 胡志远 毕大炜

集成电路与嵌入式系统2025,Vol.25Issue(5):1-7,7.
集成电路与嵌入式系统2025,Vol.25Issue(5):1-7,7.DOI:10.20193/j.ices2097-4191.2024.0089

基于RISC-Ⅴ自定义指令的数学函数的高效实现

Efficient implementation of mathematical functions based on RISC-Ⅴ custom instructions

邢根 1胡志远 1毕大炜1

作者信息

  • 1. 中国科学院上海微系统与信息技术研究所,上海 200050||中国科学院大学,北京 100049
  • 折叠

摘要

Abstract

In industrial control algorithms,the calculation of mathematical functions typically requires a large number of clock cycles,af-fecting the performance of the algorithms.This paper conducts an in-depth analysis and comparison of related methods for calculating floating mathematical functions,and designs a piecewise table lookup polynomial fitting method based on the Remez algorithm.This method is suitable for hardware circuit implementation to calculate mathematical functions.At the same time,the corresponding hard-ware circuits are implemented in the form of RISC-Ⅴ custom instructions,closely coupled with the RISC-Ⅴ processor core.The ex-perimental results show that compared with no custom extension instructions,the processor's delay in calculating mathematical functions is reduced by 93.62%.Compared with the method of calculating mathematical functions using the CORDIC instruction set,the calcula-tion delay is reduced by 79.83%.This achievement provides new ideas and solutions for RISC-Ⅴ architecture embedded microproces-sors with low-cost,high real-time requirements.

关键词

RISC-Ⅴ/软硬件协同优化/数学函数/分段多项式拟合/嵌入式系统

Key words

RISC-Ⅴ/hardware-software co-optimization/mathematical functions/piecewise polynomial fitting/embedded system

分类

电子信息工程

引用本文复制引用

邢根,胡志远,毕大炜..基于RISC-Ⅴ自定义指令的数学函数的高效实现[J].集成电路与嵌入式系统,2025,25(5):1-7,7.

集成电路与嵌入式系统

1009-623X

访问量0
|
下载量0
段落导航相关论文