FPGA Implementation of Hopfield Neural Network with Transcendental Nonlinearity

Songtao Yang,Fuhong Min,Xilin Yang,Jiajie Ying
DOI: https://doi.org/10.1007/s11071-024-10052-9
IF: 5.741
2024-01-01
Nonlinear Dynamics
Abstract:Efficient hardware implementation of brain-like computing is of great assistance to various applications, such as reproducing the dynamic behaviors of neuron models. In this paper, the piecewise linear (PWL) fitting method with the changing slope and constant of different line segments is presented to implement the evaluation of complex nonlinear functions in neurons through field programmable gate arrays (FPGA) platform. The two-memristor-based Hopfield neural network (HNN) model with trigonometric function and transcendental nonlinearity is realized on the Xilinx AX545 FPGA development board, in which the digital hardware structure of tanh(x) and sin(x) function is designed with a single multiplier, adder, and block RAM in FPGA for consuming less resources. The timing design of the function module is optimized for saving resources, in which the same module is employed at different clock signals through a clock delay. Compared with other methods, the results of TM-HNN using the proposed method is in high agreement with the emulated model. Moreover, the digital hardware results of model are regenerated from the oscillator to verify the numerical simulations.
What problem does this paper attempt to address?