Abstract
Stochastic computing (SC) is a computing domain that exploits probability mathematics to perform arithmetic operations with a single logic gate. The recent IoT and edge computing trends bring up the SC technology introduced in the 1960s due to its power efficiency and error resilience properties. In SC, a stochastic number generator (SNG) converts binary numbers into stochastic streams via a weighted binary generator (WBG) and linear feedback shift register (LFSR). Those application-specific integrated circuit (ASIC) logic gates might not be optimised for the field-programmable gate array (FPGA), causing FPGA resources underutilisation. In contrast, FPGA friendly multiplexer (MUX) could generate stochastic streams directly from binary input with a specialised finite state machine (FSM). However, it is limited on state tracking when the binary resolution expands, bottlenecking the MUX-based SNG's scalability. This paper proposes a novel function block of Weighed Binary Converter (WBC) to port the traditional LFSR to MUX, eliminating FSM bottlenecking and improving MUX SNG's scalability than WBG SNG in FPGA. The designs are synthesised with Xilinx Vivado HLS targeted at Z7010 FPGA SoC. The result shows that WBC enables 50% resource reduction on 4-bit MUX SNG and 62.5% bus width reduction on 8-bit MUX SNG, speeding up the logic setup time by 15.1% and 7.3%, respectively, compared to the ASIC logic transcoded WBG SNG.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Sim, H., Lee, J.: A new stochastic computing multiplier with application to deep convolutional neural networks. In: Proceedings - Design Automation Conference, pp. 1–6 (2017)
Hojabr, R., Givaki, K., Tayaranian, S.M.R., et al.: SkippyNN: an embedded stochastic-computing accelerator for convolutional neural networks. In: Proceedings - Design Automation Conference. ACM, pp. 1–6 (2019)
Chen, T.H., Hayes, J.P.: Design of division circuits for stochastic computing. In: Proceedings of IEEE Computer Society Annual Symposium on VLSI, ISVLSI, pp. 116–121 (2016)
Chu, S.I.: New divider design for stochastic computing. IEEE Trans. Circ. Syst. II Exp. Briefs 67, 147–151 (2020)
Alaghi, A., Hayes, J.: Survey of stochastic computing. ACM Trans. Embedded Comput. Syst. 12(2s), 1–19 (2013)
Ichihara, H., Ishii, S., Sunamori, D., et al.: Compact and accurate stochastic circuits with shared random number sources. In: 2014 32nd IEEE International Conference on Computer Design, ICCD 2014, pp. 361–366 (2014)
Kim, K., Lee, J., Choi, K.: An energy-efficient random number generator for stochastic circuits. In: Proceedings of the Asia and South Pacific Design Automation Conference, ASP-DAC, pp. 256–261 (2016)
Xie, Y., Liao, S., Yuan, B., et al.: Fully-parallel area-efficient deep neural network design using stochastic computing. IEEE Trans. Circ. Syst. II Exp. Briefs 64(12), 1382–1386 (2017). https://doi.org/10.1109/TCSII.2017.2746749
Joe, H., Kim, Y.: Novel stochastic computing for energy-efficient image processors. Electronics (Switzerland) 8, 1–11 (2019)
Salehi, S.A.: Low-cost stochastic number generators for stochastic computing. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 28, 992–1001 (2020)
Yang, M., Li, B., Lilja, D.J., et al.: Towards theoretical cost limit of stochastic number generators for stochastic computing. In: Proceedings of IEEE Computer Society Annual Symposium on VLSI, ISVLSI, , pp. 154–159. IEEE (2018)
Acknowledgement
The author would like to acknowledge the Ministry of Education Malaysia’s financial assistance through Universiti Sains Malaysia RUI grant number 1001/P-ELECT/8014152.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Lee, Y.Y., Abdul Halim, Z., Ab Wahab, M.N. (2022). Novel FPGA-Optimized Stochastic Number Generator for Stochastic Computing. In: Mahyuddin, N.M., Mat Noor, N.R., Mat Sakim, H.A. (eds) Proceedings of the 11th International Conference on Robotics, Vision, Signal Processing and Power Applications. Lecture Notes in Electrical Engineering, vol 829. Springer, Singapore. https://doi.org/10.1007/978-981-16-8129-5_94
Download citation
DOI: https://doi.org/10.1007/978-981-16-8129-5_94
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-8128-8
Online ISBN: 978-981-16-8129-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)