Skip to main content

Neural Nets on FPGA a Machine Vision Algorithm Applied On MNIST Dataset Using Hls4ml Library

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2020 (ICCSA 2020)

Abstract

In this paper we describe a machine vision Neural Net al.gorithm implemented in a FPGA. The algorithm is trained on a hand written digit MNIST dataset. For Neural Net Intellectual Property generation it is used the hls4ml library, which is a really powerful tool for fast implementation of Neural Net on FPGA.

This work was supported by the University of Bologna and INFN.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. hls4ml: Software Open Access hls-fpga-machine-learning/hls4ml: v0.2.0 (2020). https://doi.org/10.5281/zenodo.3734261

  2. hls4ml: hls4ml - GitBook. https://fastmachinelearning.org/hls4ml/

  3. Duarte, J., Han, S., Harris, P., et al.: Fast inference of deep neural networks in FPGAs for particle physics. JINST 13 P07027 (2018). arXiv:1804.06913

  4. HLS, V.: Vivado Design Suite User Guide - High-Level Synthesis. https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug902-vivado-high-level-synthesis.pdf (2018)

  5. Vivado.: Vivado Design Suite User Guide - Getting Started. https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2/ug910-vivado-getting-started.pdf (2018)

  6. FPGA: KC705 Evaluation Board for the Kintex-7 FPGA - User Guide. https://www.xilinx.com/support/documentation/boards_and_kits/kc705/ug810_KC705_Eval_Bd.pdf (2019)

  7. ATLAS collaboration. https://cds.cern.ch/record/2285584?ln=it (2017)

  8. Shojaii, R.S.: An associative memory chip for the trigger system of the ATLAS experiment (2016). https://doi.org/10.22323/1.287.0058

Download references

Acknowledgment

The authors thank Giordano Calvanese for his collaboration in this work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elisabetta Ronchieri .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Alfonsi, F., Gabrielli, A., Ronchieri, E. (2020). Neural Nets on FPGA a Machine Vision Algorithm Applied On MNIST Dataset Using Hls4ml Library. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2020. ICCSA 2020. Lecture Notes in Computer Science(), vol 12253. Springer, Cham. https://doi.org/10.1007/978-3-030-58814-4_46

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-58814-4_46

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-58813-7

  • Online ISBN: 978-3-030-58814-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics