PDF(4301 KB)
Hardware implementation and optimization of SM3 algorithm based on BSV
LI Kexin, HAN Yueping, NIE Huaihao
Integrated Circuits and Embedded Systems ›› 2024, Vol. 24 ›› Issue (10) : 31-35.
PDF(4301 KB)
PDF(4301 KB)
Hardware implementation and optimization of SM3 algorithm based on BSV
This article proposes an improved plan for the SM3 algorithm using the agile development language BSV.By analyzing the algorithm's operating logic, the algorithm is innovatively split into multiple high-abstraction BSV modules, thereby effectively reducing the design complexity and making it comparable to traditional Verilog design. The code amount is reduced by 60% compared to the previous model. The iterative compression module has a greater impact on the algorithm performance, thus methods such as parallel pipeline and single-round logic optimization are employed for improvement from two aspects, and simulation verification is conducted on the Xilinx ARTIX-7 series FPGA platform with successful serial port debugging. The final results show that only 1 563 LUT resources are consumed to achieve a throughput of 3.2 Gbit/s, which represents up to a threefold improvement in throughput per unit logic resource compared to existing solutions. The maximum operating frequency reaches 375 MHz, with a higher practical value.
SM3 / agile development / BSV / FPGA
| [1] |
王晓燕, 杨先文. 基于FPGA的SM3算法优化设计与实现[J]. 计算机工程, 2012, 38(6):244-246.DOI: 10.3969/j.issn.1000-3428.2012.06.081.
|
| [2] |
刘宗斌, 马原, 荆继武, 等. SM3算法优化设计与实现[J]. 信息网络安全, 2011(9):191-193,218.
|
| [3] |
方轶, 丛林虎, 邓建球, 等. 基于FPGA的SM3算法快速实现方案[J]. 计算机应用与软件, 2020, 37(6):259-262.
|
| [4] |
|
| [5] |
|
| [6] |
Bluespec Inc.Bluespec SystemVerilog and Bluespec Development Workstation User Guide[DB/OL].(2017-7-21)[2024-06-04]. http://csg.csail.mit.edu/6.375/6_375_2019_www/resources/bsv-user-guide.pdf.
|
| [7] |
|
| [8] |
蔡冰清, 白国强. SM3杂凑算法的流水线结构硬件实现[J]. 微电子学与计算机, 2015, 32(1):15-18.DOI:10.19304/j.cnki.issn1000-7180.2015.01.004.
|
| [9] |
|
| [10] |
王汉宁, 孙浩, 邓辰辰, 等. 面向SM3算法的高性能FPGA实现[J]. 微电子学与计算机, 2023, 40(7):105-110.DOI:10.19304/J.ISSN1000-7180.2022.0664.
|
| [11] |
|
| [12] |
丁冬平, 高献伟. SM3算法的FPGA设计与实现[J]. 微型机与应用, 2012, 31(5):26-28.
|
/
| 〈 |
|
〉 |