Logical computation on stochastic bit streams with linear finite-state machines

Peng Li, David J Lilja, Weikang Qian, Marc Riedel, Kia Bazargan

Research output: Contribution to journalArticle

27 Scopus citations

Abstract

Most digital systems operate on a positional representation of data, such as binary radix. An alternative is to operate on random bit streams where the signal value is encoded by the probability of obtaining a one versus a zero. This representation is much less compact than binary radix. However, complex operations can be performed with very simple logic. Furthermore, since the representation is uniform, with all bits weighted equally, it is highly tolerant of soft errors (i.e., bit flips). Both combinational and sequential constructs have been proposed for operating on stochastic bit streams. Prior work has shown that combinational logic can implement multiplication and scaled addition effectively while linear finite-state machines (FSMs) can implement complex functions such as exponentiation and tanh effectively. Prior work on stochastic computation has largely been validated empirically.This paper provides a rigorous mathematical treatment of stochastic implementation of complex functions such as exponentiation and tanh implemented using linear FSMs. It presents two new functions, an absolute value function and exponentiation based on an absolute value, motivated by specific applications. Experimental results show that the linear FSM-based constructs for these functions have smaller area-delay products than the corresponding deterministic constructs. They also are much more tolerant of soft errors.

Original languageEnglish (US)
Article number6307798
Pages (from-to)1473-1485
Number of pages13
JournalIEEE Transactions on Computers
Volume63
Issue number6
DOIs
StatePublished - Jun 2014

    Fingerprint

Keywords

  • Stochastic computing
  • finite-state machine (FSM)
  • stochastic bit streams

Cite this