Abstract
Model-based troubleshooting (MBT) of complex digital circuits is often hindered by behavioral complexity, where high-speed gate transitions make bit-by-bit simulation computationally prohibitive. This paper introduces TINT (Temporal Constraint Propagator), a system that utilizes "temporal abstractions" to represent circuit behavior through coarse-grained metrics such as frequency and cycle counts. By bridging the granularity gap between internal machine events and external observations, TINT enables efficient fault diagnosis in large-scale hardware, such as the Symbolics 3600 console controller board, without sacrificing diagnostic accuracy.
Introduction
Model-based troubleshooting (MBT) relies on comparing a device's actual behavior with predictions from a mathematical model. While MBT effectively manages structural complexity (large numbers of components), it struggles with the behavioral complexity inherent in modern digital circuits. These circuits operate at nanosecond scales, generating millions of events, while human-led observations occur at much coarser intervals.
Simulating every gate transition to predict behavior is computationally prohibitive for large systems. The core challenge addressed in this research is finding a way to simplify these models—making them "temporally coarse"—so they are efficient enough for practical use while remaining precise enough to identify physical failures.
Methodology: The TINT System
The author presents TINT (Temporal Constraint Propagator), a system designed to reason about signal histories over time using a rule-based engine built on JOSHUA. TINT propagates abstractions "upward" from raw signals to high-level summaries and "downward" to predict expected values.
Temporal Abstractions
Instead of tracking every state change, TINT uses functions to map fine-grained signals to high-level descriptions. Key abstractions include:
- change: A boolean indicating if a signal flipped during an interval.
- count-ww: The number of events within a fixed time window.
- fww (Frequency): The rate of cycles relative to a window.
- sampling: Capturing signal values only at specific moments, such as clock edges.
Behavioral Modeling Principles
TINT employs several principles to simplify component descriptions:
- Reduction: Simplifying a component's behavior when certain inputs are constant (e.g., an AND gate with one input tied high behaves as a buffer).
- Synchronization: Using clocks to simplify state-dependent components like registers into simple delay elements.
- Encapsulation: Grouping multiple components and describing their collective behavior. For example, a complex serial-to-parallel converter can be treated as a simple frequency divider.
Evaluation and Results
The approach was evaluated using the Console Controller Board of the Symbolics 3600, a complex digital circuit. The author represented approximately 40% of the board, encompassing 100 visible circuit nodes and 20 chips, including two microprocessors. Troubleshooting examples were executed using XDE, a domain-independent diagnosis engine based on the General Diagnostic Engine (GDE).
Key Findings
- Successful Scaling: The system successfully diagnosed faults in a circuit significantly more complex than those handled by previous MBT systems.
- Predictive Power: Temporal abstractions allowed for long-range predictions (e.g., predicting an output frequency based on an input oscillator) that could be verified with standard laboratory tools.
- The Granularity Gap: The research demonstrates that abstractions are the necessary bridge to reason across the disconnect between internal machine speeds and external observation speeds.
Discussion and Future Work
While TINT successfully demonstrates the utility of temporal coarseness, several limitations remain. The behavioral rules and abstractions were manually authored; future work should focus on automatically deriving these coarse models from detailed, fine-grained specifications. Additionally, while TINT is an effective demonstration vehicle, its current implementation is too slow for widespread production use.
Beyond digital circuits, the author suggests that these temporal abstractions could be applied to other domains characterized by high-frequency data and coarse-grained observation, such as computer networks, automotive engine diagnostics, and human physiology.
Summary updated