PDF(4485 KB)
SM4 algorithm FPGA implementation and optimization with agile development
NIE Huaihao, HAN Yueping, LI Kexin
Integrated Circuits and Embedded Systems ›› 2024, Vol. 24 ›› Issue (7) : 80-84.
PDF(4485 KB)
PDF(4485 KB)
SM4 algorithm FPGA implementation and optimization with agile development
This article uses agile development technology to design and improve the SM4 algorithm,and completes the implementation and verification on the Xilinx FPGA platform.In view of the shortcomings of the SM4 algorithm featuring long critical path and low throughput,a register group consisting of 32 registers is inserted into the round function calculation process as a cache area,and the pipeline method is used to shorten the critical path and optimize the S-box module structure,thus greatly improving the work efficiency.Frequency and throughput reach 340 MHz and 1.2 Gbit/s,respectively.At the same time,the new high-level hardware description language BSV is used for development,which greatly reduces the design complexity.Compared with the design using Verilog,the performance is 40% higher and the complexity is 60% lower without notable difference in hardware overhead.Compared with the earlier solution,the resource overhead is reduced by 70%,the performance is doubled,and it has higher application value.
agile development / BSV / SM4 / critical path / FPGA
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
何诗洋, 李晖, 李凤华. SM4算法的FPGA优化实现方法[J]. 西安电子科技大学学报, 2021, 48(3):155-162.
|
| [5] |
|
| [6] |
Bluespec Inc.Bluespec System Verilog and Bluespec Development Workstation User Guide[DB/OL].(2017-07-21)[2023-12-04]. http://csg.csail.mit.edu/6.375/6_375_2019_www/resources/bsv-user-guide.pdf.
|
| [7] |
|
| [8] |
|
| [9] |
申懿鑫, 韩跃平, 唐道光. 高层次综合的SM4算法硬件实现与优化[J]. 单片机与嵌入式系统应用, 2023, 13(8):11-14.
|
| [10] |
|
/
| 〈 |
|
〉 |