Title: Designing Logic Circuits for Probabilistic Computation in the Presence of Noise
1Designing Logic Circuits for Probabilistic
Computation inthe Presence of Noise
- Kundan Nepal
- Iris Bahar
- Joseph Mundy
- William R. Patterson
- Alexander Zaslavsky
- Brown University
- Division of Engineering
- Providence, RI 02912
2Motivation
- Current computer architecture approaches are
reaching their practical limits.
Nanotechnology research
Si Based devices
Exotic Non-Si alternative devices
3Characteristics of nanodevices
- Devices will have high failure rates
- Manufacturing defects
- Time varying dynamic faults
- Energy difference between logicstates will
approach the thermal limit - computation will become probabilistic reflecting
uncertainty in thermodynamics
4Current Nanoarchitecture Approaches
- Test and route around failures
- Use redundant logic for error correction
- Neural Networks
5Our Approach
- Inspired by ideas from von Neumannand neural
networks - Based on Markov random fields
- Dynamically defect tolerant
- Adapts to errors as a natural consequenceof
probability maximization - Removes need to actually detect faults
6Contributions of our work
- We propose the first technologically realistic
CMOS implementation of a new logic style based on
the Markov random field (MRF) probabilistic
paradigm. - We consider various forms of noise and evaluate
their impact on circuit reliability. - Using benchmark circuits we show that MRF
elements have superior tolerance to soft errors.
7Why Markov Random Fields?
- MRF can express arbitrary computation.
- Its operation does not depend on perfect devices
or perfect connections. - Logic operation is naturally achieved through
probabilistic computation. - MRF has been widely used in pattern recognition
and communication
8Markov Random Fields
- Probability of variable being in a certain state
depends on state of neighboring connections
(associated cliques). - Maximize probability of correct operation by
minimizing
9Circuits to MRF
10Gibbs model for an Inverter
11Physical Realization of MRF
- Possible candidates
- Tunneling-based devices (faster)
- Carbon nanotubes (excellent current carriers)
- Molecular transistors (area efficient)
- Magnetic spins (direct mapping of Gibbsenergy
model) - Our choice
- Ultimate CMOS transistors.
12Ultimate CMOS logic
- Plagued by noise due to
- Thermal noise
- Threshold variations (noise margin reduction)
- Coupling
- Power/Gnd bounce
- The sources of signal noise in ultimate
transistors are a subject of current research. - We use a Gaussian distributed noise model.
13Mapping MRF to CMOS
- Each logic state, xi, should be represented as a
bistable element, taking on logical values of 0
and 1. The probability for any other signal
value should be low. - The constraints of each logic graph clique should
be enforced by feedback to the appropriate
elements, implementing the logic compatibility
functions to factorize and maximize the joint
probability of the correct logical values.
14CMOS mapping of MRF Inverter
M
1
1
1
0
0
0
0
0
1
1
15Simulation Setup
- Simulation Tool Silvaco SmartSPICE
- Model 70nm Berkeley PredictiveTechnology Model.
- Supply Voltage 0.15 V
- Threshold Voltage
- NMOS 0.2V
- PMOS -0.22V
- Temperature 100ºC
- Noise Model Gaussian Noise
- Mean 0V
- Standard Deviation 60mV RMS
16CMOS mapping of MRF Inverter
Vin
Vcmos
Vmrf
17Noise Immunity MRF vs. DCVS
Vin
Vdcvs
Vmrf
18CMOS mapping MRF NAND
19MRF NAND Noise Immunity
Vin1
Vin2
Vcmos
Vmrf
20Threshold Variations
- Immunity of MRF inverter to threshold variation
- VTH0.2V (NMOS) -0.22V (PMOS).
- ?VTH20mV
21Kullback-Leibler distance Quantifying noise
immunity
measure of the discrepancy between the actual
output signal probability Preal of a logical
element or circuit and the ideal (correct) output
Pideal the smaller the KLD, the better the noise
immunity of the circuit
22Kullback-Leibler distance Quantifying noise
immunity
- MRF has a KLD closest to 0. (i.e. it is the one
with the least noise and closest to the ideal
distribution)
23Larger circuits Noise immunity
- Noise immunity comparison using KLD for some
small MCNC91 benchmark circuits. MRF circuits are
always better.
24Conclusions
- Created CMOS mapping of devices using the MRF
based probabilistic computation framework - Considered various forms of noise and their
impact on reliability - Thermal noise
- Threshold variation
- Showed through SPICE simulations that MRF
elements have excellent noise and dynamic fault
immunity
25Future Work
- Investigate how this approach can be extended to
more complex logic - Design sequential elements based on MRF principle
- Integrate dynamic errors and permanent defects
for complete analysis
26- This work was supported by a grant from the
National Science Foundation.
27THANK YOU
28Noise distribuiton symmetry