| 注册
首页|期刊导航|计算机工程与科学|用于低间隔加速部件控制的多线程无中断RISC-V处理器

用于低间隔加速部件控制的多线程无中断RISC-V处理器

张伟伟 陈虎

计算机工程与科学2025,Vol.47Issue(5):787-796,10.
计算机工程与科学2025,Vol.47Issue(5):787-796,10.DOI:10.3969/j.issn.1007-130X.2025.05.003

用于低间隔加速部件控制的多线程无中断RISC-V处理器

A multi-threaded interrupt-free RISC-V processor for low-latency acceleration component control

张伟伟 1陈虎1

作者信息

  • 1. 华南理工大学软件学院,广东 广州 510006
  • 折叠

摘要

Abstract

To meet the demand for controlling low-latency acceleration components,this paper pro-poses a multi-threaded interrupt-free RV32I microprocessor(MIRV)architecture and its associated soft-ware system.MIRV adopts a six-stage pipeline,single-issue in-order execution structure,utilizing data forwarding techniques to resolve most intra-thread data hazards.The hardware supports four-thread register files and program counters,employing a coarse-grained thread scheduling mechanism that ena-bles zero-overhead thread switching when intra-thread data or control hazards cannot be resolved.Addi-tionally,this paper introduces a hardware-software unified signaling mechanism,leveraging dedicated CSR(Control and Status Register)registers to facilitate thread suspension and rapid wake-up for signals from external acceleration components.Software-based signal handling is implemented to achieve multi-thread synchronization and mutual exclusion.After synthesis,MIRV occupies 1 811 LUTs and achieves a 210 MHz clock frequency.Compared to PicoRV32 and DarkRISCV,MIRV demonstrates higher ope-rating frequency and superior performance.We implemented a producer-consumer-based LED chaser control test case in C on the MK7160FA development board.In this experiment,the latency from hard-ware timer signal generation to software-driven external LED control signals was only 10 clock cycles,validating MIRV's low-latency response capability to external hardware events.With low hardware re-source consumption,high performance,and high-level language programmability,MIRV is well-suited as a controller for various low-latency acceleration components.

关键词

低间隔/多线程/无中断支持/RISC-V/微控制器

Key words

low-latency/multi-threading/interrupt-free support/RISC-V/microcontroller

分类

计算机与自动化

引用本文复制引用

张伟伟,陈虎..用于低间隔加速部件控制的多线程无中断RISC-V处理器[J].计算机工程与科学,2025,47(5):787-796,10.

计算机工程与科学

OA北大核心

1007-130X

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