TRUE‐BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
Mehran Moghadam1, Shelby Williams2, Abu Kaisar Mohammad Masum2,�M. Hassan Najafi1, Sercan Aygun2, and Magdy Bayoumi2
1Electrical, Computer, and Systems Engineering Department, Case Western Reserve University, Cleveland, OH, USA
2School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette, LA, USA
1
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
2
Outline
Stochastic Computing (SC)
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
3
11110000, 10101010, 11001010,…
1
0
1
0
1
0
1
0
x=0.5
Comparator
RNG
SC Bit-Streams
Binary to SC conversion
(00000100)2
Base-2
Most- and least-significant bits
01010110
01111101
01010100
R
Introduction
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
4
Limitations of Existing Random Number Generators (RNGs):
• Pseudo-RNGs (e.g., LFSRs): Deterministic, risk bias and correlation.
• Quasi-RNGs (e.g., Sobol sequences): Improved randomness yet incur high hardware cost.
True Random Number Generators (TRNGs):
• Exploit unpredictable physical phenomena (thermal/quantum noise).
• Deliver high entropy and minimal correlation, ideal for SC.
Need: A fast, energy-efficient TRNG tailored for SC applications.
Motivations for True Randomness
Core Idea:
Key Attributes:
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
5
Overview of TRUE-BSG
TRNG Architecture:
Modes of Operation:
Operation Flow:
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
6
Design Details
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
7
Novel approach for Generating desired SC bit-streams
from a single TRNG stream
Comparison of SC bit-stream generation accuracy
Performance Evaluation
Mean Absolute Error (MAE) decreases with increased bit-stream length.
Converting 100,000 inputs in [0,1] into SC bit-streams.
Performance Evaluation of MAE
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
8
SC Arithmetic Operations:
Hardware Cost & Energy Efficiency of Number Generators
Synthesis Results (45nm Technology):
Comparison:
Advantage:
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
9
Application – Image Compositing
Case Study:
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
10
Conclusion & Impact
Contributions:
Implications:
Future Directions:
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
11
TRUE-BSG: A True Random Bit-Stream Generator for Fast and Efficient Stochastic Computing
12
Thanks for your attention!
This paper: