Development and Implementation of Parameterized FPGA-Based General Purpose Neural Networks For Online Applications
Development and Implementation of Parameterized FPGA-Based General Purpose Neural Networks For Online Applications
1, FEBRUARY 2011
Abstract—This paper presents the development and implemen- tics include the number of layers in a network, the number of
tation of a generalized backpropagation multilayer perceptron neurons per layer, and the activation functions of those neurons,
(MLP) architecture described in VLSI hardware description etc. There remains a lack of a reliable means for determining the
language (VHDL). The development of hardware platforms has
been complicated by the high hardware cost and quantity of the
optimal set of network characteristics for a given application.
arithmetic operations required in online artificial neural networks Numerous implementations of ANNs already exist [5]–[8],
(ANNs), i.e., general purpose ANNs with learning capability. but most of them being in software on sequential processors
Besides, there remains a dearth of hardware platforms for design [2]. Software implementations can be quickly constructed,
space exploration, fast prototyping, and testing of these networks. adapted, and tested for a wide range of applications. However,
Our general purpose architecture seeks to fill that gap and at the in some cases, the use of hardware architectures matching the
same time serve as a tool to gain a better understanding of issues
unique to ANNs implemented in hardware, particularly using parallel structure of ANNs is desirable to optimize performance
field programmable gate array (FPGA). The challenge is thus to or reduce the cost of the implementation, particularly for appli-
find an architecture that minimizes hardware costs, while maxi- cations demanding high performance [9], [10]. Unfortunately,
mizing performance, accuracy, and parameterization. This work hardware platforms suffer from several unique disadvantages
describes a platform that offers a high degree of parameterization, such as difficulties in achieving high data precision with rela-
while maintaining generalized network design with performance
comparable to other hardware-based MLP implementations.
tion to hardware cost, the high hardware cost of the necessary
Application of the hardware implementation of ANN with back- calculations, and the inflexibility of the platform as compared
propagation learning algorithm for a realistic application is also to software.
presented. In our work, we aimed to address some of these disadvan-
Index Terms—Backpropagation, field programmable gate array tages by developing and implementing a field programmable
(FPGA), hardware implementation, multilayer perceptron, neural gate array (FPGA)-based architecture of a parameterized neural
network, NIR spectra calibration, spectroscopy, VHDL, Xilinx network with learning capability. Exploiting the reconfigura-
FPGA. bility of FPGAs, we are able to perform fast prototyping of hard-
ware-based ANNs to find optimal application specific config-
urations. In particular, the ability to quickly generate a range
I. INTRODUCTION
of hardware configurations gives us the ability to perform a
RTIFICIAL NEURAL NETWORKs (ANNs) present
A an unconventional computational model characterized
by densely interconnected simple adaptive nodes. From this
rapid design space exploration navigating the cost/speed/accu-
racy tradeoffs affecting hardware-based ANNs.
The remainder of this paper will begin by more precisely de-
model stem, several desirable traits uncommon in traditional scribing the motivation of our work and the current state-of-the-
computational models; most notably, an ANN’s ability to learn art in the field in Section II. Section III will provide the basics of
and generalize upon being provided examples. Given these ANNs and the backpropagation learning algorithm. Section IV
traits, an ANN is well suited for a range of problems that will cover the system’s hardware design and implementation de-
are challenging for other computational models like pattern tails of interest. In Section V, we will report the results of our ex-
recognition, prediction, or optimization [1]–[4]. perimentation using the selected sample application. Following
An ANN’s ability to learn and solve problems relies in part on this, we will discuss the results as they relate to the system
the structural characteristics of that network. Those characteris- implementation, and consider areas for further improvement in
Section VI, followed by conclusions in Section VII.
Manuscript received May 11, 2010; revised July 22, 2010; accepted II. MOTIVATION
September 15, 2010. Date of publication October 21, 2010; date of current
version February 04, 2011. This work was supported by ABB Corporate In the past, the size constraints and the high cost of FPGAs
Research, Switzerland. Paper no. TII-10-05-0116. when confronted with the high computational and interconnect
A. Gomperts is with Satellite Services B.V., 2201 DK, Noordwijk, The
Netherlands (e-mail: [email protected]).
complexity inherent in ANNs have prevented the practical use
A. Ukil and F. Zurfluh are with ABB Corporate Research, Segelhofstrasse of the FPGA as a platform for ANNs [11], [12]. Instead, the
1K, Baden 5 Daettwil, Switzerland (e-mail: [email protected]; franz. focus has been on development of microprocessor-based soft-
[email protected]). ware implementations for real world applications, while FPGA
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org. platforms largely remained as a topic for further research.
Digital Object Identifier 10.1109/TII.2010.2085006 Despite the prevalence of software-based ANN implemen-
1551-3203/$26.00 © 2010 IEEE
Authorized licensed use limited to: Indian Institute of Information Technology Design & Manufacturing. Downloaded on March 16,2024 at 12:29:47 UTC from IEEE Xplore. Restrictions apply.
GOMPERTS et al.: DEVELOPMENT AND IMPLEMENTATION OF PARAMETERIZED FPGA-BASED GENERAL PURPOSE NEURAL NETWORKS 79
tations, FPGAs and similarly, application specific integrated online backpropagation in [18] and using Xilinx Virtex XCV400
circuits (ASICs) have attracted much interest as platforms for for implementation of pipelined backpropagation ANN in [19].
ANNs because of the perception that their natural potential for Ferreira et al. discussed about optimized algorithm for activa-
parallelism and entirely hardware-based computation imple- tion functions for ANN implementations in FPGA [20]. Girau
mentation provide better performance than their predominantly described FPGA implementation of 2-D multilayer NN [21].
sequential software-based counterparts. As a consequence, Stochastic network implementation was reported by Bade and
hardware-based implementations came to be preferred for Hutchings [22]. Hardware implementation of backpropagation
high performance ANN applications [9]. While it is broadly algorithm was described by Elredge and Hutchings [23]. Later
assumed, it should be noted that an empirical study has yet on, we will compare our implementation with some of these.
to confirm that hardware-based platforms for ANNs provide From the application side, Alizadeh et al. used ANN in
higher levels of performance than software in all the cases [10]. FPGA to predict cetane number in diesel fuel [24]. Tatikonda
Currently, no well defined methodology exists to determine and Agarwal used FPGA-based ANN for motion control and
the optimal architectural properties (i.e., number of neurons, fault diagnosis of induction motor drive [25]. Mellit et al. used
number of layers, type of squashing function, etc.) of a neural ANN in Xilinx Virtex-II XC2V1000 FPGA for modelling and
network for a given application. The only method currently simulation of standalone photovoltaic systems [26]. Rahna-
available to us is a systematic approach of educated trial and maei et al. reported FPGA implementation of ANN to detect
error. Software tools like MATLAB Neural Network Toolbox anthelmintics resistant nematodes in sheep flocks [27].
[13] make it relatively easy for us to quickly simulate and
evaluate various ANN configurations to find an optimal archi- B. Platform
tecture for software implementations. In hardware, there are Our development platform is the Xilinx Virtex-5 SX50T
more network characteristics to consider, many dealing with FPGA [28]. While our design is not directed exclusively at
precision related issues like data and computational precision. this platform and is designed to be portable across multiple
Similar simulation or fast prototyping tools for hardware are FPGA platforms, we will mention some of the characteristics
not well developed. of the Virtex-5 important to the design and performance of our
Consequently, our primary interest in FPGAs lies in their re- system.
configurability. By exploiting the reconfigurability of FPGAs, This model of the Virtex-5 contains 4080 configurable logic
we aim to transfer the flexibility of parameterized software- blocks (CLBs), the basic logical units in Xilinx FPGAs. Each
based ANNs and ANN simulators to hardware platforms. Doing CLB holds eight logic function generators (in lookup tables),
this, we will give the user the same ability to efficiently explore eight storage elements, a number of multiplexers, and carry
the design space and prototype in hardware as is now possible in logic. Relative to the time in which this paper is written, this is
software. Additionally, with such a tool we will be able to gain considered a large FPGA; large enough to test a range of online
some insight into hardware specific issues such as the effect of neural networks of varying size, and likely too large and costly
hardware implementation and design decisions on performance, to be considered for most commercial applications.
accuracy, and design size. Arithmetic is handled using CLBs containing DSP48E slices.
Of particular note is that a single DSP48E slice can be used to
A. Previous Works implement one of two of the most common and costly oper-
Many ANNs have already been implemented on FPGAs. The ations in ANNs: either two’s complement multiplication or a
vast majority are static implementations for specific offline ap- single multiply accumulate (MACC) stage. Our model of the
plications without learning capability [14]. In these cases, the Virtex-5 holds 288 DSP48E slices.
purpose of using an FPGA is generally to gain performance ad-
vantages through dedicated hardware and parallelism. Far fewer III. ARTIFICIAL NEURAL NETWORKS (ANNS)
are examples of FPGA-based ANNs that make use of the recon- Artificial neural networks (ANN’s, or simply NN’s) are in-
figurability of FPGAs. spired by biological nervous systems and consist of simple pro-
Flexible Adaptable Size Topology (FAST) [15] is an FPGA- cessing elements (PE, artificial neurons) that are interconnected
based ANN that utilizes runtime reconfiguration to dynamically by weighted connections. The predominantly used structure is
change its size. In this way, FAST is able to skirt the problem of a multilayered feed-forward network (multilayer perceptron),
determining a valid network topology for the given application a i.e., the nodes (neurons) are arranged in several layers (input
priori. Runtime reconfiguration is achieved by initially mapping layer, hidden layers, output layer), and the information flow
all possible connections and components on the FPGA, then is only between adjacent layers [4]. An artificial neuron is a
only activating the necessary connections and components once very simple processing unit. It calculates the weighted sum of
they are needed. FAST is an adaptation of a Kohonen type neural its inputs and passes it through a nonlinear transfer function
network and has a significantly different architecture than our to produce its output signal. The predominantly used transfer
multilayer perceptron (MLP) network. functions are so-called “sigmoid” or “squashing” functions that
Interesting FPGA implementation schemes, specially using compress an infinite input range to a finite output range, e.g.,
Xilinx FPGAs, are described in the book edited by Ormondi , see [4].
and Rajapakse [16]. Izeboudjen et al. presented an implemen- Neural networks can be “trained” to solve problems that are
tation of an FPGA-based MLP with backpropagation in [17]. difficult to solve by conventional computer algorithms. Training
Gadea et al. reported comparative implementation of pipelined refers to an adjustment of the connection weights, based on a
Authorized licensed use limited to: Indian Institute of Information Technology Design & Manufacturing. Downloaded on March 16,2024 at 12:29:47 UTC from IEEE Xplore. Restrictions apply.
80 IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, VOL. 7, NO. 1, FEBRUARY 2011
(3)
Fig. 3. Block view of the hardware architecture. Solid arrows show which com-
ponents are always generated. Dashed arrows show components that may or may
not be generated depending on the given parameters.
A. Design Architecture
Our design approach is characterized by the separation of
simple modular functional components and more complex in-
Fig. 4. Graphical user interface to generate networks in MATLAB Neural
telligent control oriented components. The functional units con- Network toolbox [13].
sist of signal processing operations (e.g., multipliers, adders,
squashing function realizations, etc.) and storage components
(e.g., RAM containing weights values, input buffers, etc.). Con- data precision, network size, etc., in PC-based ANN designs.
trol components consist of state machines [16] generated to Nevertheless, we wanted to have the same flexible design
match the needs of the network as configured. During design philosophy for the FPGA-based design. Please note, this study
elaboration, functional components matching the provided pa- is limited to implementation of feed-forward MLP with back-
rameters are automatically generated and connected, and the propagation learning algorithm. Also, design parameters like
state machines of control components are tuned to match the number of layers, number of neurons, input-output sizes, types
given architecture. of interconnection, etc., are limited by the hardware resources
Network components are generated in a top-down hierar- available, depending on the type of FPGA used. There are no
chical fashion, as shown in Fig. 3. Each parent is responsible for general rules. One has to derive the limits by experiments.
generating its children to match the parameters entered by the Later on in this paper, we would present some statistics on the
user prior to elaboration and synthesis. Using VHDL generated variations of these design parameters over hardware resource
statements and a set of constants whose values are given by utilizations. Similar statistics for different platforms are also
the user configuration, the top level ANN block generates a reported in [18] and [19].
number of layer blocks as required by the configuration. Each
layer subsequently generates a teacher if learning is enabled B. Data Representation
along with a number of PEs as configured for that layer. Each
Network data is represented using a signed fixed point no-
PE generates a number of MACC blocks equal to the width
tation. This is implemented in VLSI hardware description lan-
of the previous layer as well as a squashing function block.
guage (VHDL), with the IEEE proposed fixed point package
Fig. 3 shows that there is a one-to-one relationship between
[30]. Fixed point notation serves as a compromise between tra-
the logical blocks generated (e.g., Layers, PEs, MACCs) and
ditional integer math and floating point arithmetic, the latter
the functions and architecture of the conceptual ANN model.
being prohibitively costly in terms of hardware [31].
This approach has been chosen over one in which logical
Our network has a selectable data width which is subdivided
blocks are time-multiplexed to allow for a high-performance
into integer and fractional portions. For example, our implemen-
fully pipelined implementation at the cost of greater resource
tation incorporates one sign bit , one integer place , and
demands.
three fractional places
In this context, it is interesting to note how it is done at
PC-based system. Fig. 4 shows the graphical user interface
to generate different networks using the MATLAB Neural
Network toolbox [13]. As shown in Fig. 4, one can choose The network data precision thus becomes (0.125 in our
network type (feed-forward backpropagation, MLP, radial example), where is the number of fraction bits and gives the
basis, etc.), number of layers, number of neurons per layer, the data set a maximum range of
transfer functions, etc. With these inputs, the network structure
is generated. Of course, one gets higher flexibility in terms of (8)
Authorized licensed use limited to: Indian Institute of Information Technology Design & Manufacturing. Downloaded on March 16,2024 at 12:29:47 UTC from IEEE Xplore. Restrictions apply.
82 IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, VOL. 7, NO. 1, FEBRUARY 2011
TABLE I
WORST CASE ERROR OF APPROXIMATED HYPERBOLIC TANGENT FUNCTION
USING A LUT WITH LINEAR INTERPOLATION AND A UNIFORM LUT
TABLE II TABLE IV
AVERAGE ERROR OF APPROXIMATED HYPERBOLIC TANGENT FUNCTION USING RMSE OVER THE TEST SET
A LUT WITH LINEAR INTERPOLATION AND A UNIFORM LUT
TABLE V TABLE VI
RMSE OF AN FPGA-BASED NETWORK WITH SQUASHING FUNCTIONS IN THE A COMPARISON OF ANN PLATFORMS AND IMPLEMENTATIONS
HIDDEN LAYER IMPLEMENTED USING A LUT WITH LINEAR INTERPOLATION
AND THE SAME NETWORK IMPLEMENTED USING UNIFORM LUTS
TABLE VII
HARDWARE RESOURCE UTILIZATION IN 12-BIT SPECTROMETRY APPLICATION USING XILINX XC5VSX50T-2FF1136
TABLE VIII
RESOURCES USED IN DIFFERENT NN IMPLEMENTATION AND APPLICATIONS
is likely due in part to the expansion of the data path for inter- potential to have its own squashing function, implementation
mediate results in our network. type, and level of accuracy. As a result of choices to maximize
flexibility, network designs generated on our platform are likely
B. Hardware Implementation to be somewhat larger than any application specific designs.
To measure the performance of ANNs across the wide range Parallelism in the network is implemented at the synaptic
of platforms that they have been implemented on, there are two level, this represents the maximum level of parallelism for
common criteria: connections per second (CPS) and connection neural networks. Using synaptic level parallelism, all neurons
updates per second (CUPS). CPS is defined as the number of and synaptic connections in a network layer operate in parallel
multiply–add operations that occur in the forward pass of a net- with the goal of maximizing performance. Performance in the
work per second. CUPS is the number of weight updates per offline network is further improved with the use of a fully
second in the network. Two additional derivations of these met- pipelined design.
rics exist. First, to account for the number of connections in the As an example of the hardware resource demands of a
network that must be computed or updated we may calculate network generated using our system, we take the online im-
connections per second per weight (CPSPW) or connection up- plementations of the 12-bit spectrometry application network.
dates per second per weight (CUPSPW). Second, we may take Table VII shows the quantities of selected components gener-
into account the precision of the network by calculating the con- ated during synthesis to implement the networks of different
nection primitives per second (CPPS) or the connection primi- sizes as well as the total percentage of area consumed against
tives per second per weight (CPPSPW) to account for both the the available resources on the Virtex-5 xc5vsx50t-2ff1136
number of connections in the network and the precision of the platform [28].
network data [38]. The amount of hardware resources consumed by a network
Table VI presents a performance comparison between our implemented using our platform is strongly influenced by
network and other implementations using these metrics. The many factors. The two most influential of these factors are
performance data of our network reflects the 12-bit imple- the dimensions (governed by network structure) and the data
mentation of the spectrometry application presented earlier in width of the network. Naturally, as shown in Table VII, net-
Section V-B. works of greater size result in greater hardware requirements.
Due to the parallel implementation of FPGA-based neural The structure 10-3-1 has been used for the results shown in
networks like ours and the implementation presented in [17], Tables IV and V. For brevity purpose, networks of lower sizes
the CPS metric increases as a function of the number of synaptic are not shown.
connections. This is because as more neurons are implemented Besides, parallel calculation of the backpropagation makes
in parallel, more MACC operations can occur simultaneously, consecutive wide layers especially costly, requiring a number
thereby increasing the number of operations per second. The of MACCs equal to the product of the width of the two widest
CPSPW metric is a means for normalizing this behavior by di- consecutive layers. When choosing the data width of the net-
viding by the number of weights. However, in parallel imple- work, careful consideration should be made to match the data
mentations, this metric punishes networks with wide input vec- width to the width of hardware arithmetic units on the target
tors by including weights in the normalization that are not con- FPGA. Wider data widths than the width of hardware arithmetic
nected to multiply–add operations on the input side. units necessitate additional sets of those units to implement the
The implementation of our system maximizes flexibility and design, thereby significantly increasing the final hardware re-
parallelism over hardware cost. This is seen, for example, in that quirements of the implementation.
when a squashing function implementation for a layer of PEs Examples of hardware resource consumptions in other neural
requires a LUT, each PE is given a dedicated LUT as opposed network implementation and applications, reported by the syn-
to sharing it with other PEs. We do this to allow each PE the thesis results of various works, are briefly shown in Table VIII.
Authorized licensed use limited to: Indian Institute of Information Technology Design & Manufacturing. Downloaded on March 16,2024 at 12:29:47 UTC from IEEE Xplore. Restrictions apply.
88 IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, VOL. 7, NO. 1, FEBRUARY 2011
It is to be noted that Table VIII employs many different network lion online. These speeds represent comparable performance to
structures for various applications. Hence, it should not be used other hardware-based MLP implementations. We have also con-
as a direct comparison to Table VII. firmed that our system is capable of producing accurate con-
Nevertheless, there are probably no parametric rules to vergence in training on a par close to MATLAB simulations.
estimate how network implementation in FPGA scales up. Statistics on hardware resource utilizations from the synthesis
Therefore, the statistics on hardware resource utilizations from reports of different network sizes are presented. These could be
the synthesis reports, as shown in Tables VII and VIII, should used to estimate hardware demands (for specific platforms) with
be used to estimate hardware demands (for specific platforms) growing network structure.
with growing network structure. Of course, for a particular Also presented was a new method for approximation of a
platform, there would be resource limitation, putting constraints sigmoid function in hardware. We showed that by applying a
on the upper limit of the possible network size. However, a linear interpolation technique to a uniform LUT, we could sig-
rough overview on the possible hardware requirements, e.g., in nificantly reduce the size of the necessary LUT, while main-
Tables VII and VIII, could be a rough guide in choosing the taining the same degree of accuracy at the cost of implementing
appropriate FPGA platform for any particular application and one adder and one multiplier.
network structure requirements.
ACKNOWLEDGMENT
C. Future Directions
The authors would like to thank the anonymous reviewers
Some interesting additions could bring the accuracy of for the constructive review, helping to upgrade the paper. This
this hardware-based network implementation closer to that paper is based on work carried out by Alexander Gomperts at
of software-based ones. The first step in this direction would ABB Corporate Research, Switzerland from September 2008
include the implementation of a momentum factor in the to February 2009 under the supervision of A. Ukil and F. Zur-
backpropagation training algorithm. The momentum factor fluh in partial fulfillment of the requirements of a Master’s of
speeds up learning and brings us to a better convergence by Electrical Engineering degree from the Technische Universiteit
rewarding training that consistently reduces error and punishes Eindhoven, The Netherlands. Supervision on the side of the Uni-
any increases in error. This could not be covered in this work versity was provided by L. Jóźwiak. An internship preceded this
mainly because of hard time-limits for the thesis. thesis work.
A second more complex step is the implementation of batch
learning. Batch learning is a common approach in software- REFERENCES
[1] I. A. Basheer and M. Hajmeer, “Artificial neural networks: Fundamen-
based implementations, and as we saw in Section V-B, effec- tals, computing, design, and application,” J. Microbio. Methods, vol.
tive in finding good convergence. When combined with a mo- 43, pp. 3–31, Dec. 2000.
mentum factor, batch learning is particularly adept at fast and [2] M. Paliwal and U. A. Kumar, “Neural networks and statistical tech-
niques: A review of applications,” Expert Systems With Applications,
accurate convergence. The implementation of batch learning on vol. 36, pp. 2–17, 2009.
an FPGA platform faces challenges in either calculating inter- [3] B. Widrow, D. E. Rumelhart, and M. A. Lehr, “Neural networks: Ap-
mediate weights quickly enough in order not to cause buffering plications in industry, business and science,” Commun. ACM, vol. 37,
no. 3, pp. 93–105, 1994.
of the weight array and network output, or, implementing ex- [4] A. Ukil, Intelligent Systems and Signal Processing in Power Engi-
ternal memory to buffer the necessary data without slowing the neering, 1st ed. New York: Springer, 2007.
[5] B. Schrauwen, M. D’Haene, D. Verstraeten, and J. V. Campenhout,
system to the point that a software-based solution becomes a “Compact hardware liquid state machines on FPGA for real-time
better choice. speech recognition,” Neural Networks, vol. 21, no. 2–3, pp. 511–523,
Because of our primary interest to implement and test ANN 2008.
[6] C. Mead and M. Mahowald, “A silicon model of early visual pro-
with learning on FPGA, we skipped real-time input data com- cessing,” Neural Networks, vol. 1, pp. 91–97, 1988.
munication to the FPGA, which would have required consid- [7] J. B. Theeten, M. Duranton, N. Mauduit, and J. A. Sirat, “The LNeuro
erable effort to design such communication module. Such real- chip: A digital VLSI with on-chip learning mechanism,” in Proc. Int.
Conf. Neural Networks, 1990, vol. 1, pp. 593–596.
time online input data feeding is important to check how fast the [8] J. Liu and D. Liang, “A survey of FPGA-based hardware implementa-
FPGA can process new data. However, that is somewhat depen- tion of ANNs,” in Proc. Int. Conf. Neural Networks Brain, 2005, vol.
2, pp. 915–918.
dent on the clock frequency of the FPGA platform, not the direct [9] P. Ienne, T. Cornu, and G. Kuhn, “Special-purpose digital hardware
focus of this work. This would be part of the future work, where for neural networks: An architectural survey,” J. VLSI Signal Process.,
we plan to test the ANN implemented in FPGA with real-time vol. 13, no. 1, pp. 5–25, 1996.
[10] A. R. Ormondi and J. Rajapakse, “Neural networks in FPGAs,” in Proc.
input data communication. Int. Conf. Neural Inform. Process., 2002, vol. 2, pp. 954–959.
[11] B. J. A. Kroese and P. van der Smagt, An Introduction to Neural Net-
VII. CONCLUSION works, 4th ed. Amsterdam, the Netherlands: The University of Ams-
terdam, Sep. 1991.
In this paper, we have presented the development and im- [12] J. Zhu and P. Sutton, “FPGA implementations of neural networks—A
plementation of a parameterized FPGA-based architecture for survey of a decade of progress,” Lecture Notes in Computer Science,
vol. 2778/2003, pp. 1062–1066, 2003.
feed-forward MLPs with backpropagation learning algorithm. [13] “MATLAB Neural Network Toolbox User Guide,” ver. 5.1, The Math-
Our architecture makes native prototyping and design space ex- Works Inc., Natick, MA, 2006.
ploration in hardware possible. Testing of the system using the [14] A. Rosado-Munoz, E. Soria-Olivas, L. Gomez-Chova, and J. V.
Frances, “An IP core and GUI for implementing multilayer perceptron
spectrometry sample application showed that the system can with a fuzzy activation function on configurable logic devices,” J.
reach 530 million connections per second offline and 140 mil- Universal Comput. Sci., vol. 14, no. 10, pp. 1678–1694, 2008.
Authorized licensed use limited to: Indian Institute of Information Technology Design & Manufacturing. Downloaded on March 16,2024 at 12:29:47 UTC from IEEE Xplore. Restrictions apply.
GOMPERTS et al.: DEVELOPMENT AND IMPLEMENTATION OF PARAMETERIZED FPGA-BASED GENERAL PURPOSE NEURAL NETWORKS 89
[15] E. Sanchez, “FPGA implementation of an adaptable-size neural net- [36] M. Holler, S. Tam, H. Castro, and R. Benson, An Electrically Train-
work,” in Proc. Int. Conf. ANN, 1996, vol. 1112, pp. 383–388. able Artificial Neural Network (ETANN) With 10240 “Floating Gate”
[16] A. R. Ormondi and J. Rajapakse, FPGA Implementations of Neural Synapses. Piscataway, NJ: IEEE Press, 1990, pp. 50–55.
Networks. New York: Springer, 2006. [37] D. Hammerstrom, “A VLSI architecture for high-performance, low-
[17] N. Izeboudjen, A. Farah, H. Bessalah, A. Bouridene, and N. Chikhi, cost, on-chip learning,” in Proc. Int. Joint Conf. NN, 1990, vol. 2, pp.
“Towards a platform for FPGA implementation of the MLP based back 537–544.
propagation algorithm,” Lecture Notes in Computer Science, vol. 4507/ [38] E. van Keulen, S. Colak, H. Withagen, and H. Hegt, “Neural network
2007, pp. 497–505, 2007. hardware performance criteria,” in Proc. IEEE World Congr. Comput.
[18] R. Gadea, R. C. Palero, J. C. Boluda, and A. S. Cortes, “FPGA im- Intell., 1994, vol. 3, pp. 1955–1958.
plementation of a pipelined on-line backpropagation,” J. VLSI Signal
Process., vol. 40, pp. 189–213, 2005.
[19] R. Gadea, J. Cerda, F. Ballester, and A. Mocholi, “Artificial neural net-
work implementation on a single FPGA of a pipeline on-line backprop-
agation,” in Proc. Int. Symp. Syst. Synthesis, 2000, pp. 225–230.
[20] P. Ferreiraa, P. Ribeiroa, A. Antunes, and F. M. Dias, “A high bit res-
olution FPGA implementation of a FNN with a new algorithm for the
activation function,” Neurocomputing, vol. 71, pp. 71–77, 2007. Alexander Gomperts received the B.Sc. degree
[21] B. Girau, “Building a 2D-compatible multilayer neural network,” in in electrical engineering from the Worcester Poly-
Proc. Int. Joint Conf. Neural Networks, 2000, pp. 59–64. technic Institute, Worcester, MA, in 2004 and the
[22] S. L. Bade and B. L. Hutchings, “FPGA-based stochastic neural net- M.Sc. degree in electrical engineering from the
work implementation,” in Proc. IEEE Workshop FPGAs for Custom Technische Universiteit Eindhoven, Eindhoven, The
Comput. Mach., 1994, pp. 189–198. Netherlands, in 2009.
[23] J. G. Elredge and B. L. Hutchings, “RRANN A hardware implemen- Currently, he is a Hardware Engineer at Satellite
tation of the backpropagation algorithm using reconfigurable FPGAs,” Services B.V., Noordwijk, The Netherlands.
in Proc. IEEE World Conf. Comput. Intell., 1994, pp. 77–80.
[24] G. Alizadeh, J. Frounchi, M. B. Nia, M. H. Zariff, and S. Asgarifar,
“An FPGA implementation of an artificial neural network for predic-
tion of cetane number,” in Proc. Int. Conf. Comp. Comm. Eng., 2008,
pp. 605–608.
[25] S. Tatikonda and P. Agarwal, “Field programmable gate array (FPGA)
based neural network implementation of motion control and fault diag- Abhisek Ukil (S’05–M’06–SM’10) received the
nosis of induction motor drive,” in Proc. IEEE Conf. Ind. Tech., 2008, B.E. degree in electrical engineering from Jadavpur
pp. 1–6. University, Calcutta, India, in 2000, the M.Sc. degree
[26] A. Mellit, H. Mekki, A. Messai, and H. Salhi, “FPGA-based implemen- in electronic systems and engineering management
tation of an intelligent simulator for stand-alone photovoltaic system,” from the University of Bolton, Bolton, U.K., and
Expert Systems With Applications, vol. 37, pp. 6036–6051, 2010. the Ph.D. degree from the Tshwane University of
[27] A. Rahnamaei, N. Pariz, and A. Akbarimajd, “FPGA implementation Technology, Pretoria, South Africa, in 2006.
of an ANN for detection of anthelmintics resistant nematodes in sheep After joining in 2006, he is currently a Prin-
flocks,” in Proc. IEEE Conf. Ind. Electronics Applications, 2009, pp. cipal Scientist at the Integrated Sensor Systems
1899–1904. Group, ABB Corporate Research, Baden-Daettwil,
[28] “Virtex-5 FPGA User Guide,” Xilinx, 2007. Switzerland. He is author/coauthor of more than
[29] D. E. Rumelhart, G. E. Hinton, and R. J. Williams, “Learning internal 35 published scientific papers including a monograph Intelligent Systems and
representations by error propagation,” Nature, vol. 323, pp. 533–536, Signal Processing in Power Engineering (Springer: Heidelberg, Germany,
1986, newblock MIT Press. 2007), and inventor/co-inventor of six patents. His research interests include
[30] D. Bishop, “Fixed point package.” [Online]. Available: http://www. signal processing, machine learning, power systems, and embedded systems.
eda.org/vhdl-200x/vhdl-200x-ft/packages/fixed_pkg.vhd
[31] K. Nichols, M. Moussa, and S. Areibi, “Feasibility of floating-point
arithmetic in FPGA based artificial neural networks,” in Proc. Int. Conf.
Computer Applications in Industry and Engineering, 2002, pp. 8–13. Franz Zurfluh received the B.Sc. degree in electrical
[32] M. Tommiska, “Efficient digital implementation of the sigmoid func- engineering from the University of Applied Sciences
tion for reprogrammable logic,” in Proc. IEE Comput. Digital Tech., Northwestern Switzerland, Windisch, Switzerland, in
2003, vol. 150, pp. 403–411. 1985.
[33] J. Holt and J. Hwang, “Finite precision error analysis of neural net- He has worked in the research and development
work hardware implementations,” IEEE Trans. Computers, vol. 42, pp. areas for different companies mainly in the em-
281–290, 1993. bedded electronics sector. After joining in 2000, he
[34] “Tecator data set” Carnegie Mellon University. [Online]. Available: is currently a Principal Scientist at the Integrated
http://lib.stat.cmu.edu/datasets/tecator Sensor Systems Group, ABB Corporate Research
[35] A. Ukil, J. Bernasconi, H. Braendle, H. Buijs, and S. Bonenfant, Center, Baden-Daettwil, Switzerland. His current
“Improved calibration of near-infrared spectra by using ensembles of research interests include VLSI signal processing
neural network models,” IEEE Sensors J., vol. 10, no. 3, pp. 578–584, and control, design of FPGA-based systems for power control and automation
Mar. 2010. applications.
Authorized licensed use limited to: Indian Institute of Information Technology Design & Manufacturing. Downloaded on March 16,2024 at 12:29:47 UTC from IEEE Xplore. Restrictions apply.