• 基于指令串行融合的RISC-V向量处理器计算方法

    A RISC-V vector processor computation method based on instruction serial fusion

    • 在传统冯诺依曼计算机架构中,卷积神经网络、矩阵计算与快速傅里叶变换等算法存在频繁的数据重用,导致向量处理器流水线中产生大量写后读指令,易引发数据冲突。同时,数据在向量寄存器和计算单元之间的反复传输带来了显著的功耗开销。针对上述问题,提出了一种面向向量计算的数据冲突解决机制。通过利用数据重用减少数据流动,从而降低计算芯片功耗。将该方法应用于RISC-V向量处理器的仿真实验表明:在128×128矩阵乘法计算时,整体芯片功耗降低约5.8%;在计算神经卷积网络算法时,功耗降低约6.2%。该方法具有轻量化的特点,所引入的面积开销可忽略不计。

       

      Abstract: Instract: Within the conventional von Neumann computer architecture, algorithms such as Convolutional Neural Networks, matrix operations, and Fast Fourier Transforms exhibit frequent data reuse, which results in numerous read-after-write instructions in vector processor pipelines and is prone to data hazards. Additionally, repeated data transfers between vector registers and computational units incur substantial power consumption overheads. To address these issues, a data hazard resolution mechanism tailored for vector computing is proposed. By leveraging data reuse to minimize data movement, the power consumption of the computing chip is effectively reduced. Simulation experiments applying this method to a RISC-V vector processor demonstrate that, during 128×128 matrix multiplication, overall chip power consumption is reduced by approximately 5.8%, and when computing neural convolutional network algorithms, power consumption is reduced by about 6.2%. The proposed approach features a lightweight design, with negligible area overhead introduced.

       

    /

    返回文章
    返回