FPGA based implementation of sigmoid function using different approaches


Aydin S. G. , BİLGE H. Ş.

28th Signal Processing and Communications Applications Conference (SIU), ELECTR NETWORK, 5 - 07 October 2020 identifier identifier

  • Publication Type: Conference Paper / Full Text
  • Doi Number: 10.1109/siu49456.2020.9302106
  • Country: ELECTR NETWORK
  • Keywords: FPGA, sigmoid activation function, piecewise linear approach, floating point numbers

Abstract

In this study, FPGA based implementation of sigmoid activation function, which is frequently used in Artificial Neural Networks (ANNs) applications, is performed by using two different approaches. Designs have been coded using VHDL. For the representation of real numbers in digital systems, a 32-bit single-precision floating-point number system is used. Basic arithmetic units such as addition, multiplication and division have been created for these number systems. In this paper, Altera Cyclone V FPGA integrated circuit has been used for designing feedforward artificial neural network to solve XOR problem. As a result of the study, it is seen that the first approach, which is the piecewise linear approach, produces results for XOR problem with zero error.