Synchronizer Circuit Reset Logic for Metastability Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Synchronizer circuits in electronic devices face metastability issues, leading to data corruption and incorrect results due to the generation of metastable states when transitioning between different clock domains.

Innovation Solution

Incorporating a resettable flip-flop with a data input, reset input, and output, along with a detector circuit and logic gate to manage transitions and assert a warning signal, ensuring consistent data synchronization by transitioning from a first logic state to a second and back, and using a logic gate to forward the output signal based on the warning signal's assertion.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a synchronizer circuit is used to transition data between different clock domains, then data transfer between clock domains is enabled, but metastability may be generated causing data corruption and incorrect results

Engineering Contradiction:
Improvedata transfer between clock domainsVSAvoiddata integrity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The synchronizer circuit is divided into multiple flip-flops arranged in a pipeline structure. Data transitions are segmented across multiple clock cycles, with each flip-flop handling a portion of the transition. This segmentation allows the system to manage metastability events in isolated stages rather than allowing them to propagate through the entire data path, thereby maintaining data integrity while enabling cross-clock-domain transfer.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The circuit performs preliminary detection of failure conditions using detector circuits that monitor for metastability events before they can corrupt downstream data. Reset signals are generated in advance based on detected transitions, allowing the system to proactively correct potential metastability issues before they propagate, thus preventing data corruption while maintaining continuous operation.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If metastability is detected and corrected using detector circuits and reset signals, then data integrity is improved, but circuit complexity increases

Engineering Contradiction:
Improvedata integrityVSAvoidcircuit structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The flip-flops in the pipeline are designed with multi-functionality, serving both as data storage elements and as failure detection points. The same hardware structures perform dual roles: normal data synchronization and metastability detection. This universal design reduces the need for separate dedicated detection circuits, thereby improving data integrity while minimizing the increase in circuit complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The detector circuits are merged with the pipeline flip-flops themselves rather than being separate external components. The detection logic is integrated into the existing flip-flop structure, allowing failure condition detection to occur using the same hardware resources already allocated for data synchronization. This merging approach maintains data integrity through active monitoring while avoiding the overhead of completely separate detection infrastructure.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS8847647B1Synchronizer circuits with failure-condition detection and correction
Publication Date: 2014.09.30 ADVANCED MICRO DEVICES INC
  • US8847647B1 patent drawing
  • US8847647B1 patent drawing
  • US8847647B1 patent drawing

AI summary

An input signal and a reset signal are provided to respective inputs of a resettable flip-flop. The resettable flip-flop generates an output signal. The output signal transitions from a first logic state to a second logic state in response to corresponding transitions of the input signal and transitions from the second logic state to the first logic state in response to assertion of the reset signal. A warning signal is asserted in response to transitions of the input signal from the second logic state to the first logic state. A logic gate forwards the output signal when the warning signal is de-asserted and provides a signal in the first logic state in response to assertion of the warning signal.