Ye, Anlong, Ma, Lingkun, Qu, Zongyi
Accepted: 2025-03-17
The Least Mean Square algorithm, as a typical adaptive filtering algorithm, has been widely used in the field of noise suppression, and its implementation is mainly based on general-purpose processors, which has the problem of low computational efficiency and performance.The RISC-V architecture, with the advantages of open-source, streamlining, and scalability, is suitable for the implementation of dedicated processors. In this paper, a RISC-V based specialized processor is designed for the LMS algorithm. The customized instruction set F extension is used to process floating point numbers, and MAC (Multiply Accumulate) instructions are added to the coprocessor to complete the acceleration of the LMS algorithm. Experimental studies show that the processor can realize effective noise cancellation, when the input signal-to-noise ratio is 5dB, the signal-to-noise ratio after noise cancellation is 17.5dB; The system uses FPU (Floating Point Unit) to execute the LMS algorithm, the number of instruction execution is 220354, and the execution cycle is 586221, and when this design scheme is used, working in FPU+MAC mode, the number of instruction execution is 31621, and the execution cycle is 89412, which improves the efficiency significantly.