Computing Arithmetic Functions Using Stochastic Logic by Series Expansion

被引:47
|
作者
Parhi, Keshab K. [1 ]
Liu, Yin [1 ]
机构
[1] Univ Minnesota, Dept Elect & Comp Engn, Minneapolis, MN 55455 USA
基金
美国国家科学基金会;
关键词
Stochastic logic; Maclaurin series expansion; Homer's rule; factorization; factor-combining; decorrelation; unipolar-to-bipolar conversion; bipolar-to-unipolar conversion; FAULT-TOLERANT COMPUTATION; ARCHITECTURE;
D O I
10.1109/TETC.2016.2618750
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Stochastic logic implementations of complex arithmetic functions, such as trigonometric, exponential, and sigmoid, are derived based on truncated versions of their Maclaurin series expansions. This paper makes three contributions. First, it is shown that a polynomial can be implemented using multiple levels of NAND gates based on Homer's rule, if the coefficients are alternately positive and negative and their magnitudes are monotonically decreasing. Truncated Maclaurin series expansions of arithmetic functions are used to generate polynomials which satisfy these constraints. The input and output in these functions are represented by unipolar representation. Functions including sine, cosine, tangent hyperbolic, logarithm and exponential can be implemented using this method. Second, for a polynomial that does not satisfy these constraints, it still can be implemented based on Homer's rule if each factor of the polynomial satisfies these constraints. It is shown that functions such as sin pi x/pi, e (ax), tanh ax and sigmoid(ax3) (for values of a > 1) can be implemented using stochastic logic using factorization in combination with Homer's rule. Third, format conversion is proposed for arithmetic functions with input and output represented in different formats, such as cos pi x given x is an element of [0, 1] and sigmoid(x) given x is an element of [-1, 1]. Polynomials are transformed to equivalent forms that naturally exploit format conversions. The proposed stochastic logic circuits outperform the well-known Bernstein polynomial based and finite-state-machine (FSM) based implementations. Furthermore, the hardware complexity and the critical path of the proposed implementations are less than the well-known Bernstein polynomial based and FSM based implementations for most cases.
引用
收藏
页码:44 / 59
页数:16
相关论文
共 50 条
  • [21] Introduction to Stochastic Computing using a Remote Lab with Reconfigurable Logic
    Lobo, Jorge
    INTERNATIONAL JOURNAL OF ONLINE ENGINEERING, 2016, 12 (04) : 23 - 26
  • [22] Computing RBF Kernel for SVM Classification using Stochastic Logic
    Liu, Yin
    Parhi, Keshab K.
    2016 IEEE INTERNATIONAL WORKSHOP ON SIGNAL PROCESSING SYSTEMS (SIPS), 2016, : 327 - 332
  • [23] Scaled Population Arithmetic for Efficient Stochastic Computing
    Zhou, He
    Khatri, Sunil P.
    Hu, Jiang
    Liu, Frank
    2020 25TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC 2020, 2020, : 611 - 616
  • [24] The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic
    Li, Peng
    Lilja, David J.
    Qian, Weikang
    Bazargan, Kia
    Riedel, Marc
    2012 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2012, : 480 - 487
  • [25] On the logic of relations with applications to arithmetic and the theory of series
    Wille, Matthias
    HISTORY AND PHILOSOPHY OF LOGIC, 2014, 35 (02) : 215 - 217
  • [26] ON LOGIC OF CLASSES OF ARITHMETIC FUNCTIONS - PRELIMINARY REPORT
    MULLIN, AA
    NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY, 1970, 17 (03): : 563 - &
  • [27] DEPENDENCE OF ARITHMETIC FUNCTIONS AND DIRICHLET SERIES
    LAOHAKOSOL, V
    PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY, 1992, 115 (03) : 637 - 645
  • [28] The arithmetic of a semigroup of series of Walsh functions
    Il'inskaya, IP
    JOURNAL OF THE AUSTRALIAN MATHEMATICAL SOCIETY SERIES A-PURE MATHEMATICS AND STATISTICS, 2000, 68 : 365 - 378
  • [29] Hybrid Logic Computing of Binary and Stochastic
    Li, Hongge
    Chen, Yuhao
    IEEE EMBEDDED SYSTEMS LETTERS, 2022, 14 (04) : 171 - 174
  • [30] Series expansion for a stochastic sandpile
    Stilck, JF
    Dickman, R
    Vidigal, RR
    JOURNAL OF PHYSICS A-MATHEMATICAL AND GENERAL, 2004, 37 (04): : 1145 - 1157