Asynchronous Clock Multiplexing With Flip-Flop Gating to Prevent Glitches

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Switching between asynchronous clocks in electronic systems often results in clock glitches, which can cause metastability and system instability due to the potential for runt pulses and frequency mismatches.

Innovation Solution

A glitch reduction circuit utilizing flip-flops and logic gates is introduced to manage the transition between asynchronous clocks, ensuring a glitch-free output by synchronizing the select signal and preventing rapid toggling, even when one clock becomes unreliable or stops functioning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional clock multiplexing is used to switch between asynchronous clocks, then clock source switching capability is improved, but clock glitches and metastability occur during switchover

Engineering Contradiction:
Improveclock source switching capabilityVSAvoidsystem stability during switchover
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies preliminary action by generating the inverted select signal before the actual clock switchover occurs. The inverter circuit prepares the complementary signal in advance, ensuring that both clock sources are properly gated before switching, which prevents glitches and metastability during the transition between asynchronous clocks

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses an inverter circuit as an intermediary element to generate the inverted select signal. This intermediary component ensures that the clock gating logic receives properly synchronized complementary signals, mediating the transition between clock sources and preventing direct conflicts that would cause glitches

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If simple multiplexer control is used for clock switching, then device complexity is reduced, but clock glitches occur during frequency transitions

Engineering Contradiction:
Improvemultiplexer control structureVSAvoidclock glitches during switchover
Core Design Contradiction:
Device complexityVSObject-generated harmful factors

Solution Approach 1:

The inverter circuit serves as an intermediary that generates the necessary inverted select signal without adding significant complexity to the multiplexer control structure. This intermediary element enables glitch-free switching by ensuring proper synchronization of the clock gating signals

Inventive Principle:
Principle #24Intermediary (Mediator)

3Speed

If rapid toggling of select signal is allowed, then clock switching responsiveness is improved, but metastability and system instability occur

Engineering Contradiction:
Improveclock switching responsivenessVSAvoidsystem stability during rapid switching
Core Design Contradiction:
SpeedVSStability of the object's composition

Solution Approach 1:

The patent applies preliminary anti-action by using the inverter circuit to generate the inverted select signal in advance, which counteracts potential metastability issues before they occur. The pre-generated complementary signal ensures that clock gating transitions are properly synchronized, preventing rapid toggling from causing system instability

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS10547311B2Reducing glitches that occur when multiplexing of asynchronous clocks using flip-flops and logic gates
Publication Date: 2020.01.28 TEXAS INSTRUMENTS INC
  • US10547311B2 patent drawing
  • US10547311B2 patent drawing
  • US10547311B2 patent drawing

AI summary

In one embodiment, a method includes receiving an output of a first combinational logic at an enable terminal of a first flip-flop. The first combinational logic inputs include a disable first clock signal from a clock switchover circuit and a disable second clock signal from the clock switchover circuit. A set terminal of the first flip-flop receives an output of a logic gate, and the logic gate receives a select signal and a first clock signal. An input terminal of the first flip-flop receives, an output of a second flip-flop. A reset terminal of the first flip-flop receives an output of a second combinational logic. The second combinational logic inputs include a first clock stopped signal, a power-on-reset signal, and the select signal, the first clock stopped signal indicating a stop in the first clock signal. An output terminal of the first flip-flop outputs a modified select signal.