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 条
  • [31] A Monolithic Stochastic Computing Architecture for Energy Efficient Arithmetic
    Ravichandran, Harikrishnan
    Zheng, Yikai
    Schranghamer, Thomas F.
    Trainor, Nicholas
    Redwing, Joan M.
    Das, Saptarshi
    ADVANCED MATERIALS, 2023, 35 (02)
  • [32] High-Accurate Stochastic Computing for Artificial Neural Network by Using Extended Stochastic Logic
    Chen, Kun-Chih
    Wu, Chi-Hsun
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [33] The series expansion of analytic functions
    Konig, R
    Krafft, M
    JOURNAL FUR DIE REINE UND ANGEWANDTE MATHEMATIK, 1925, 154 (1/4): : 154 - 173
  • [34] On the expansion of polynomials in series of functions
    Filon, LNG
    PROCEEDINGS OF THE LONDON MATHEMATICAL SOCIETY, 1907, 4 : 396 - 430
  • [35] Series and ε-expansion of the hypergeometric functions
    Kalmykov, MY
    NUCLEAR PHYSICS B-PROCEEDINGS SUPPLEMENTS, 2004, 135 : 280 - 284
  • [36] COMPUTING PI - USING INFINITE SERIES TO COMPUTE MATHEMATICAL FUNCTIONS
    CRAWFORD, DJ
    BYTE, 1985, 10 (05): : 433 - &
  • [37] ON ARITHMETIC PROPERTIES OF TAYLOR SERIES OF RATIONAL FUNCTIONS
    CANTOR, DG
    CANADIAN JOURNAL OF MATHEMATICS, 1969, 21 (02): : 378 - &
  • [38] Some infinite series involving arithmetic functions
    Muthumalai, Ramesh Kumar
    NOTES ON NUMBER THEORY AND DISCRETE MATHEMATICS, 2015, 21 (02) : 8 - 14
  • [39] DOUBLE DIRICHLET SERIES ASSOCIATED WITH ARITHMETIC FUNCTIONS
    Matsumoto, Kohji
    Nawashiro, Akiiiiko
    Tsumura, Hirofumi
    KODAI MATHEMATICAL JOURNAL, 2021, 44 (03) : 437 - 456
  • [40] SERIES EXPANSION OF HYPERGEOMETRIC FUNCTIONS ABOUT THEIR PARAMETERS USING MultiHypExp
    Bera S.
    Acta Physica Polonica B, Proceedings Supplement, 2024, 17 (02):