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 条
  • [1] Computing Complex Functions using Factorization in Unipolar Stochastic Logic
    Liu, Yin
    Parhi, Keshab K.
    2016 INTERNATIONAL GREAT LAKES SYMPOSIUM ON VLSI (GLSVLSI), 2016, : 109 - 112
  • [2] Computing Hyperbolic Tangent and Sigmoid Functions using Stochastic Logic
    Liu, Yin
    Parhi, Keshab K.
    2016 50TH ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS AND COMPUTERS, 2016, : 1580 - 1585
  • [3] Polynomial Arithmetic Using Sequential Stochastic Logic
    Saraf, Naman
    Bazargan, Kia
    2016 INTERNATIONAL GREAT LAKES SYMPOSIUM ON VLSI (GLSVLSI), 2016, : 245 - 250
  • [4] Computing Polynomials with Positive Coefficients using Stochastic Logic by Double-NAND Expansion
    Salehi, Sayed Ahmad
    Liu, Yin
    Riedel, Marc D.
    Parhi, Keshab K.
    PROCEEDINGS OF THE GREAT LAKES SYMPOSIUM ON VLSI 2017 (GLSVLSI' 17), 2017, : 471 - 474
  • [5] A New Approach of Stochastic Computing for Arithmetic Functions in Wideband RF Transceivers
    Van-Tinh Nguyen
    Van-Phuc Hoang
    Van-Thuan Sai
    Tieu-Khanh Luong
    Minh-Tu Nguyen
    Han Le Duc
    2017 IEEE 60TH INTERNATIONAL MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS (MWSCAS), 2017, : 1525 - 1528
  • [6] Efficient Architectures and Implementation of Arithmetic Functions Approximation Based Stochastic Computing
    Tieu-Khanh Luong
    Van-Tinh Nguyen
    Anh-Thai Nguyen
    Popovici, Emanuel
    2019 IEEE 30TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP 2019), 2019, : 281 - 287
  • [7] Stochastic Functions Using Sequential Logic
    Saraf, Naman
    Bazargan, Kia
    Lilja, David J.
    Riedel, Marc D.
    2013 IEEE 31ST INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2013, : 507 - 510
  • [8] Computing mathematical functions with chemical reactions via stochastic logic
    Solanki, Arnav
    Chen, Tonglin
    Riedel, Marc
    PLOS ONE, 2023, 18 (05):
  • [9] Computing Polynomials Using Unipolar Stochastic Logic
    Liu, Yin
    Parhi, Keshab K.
    ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2017, 13 (03)
  • [10] Efficient CMOS Invertible Logic Using Stochastic Computing
    Smithson, Sean C.
    Onizawa, Naoya
    Meyer, Brett H.
    Gross, Warren J.
    Hanyu, Takahiro
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2019, 66 (06) : 2263 - 2274