Duc-Thinh Nguyen-Hoang, Khai-Minh Ma, Duy-Linh Le, Hong-Hai Thai, Tran-Bao-Thuong Cao, Duc Hung Le
{"title":"Implementation of a 32-Bit RISC-V Processor with Cryptography Accelerators on FPGA and ASIC","authors":"Duc-Thinh Nguyen-Hoang, Khai-Minh Ma, Duy-Linh Le, Hong-Hai Thai, Tran-Bao-Thuong Cao, Duc Hung Le","doi":"10.1109/ICCE55644.2022.9852060","DOIUrl":null,"url":null,"abstract":"This paper describes the use of a combination of hardware construction languages SpinalHDL and Verilog HDL to implement a 32-bit Linux-capable RISC-V processor with cryptography accelerators on an FPGA. LiteX and SpinalHDL are two intertwined frameworks in the design flow. The CPU core was created with SpinalHDL, while the integration of IP and CPU cores was performed with LiteX. Verilog source code was generated with the configured 32-bit RISC-V architecture after the design was completed on the high-level framework. This 32-bit RISC-V architecture was successfully built on a Nexys4DDR FPGA and ASIC using a 65nm CMOS process operating at 50MHz. It incorporated Verilog HDL-based hardware accelerators with customized assembly instructions for conventional cryptographic functions such as SHA-1, AES-128, and RSA-2048 cores. The functions of the accelerators were tested using a modified OpenSSL and LibreSSL library on Linux.","PeriodicalId":388547,"journal":{"name":"2022 IEEE Ninth International Conference on Communications and Electronics (ICCE)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE Ninth International Conference on Communications and Electronics (ICCE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCE55644.2022.9852060","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
This paper describes the use of a combination of hardware construction languages SpinalHDL and Verilog HDL to implement a 32-bit Linux-capable RISC-V processor with cryptography accelerators on an FPGA. LiteX and SpinalHDL are two intertwined frameworks in the design flow. The CPU core was created with SpinalHDL, while the integration of IP and CPU cores was performed with LiteX. Verilog source code was generated with the configured 32-bit RISC-V architecture after the design was completed on the high-level framework. This 32-bit RISC-V architecture was successfully built on a Nexys4DDR FPGA and ASIC using a 65nm CMOS process operating at 50MHz. It incorporated Verilog HDL-based hardware accelerators with customized assembly instructions for conventional cryptographic functions such as SHA-1, AES-128, and RSA-2048 cores. The functions of the accelerators were tested using a modified OpenSSL and LibreSSL library on Linux.