RISC-V Barrel Processor for Deep Neural Network Acceleration

被引:12
|
作者
AskariHemmat, MohammadHossein [1 ]
Bilaniuk, Olexa [2 ]
Wagner, Sean [3 ]
Savaria, Yvon [1 ]
David, Jean-Pierre [1 ]
机构
[1] Ecole Polytech Montreal, Elect Engn Dept, Montreal, PQ, Canada
[2] Univ Montreal, Mila, Montreal, PQ, Canada
[3] IBM Canada, Markham, ON, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
D O I
10.1109/ISCAS51556.2021.9401617
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
This paper presents a barrel RISC-V processor designed to control a deep neural network accelerator. Our design has a 5-stage pipeline data path with 8 hardware threads (harts). Each thread is executed under a strict round robin scheduler and is responsible for providing data and control signals to a neural network processing element (PE). Each PE is capable of arbitrary precision GEneral Matrix Vector (GEMV) operations. The execution of each thread is independent of other threads and any communication between threads are sent through shared memory via software. To reduce the area required for implementation, our processor is an implementation of the RV32I plus a set of custom CSRs for controlling the PEs. Our design passes all riscv test written in assembly and compiled with RISC-V gcc. Our 8-hart barrel processor runs at 250 MHz with CPI of 1 and consumes 0.372W. To demonstrate the capabilities of our design, we computed a GEMV operation with an input matrix size of 8 by 128 and a weight matrix size of 128 by 128 with two-bit precision in only 16 clock cycles.
引用
收藏
页数:5
相关论文
共 50 条
  • [1] RISC-V Barrel Processor for Accelerator Control
    AskariHemmat, MohammadHossein
    Bilaniuk, Olexa
    Wagner, Sean
    Savaria, Yvon
    David, Jean-Pierre
    [J]. 28TH IEEE INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2020, : 212 - 212
  • [2] RISC-V based SoC Platform for Neural Network Acceleration
    Rodriguez, Nicolas
    Gigena Ivanovich, Diego
    Villemur, Martin
    Julian, Pedro
    [J]. 2024 ARGENTINE CONFERENCE ON ELECTRONICS, CAE, 2024, : 142 - 147
  • [3] Faster deep neural network image processing by using vectorized posit operations on a RISC-V processor
    Cococcioni, Marco
    Rossi, Federico
    Ruffaldi, Emanuele
    Saponara, Sergio
    [J]. REAL-TIME IMAGE PROCESSING AND DEEP LEARNING 2021, 2021, 11736
  • [4] Spectre attack detection with Neutral Network on RISC-V processor
    Anh-Tien Le
    Trong-Thuc Hoang
    Ba-Anh Dao
    Tsukamoto, Akira
    Suzaki, Kuniyasu
    Cong-Kha Pham
    [J]. 2022 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS 22), 2022, : 2467 - 2471
  • [5] Maxpool operator for RISC-V processor
    Nevezi-Strango, David
    Rotar, Danut
    Valcan, Sorin
    Gaianu, Mihail
    [J]. 2023 25TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, SYNASC 2023, 2023, : 246 - 250
  • [6] A Low Power Branch Prediction for Deep Learning on RISC-V Processor
    Sun, Mingjian
    Li, Yuan
    Chen, Song
    Kang, Yi
    [J]. 2021 IEEE 32ND INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP 2021), 2021, : 203 - 206
  • [7] RISC-V2: A Scalable RISC-V Vector Processor
    Patsidis, Kariofyllis
    Nicopoulos, Chrysostomos
    Sirakoulis, Georgios Ch
    Dimitrakopoulos, Giorgos
    [J]. 2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [8] A Lightweight Posit Processing Unit for RISC-V Processors in Deep Neural Network Applications
    Cococcioni, Marco
    Rossi, Federico
    Ruffaldi, Emanuele
    Saponara, Sergio
    [J]. IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2022, 10 (04) : 1898 - 1908
  • [9] A RISC-V Processor Design for Transparent Tracing
    Gamino del Rio, Ivan
    Martinez Hellin, Agustin
    Polo, Oscar R.
    Jimenez Arribas, Miguel
    Parra, Pablo
    da Silva, Antonio
    Sanchez, Jonatan
    Sanchez, Sebastian
    [J]. ELECTRONICS, 2020, 9 (11) : 1 - 23
  • [10] A RISC-V ISA Compatible Processor IP
    Birari, Akshay
    Birla, Piyush
    Varghese, Kuruvilla
    Bharadwaj, Amrutur
    [J]. 2020 24TH INTERNATIONAL SYMPOSIUM ON VLSI DESIGN AND TEST (VDAT), 2020,