Stall Detection Circuit for Mesh Network Deadlock Resolution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Detecting deadlocks in mesh networks is challenging due to the complexity of monitoring cyclic dependencies and the risk of false-positive detections, which can waste resources.
Innovation Solution
Incorporating a stall detection circuit in each node of the mesh network to detect cyclical deadlocks by generating a stall output when linked input and output pipeline circuits are deadlocked, and when an upstream node is stalled.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all possible loops in the mesh network are monitored to detect deadlocks, then deadlock detection accuracy is improved, but device complexity increases significantly
Solution Approach 1:
The mesh network is divided into individual nodes, each equipped with its own stall detection circuit. Each circuit monitors only its local pipelines and generates stall outputs independently, rather than having a centralized system monitor all loops. This segmentation reduces the complexity of monitoring while maintaining detection accuracy through distributed detection.
2Loss of energy
If false-positive deadlock detection is avoided, then resource waste is reduced, but detection sensitivity decreases
Solution Approach 1:
The stall detection circuit uses locally-generated stall outputs from each node's own pipelines and upstream nodes, rather than relying on global monitoring signals. Each node's stall output is asserted only when its specific pipelines are deadlocked, creating a localized detection mechanism that reduces false positives while maintaining precision through node-specific conditions.
3Reliability
If stall detection is extended to upstream nodes, then cyclical deadlock detection capability is improved, but device complexity increases
Solution Approach 1:
The stall detection circuit incorporates feedback by asserting the stall output not only when local pipelines are deadlocked but also when upstream nodes generate stall signals. This feedback mechanism allows the circuit to detect cyclical deadlocks by propagating stall information through the network, improving detection capability without requiring complex centralized monitoring.
Data Source
AI summary
Systems and methods are disclosed for detecting a deadlock in a cyclical dependency between a set of the plurality of nodes in a mesh network. In some aspects, each of the nodes having a stall detection circuit. The stall detection circuit of each of the nodes operates by providing a stall output that is asserted not only when linked input and output pipeline circuits are stalled but when a stall input from an upstream node indicates that the upstream node is stalled. The stall output is provided as a stall input to the downstream node. In this manner, the stall outputs of the stall detection circuits are stable and asserted when there is a deadlock in a cyclical dependency between a closed loop of nodes in the mesh network.


