Sing-Yu Pan, Shuenn-Yuh Lee, Yi-Wen Hung, Chou-Ching K. Lin, G. Shieh
{"title":"A Programmable CNN Accelerator with RISC-V Core in Real-Time Wearable Application","authors":"Sing-Yu Pan, Shuenn-Yuh Lee, Yi-Wen Hung, Chou-Ching K. Lin, G. Shieh","doi":"10.1109/RASSE54974.2022.9989732","DOIUrl":null,"url":null,"abstract":"This paper has proposed an epilepsy detection algorithm to identify the seizure attack. The algorithm includes a simplified signal preprocessing process and an 8 layers Convolution Neural Network (CNN). This paper has also proposed an architecture, including a CNN accelerator and a 2-stage reduced instruction set computer-V (RISC-V) CPU, to implement the detection algorithm in real-time. The accelerator is implemented in SystemVerilog and validated on the Xilinx PYNQ-Z2. The implementation consumes 3411 LUTs, 2262 flip-flops, 84 KB block random access memory (BRAM), and only 6 DSPs. The total power consumption is 0.118 W in 10-MHz operation frequency. The detection algorithm provides 99.16% accuracy on fixed-point operations with detection latency of 0.137 ms/class. Moreover, the CNN accelerator has the programable ability, so the accelerator can execute different CNN models to fit various wearable applications for different biomedical acquisition systems.","PeriodicalId":382440,"journal":{"name":"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RASSE54974.2022.9989732","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This paper has proposed an epilepsy detection algorithm to identify the seizure attack. The algorithm includes a simplified signal preprocessing process and an 8 layers Convolution Neural Network (CNN). This paper has also proposed an architecture, including a CNN accelerator and a 2-stage reduced instruction set computer-V (RISC-V) CPU, to implement the detection algorithm in real-time. The accelerator is implemented in SystemVerilog and validated on the Xilinx PYNQ-Z2. The implementation consumes 3411 LUTs, 2262 flip-flops, 84 KB block random access memory (BRAM), and only 6 DSPs. The total power consumption is 0.118 W in 10-MHz operation frequency. The detection algorithm provides 99.16% accuracy on fixed-point operations with detection latency of 0.137 ms/class. Moreover, the CNN accelerator has the programable ability, so the accelerator can execute different CNN models to fit various wearable applications for different biomedical acquisition systems.