Accurate Reliability Evaluation and Enhancement via Probabilistic Transfer Matrices

Smita Krishnaswamy, George F. Viamontes, Igor L. Markov, John P. HayesDATE 2005

Introduction

As semiconductor manufacturing pushes toward smaller transistor sizes, logic circuits become increasingly vulnerable to "soft errors"—transient bit-flips caused by phenomena like cosmic rays or power supply instability. Unlike permanent hardware failures, these errors are probabilistic and fleeting, making them exceptionally difficult to model. Traditional reliability evaluation methods often rely on sampling, which is computationally expensive and prone to missing rare edge cases, or they simplify signal dependencies, leading to inaccurate results. This paper introduces a scalable framework for calculating the exact reliability of logic circuits using Probabilistic Transfer Matrices (PTMs) and Algebraic Decision Diagrams (ADDs).

Methodology: Probabilistic Transfer Matrices

The foundation of this framework is the Probabilistic Transfer Matrix (PTM). In this model, every logic gate is represented as a matrix where the entry $(j, k)$ represents the probability of obtaining output $k$ given input $j$. This approach allows for a rigorous mathematical treatment of circuit behavior: gates in parallel are combined using tensor products, while gates in series are combined via matrix multiplication. By using this matrix-based approach, the framework implicitly handles complex signal dependencies, such as "reconvergent fanout," without the need for explicit Bayesian networks or complex path-tracing algorithms.

Scalability via Algebraic Decision Diagrams

While PTMs provide a robust mathematical model, representing these matrices explicitly for large circuits is computationally impossible, as the space required grows exponentially ($2^{n+m}$ for $n$ inputs and $m$ outputs). To overcome this, the authors utilize Algebraic Decision Diagrams (ADDs). ADDs are a data structure that compresses matrices by identifying and merging identical sub-structures, such as identical rows or redundant logic paths. Because circuit matrices are often highly regular—for instance, an ideal NAND gate has several identical rows—ADDs can reduce memory usage from exponential to polynomial in many practical cases.

Probabilistic Transfer Matrix (PTM) and Algebraic Decision Diagram (ADD) representation of a logic gate.

Handling Non-Square Matrices

A significant technical challenge in this approach is that standard ADD libraries are typically optimized for square matrices. However, logic gates are rarely square (e.g., a 2-input, 1-output NAND gate). The authors developed a novel method to handle non-square matrices within the ADD framework using "zero-tracking" permutation matrices and dummy outputs. This innovation prevents the mathematical errors that typically occur when performing tensor operations on padded matrices, ensuring the exactness of the reliability calculation.

Experimental Results and Reliability Hardening

The framework was evaluated using standard benchmarks, including the LGSynth 91 and 93 suites. The results demonstrated a significant leap in scalability, successfully evaluating circuits with 40+ signals, whereas previous exact methods struggled beyond 16 signals.

Beyond mere evaluation, the framework enables reliability enhancement. Because the method is exact, it can calculate the "observability" of an error at any specific gate. This allows designers to perform sensitivity analysis and identify the most critical components for hardening. By making only the top 3 to 5 most susceptible gates more robust, the authors achieved reliability improvements ranging from 7% to over 50% across various benchmarks.

Additionally, the paper analyzed Von Neumann’s classic NAND-multiplexing redundancy scheme. The analysis revealed a critical threshold: increasing redundancy levels does not always improve reliability. If the individual gates are too noisy, adding more logic can actually introduce more errors than the redundancy fixes.

Conclusion and Future Directions

This research provides a powerful tool for the exact reliability analysis of modern combinational logic. While currently limited to acyclic circuits, the authors propose extending the framework to sequential logic with feedback loops in future work. Furthermore, to handle even larger, more irregular circuits where ADD sizes might explode, the authors suggest partitioning massive designs into "logic cones" that can be analyzed independently and then recombined.

Summary updated

BibTeX
@inproceedings{krishnaswamy2005accurate,
  author = {Smita Krishnaswamy and George F. Viamontes and Igor L. Markov and John P. Hayes},
  title = {{Accurate Reliability Evaluation and Enhancement via Probabilistic Transfer Matrices}},
  booktitle = {DATE},
  year = {2005},
  doi = {10.1109/date.2005.47},
}
Figure