US6107841A - Synchronous clock switching circuit for multiple asynchronous clock source - Google Patents

Synchronous clock switching circuit for multiple asynchronous clock source Download PDF

Info

Publication number
US6107841A
US6107841A US09/149,686 US14968698A US6107841A US 6107841 A US6107841 A US 6107841A US 14968698 A US14968698 A US 14968698A US 6107841 A US6107841 A US 6107841A
Authority
US
United States
Prior art keywords
clock source
clock
control signal
output
asynchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US09/149,686
Inventor
Kenneth J. Goodnow
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US09/149,686 priority Critical patent/US6107841A/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GOODNOW, KENNETH J.
Application granted granted Critical
Publication of US6107841A publication Critical patent/US6107841A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/08Clock generators with changeable or programmable clock frequency

Definitions

  • the present invention relates generally to the field of clock circuits for a processor-based system, and more particularly, to a novel switching circuit for dynamically providing glitch-free switching between a plurality of asynchronous clocks.
  • U.S. Pat. No. 5,231,636 describes a method of glitch less switching among a plurality of clock sources and implements edge detection, multiplexor (MUX), and synchronization circuitry to provide for glitch less switching.
  • MUX edge detection, multiplexor
  • the MUX requires a number of select inputs with a number of active input lines commensurate with the number of switching sources.
  • the clock switching device in U.S. Pat. No. 5,231,636 provides at least three latches flip-flops at the output which results in decreased switch response time.
  • metastability problems may still exist in such a prior art configuration.
  • the present invention is directed to a clock switching circuit that satisfies the following requirements: expedited switching among multiple asynchronous clock sources of different frequency clocks 1-of-N different clocks, with no metastability problems, no glitches, and with no output pulses smaller than one of the switching clocks; the frequencies of the clock inputs are the highest frequency signals in the clock switching circuit; the switching is initiated from a single signal (along with selection signal); and, switching is completed before allowing a next switch to occur.
  • a clock switching system for providing synchronous switching of a clock source from among one or more asynchronous clock sources, said system comprising:
  • multiplexor means for providing a system clock output signal corresponding to a first asynchronous clock source input
  • switch control means for generating first and second control signals
  • the clock switch control circuit of the invention operates without the necessity of a higher frequency, independent clock source, and consumes less power as it is configured to minimize switching states of the active latch and gate components.
  • FIG. 1 is a schematic diagram illustrating the clock switch control circuit 10 of the present invention.
  • FIG. 2 is a timing diagram illustrating the switching process between two clock sources in the clock switching apparatus of FIG. 1.
  • FIG. 1 is a schematic diagram illustrating the clock switch control circuit 10 of the present invention.
  • the circuit comprises one or more clock input sources, e.g., clock sources labeled CLOCK -- 1, CLOCK -- 2, . . . , CLOCK -- N.
  • clock input sources e.g., clock sources labeled CLOCK -- 1, CLOCK -- 2, . . . , CLOCK -- N.
  • Associated with each clock input source is a corresponding clock select signal depicted in FIG. 1 as respective signals CLOCK -- 1 -- SELECT, CLOCK -- 2 -- SELECT, . . . , CLOCK -- N -- SELECT and which may be activated from a microprocessor or like intelligent source prior to switching to that corresponding clock input source.
  • each CLOCK -- 1 -- SELECT, CLOCK -- 2 -- SELECT, . . . , CLOCK -- N -- SELECT signal is input to a respective data input terminal of a respective D-type flip flop latch circuit, labeled in FIG. 1 as latch circuits 100, 101, and 102, respectively.
  • each latch circuit 100-102 includes a corresponding clock input 100a, 101a and 102a, each receiving a PSEUDO -- CLOCK control signal 202, for latching a respective CLOCK -- 1 -- SELECT, CLOCK -- 2 -- SELECT, . . . , CLOCK -- N -- SELECT signal for the clock source to be switched.
  • FIG. 2 illustrates a timing diagram including example clock signals input to the system of FIG. 1 with like signals identified by common reference numbers/labels.
  • each AND gate 400-402 receives two inputs, the actual clock input signal CLOCK -- 1, CLOCK -- 2, . . . , CLOCK -- N, and the latched output of its respective D-type latch circuit 100-102.
  • the AND gates will either admit or prevent a clock signal CLOCK -- 1, CLOCK -- 2, . . . , CLOCK -- N from passing through to the MUX tree 103.
  • each output signal from AND gate 400-402 is input to a multiplexor ("MUX") circuit 103 comprising (OR) logic gates 500-504 in a tree configuration to accomplish the logical selection of the proper clock source which is output as MASTER -- CLKOUT signal 505.
  • MUX multiplexor
  • FIG. 1 Although only three clock sources are shown and described herein with respect to FIG. 1, it should be understood that any number of clock sources may be switched, which number is only limited by the number and levels of MUXing required, i.e., the speed of the MUX must be faster than the width of the fastest clock source. Alternately, a different type of MUXing known as "passgates" could be used.
  • switch circuitry 200 comprising two D-type flip flop latches labeled latches 200a and 200b, and, meta-stable latch circuitry 104 comprising two D-type flip flop latches labeled latches 104a and 104b in FIG. 1.
  • Each D-type latch 200a, b of switch circuitry 200 performs latching of data upon transition of a clock input, which, in the preferred embodiment, is the current MASTER -- CLKOUT signal 505.
  • each D-type latch 104a, b of latches 104 perform latching of data upon transition of a clock input, which, is shown in FIG. 1 as a SWITCH -- CLK signal 203 tapped off an intermediate OR gate 503 of MUX tree 103.
  • these switching circuits establish the duration of the PSEUDO -- CLOCK control signal 202, output of the second switch circuit latch 200b, in a manner so as to avoid all metastability problems, and to accomplish glitch-free clock switching at the MASTER -- CLKOUT signal 505 of the MUX tree 103.
  • SWITCH control signal 201 is a pulse of predetermined duration. This SWITCH control signal 201 is latched into the first D-type latch 200a of latch circuitry 200 upon low to high transition of the MASTER -- CLKOUT signal 505, as shown in FIG. 2.
  • Latching of the SWITCH control signal 201 creates a SWITCH -- META signal output from D-latch 200a which is input to second D-latch 200b.
  • the output of second D-latch 200b creates PSEUDO -- CLOCK signal 202 which functions to latch the clock selection signal into selection latches, 100, 101, and 102.
  • CLOCK -- 1 -- SELECT is the new clock to be switched and consequently is set high, e.g., logic 1, with the remaining clock selection signals being set low.
  • the clock selection control signals CLOCK -- 1 -- SELECT, CLOCK -- 2 -- SELECT, . . . , CLOCK -- N -- SELECT are set anytime prior to enabling the SWITCH signal 201.
  • the PSEUDO -- CLOCK signal 202 is additionally input to OR gate 502 of MUX tree 103, to inhibit the MASTER -- CLOCK 505 from toggling when the present clock source switches. This initial part of the switch is accomplished by setting and holding on the positive section of the current clock (MASTER -- CLKOUT), which is accomplished by PSEUDO -- CLOCK pulse signal 202, as shown in FIG. 2.
  • the PSEUDO -- CLOCK signal 202 input to OR gate 502 functions to provide a logic 1 input to output OR gate 504 in the MUX.
  • the output clock is stopped and held at a high level thereby extending the current output level of the clock.
  • the new clock source (CLOCK -- 1) generates a SWITCH -- CLK signal 203, shown in FIG. 1 as output of OR gate 503.
  • SWITCH -- CLK 203 is used to clock the two metastable latches 104a and 104b of metastable latches 104 that pass an inverted pseudo-clock signal labeled in FIG. 1 as PSEUDO -- CLOCK -- N 202a as a signal.
  • the metastable latch circuit 104 is provided to prevent any glitches or short clock pulses that may be present in SWITCH -- CLK signal 203.
  • the PSEUDO -- CLOCK -- N 202a is then latched twice, inverted, and used to create a RELEASE signal 201a for resetting the switch latch circuit 200 creating the pseudo-clock signal 202.
  • the final latch of PSEUDO -- CLOCK -- N signal 202a generates a RELEASE signal 201a which resets each of the latches 200a, b upon the rising edge of the SWITCH -- CLK signal 203, as shown in FIG. 2.
  • the MASTER -- CLKOUT will then track the SWITCH -- CLK signal 203 exactly and the switching function is accomplished.
  • the SWITCH signal 201 must be turned off in the first output clock cycle after the switch to prevent a new switch will occur. This is shown in the timing diagram of FIG. 2.
  • clock switch control circuit 10 does not rely on any relative timing or frequency between the current clock source and the new clock source.
  • the low power nature of the clock switch control circuit 10 is attributed to its ability to switch without the requirement of a higher frequency clock signal input but rather, with the input clock source signals only. Furthermore, switching between two clock sources from among N sources only requires latching of two flip flops, e.g., 100, 102, and only requires powering of active branches in the OR-gate MUX tree. Additionally, a minimum number of metastable latches 104 is provided to prevent metastable conditions.
  • the output clock can be switched from high to low and low to high.
  • two different clocks sources having the same frequency but different phases can also be switched.

Abstract

A clock switching system for providing synchronous glitch-free switching of a clock source from among one or more asynchronous clock sources comprises a multiplexor device for providing a system clock output signal corresponding to a first asynchronous clock source input, and a switch control circuit for generating first and second control signal. In response to the first control signal, the multiplexor device enables simultaneous coupling of a selected second asynchronous clock source to be switched to the multiplexor circuit, and decoupling the first asynchronous clock source input. Further in response to the first control signal, the system clock output is held at a first output level. In response to the second control signal, the second asynchronous clock source is coupled to the system clock output while both signals are at the first output level. The system clock output corresponding to the second asynchronous clock source occurs in synchronism with a subsequent transition of the second asynchronous clock source from the first voltage level to a second output level.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to the field of clock circuits for a processor-based system, and more particularly, to a novel switching circuit for dynamically providing glitch-free switching between a plurality of asynchronous clocks.
2. Discussion of the Prior Art
In a processor-based device with internally generated clocks, the need exists for the ability to switch between multiple clock sources that are asynchronous to each other. This switch must be done in a minimum of time and guaranteeing that there are no spurious clock glitches or too small of a clock pulse width in either the on or off state. The switch must also guarantee that metastability problems are minimized.
No single prior art switching device meets all this criteria. For instance, known prior art clock switching devices such as described in U.S. Pat. Nos. 5,155,380 and 5,315,181 provide for synchronous glitch-free clock switching, however, only provide switching among two clock sources.
U.S. Pat. No. 5,231,636 describes a method of glitch less switching among a plurality of clock sources and implements edge detection, multiplexor (MUX), and synchronization circuitry to provide for glitch less switching. As described in U.S. Pat. No. 5,231,636, the MUX requires a number of select inputs with a number of active input lines commensurate with the number of switching sources. Furthermore, the clock switching device in U.S. Pat. No. 5,231,636 provides at least three latches flip-flops at the output which results in decreased switch response time. Moreover, metastability problems may still exist in such a prior art configuration.
It would be highly desirable to provide a clock switching system that is able to provide glitch less switching from among a plurality of asynchronous clock sources in response to a single switching signal.
It would additionally be highly desirable to provide a clock switching system that utilizes minimal logic circuitry to provide glitch less clock switching among multiple asynchronous clock sources of different frequency clocks and, consequently, results in minimal power consumption.
SUMMARY OF THE INVENTION
The present invention is directed to a clock switching circuit that satisfies the following requirements: expedited switching among multiple asynchronous clock sources of different frequency clocks 1-of-N different clocks, with no metastability problems, no glitches, and with no output pulses smaller than one of the switching clocks; the frequencies of the clock inputs are the highest frequency signals in the clock switching circuit; the switching is initiated from a single signal (along with selection signal); and, switching is completed before allowing a next switch to occur.
In accordance with the preferred aspect of the invention, there is provided: A clock switching system for providing synchronous switching of a clock source from among one or more asynchronous clock sources, said system comprising:
multiplexor means for providing a system clock output signal corresponding to a first asynchronous clock source input;
switch control means for generating first and second control signals;
means responsive to said first control signal for coupling a selected second asynchronous clock source to be switched to said multiplexor means, and decoupling said first asynchronous clock source input, said system clock output simultaneously being held at a first output level in response to said first control signal; and,
means responsive to said second control signal for coupling said second asynchronous clock source to said system clock output, said second asynchronous clock source being coupled to said system clock output while at said first output level, wherein a transition to said system clock output signal corresponding to said second asynchronous clock source occurs in synchronism with a transition of said second asynchronous clock source from said first output level to a second output level.
Advantageously, the clock switch control circuit of the invention operates without the necessity of a higher frequency, independent clock source, and consumes less power as it is configured to minimize switching states of the active latch and gate components.
BRIEF DESCRIPTION OF THE DRAWINGS
Further features and advantages of the invention will become more readily apparent from a consideration of the following detailed description set forth with reference to the accompanying drawings, which specify and show preferred embodiments of the invention, wherein like elements are designated by identical references throughout the drawings; and in which:
FIG. 1 is a schematic diagram illustrating the clock switch control circuit 10 of the present invention.
FIG. 2 is a timing diagram illustrating the switching process between two clock sources in the clock switching apparatus of FIG. 1.
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a schematic diagram illustrating the clock switch control circuit 10 of the present invention. As shown in FIG. 1, the circuit comprises one or more clock input sources, e.g., clock sources labeled CLOCK -- 1, CLOCK -- 2, . . . , CLOCK-- N. Associated with each clock input source is a corresponding clock select signal depicted in FIG. 1 as respective signals CLOCK -- 1-- SELECT, CLOCK -- 2-- SELECT, . . . , CLOCK-- N-- SELECT and which may be activated from a microprocessor or like intelligent source prior to switching to that corresponding clock input source.
As shown in FIG. 1, each CLOCK -- 1-- SELECT, CLOCK-- 2-- SELECT, . . . , CLOCK-- N-- SELECT signal is input to a respective data input terminal of a respective D-type flip flop latch circuit, labeled in FIG. 1 as latch circuits 100, 101, and 102, respectively. As will be described, each latch circuit 100-102 includes a corresponding clock input 100a, 101a and 102a, each receiving a PSEUDO-- CLOCK control signal 202, for latching a respective CLOCK -- 1-- SELECT, CLOCK -- 2-- SELECT, . . . , CLOCK-- N-- SELECT signal for the clock source to be switched. FIG. 2 illustrates a timing diagram including example clock signals input to the system of FIG. 1 with like signals identified by common reference numbers/labels.
Additionally, associated with each clock source is a corresponding AND gate labeled in FIG. 1 as AND gates 400, 401, and 402. As shown, each AND gate 400-402 receives two inputs, the actual clock input signal CLOCK -- 1, CLOCK -- 2, . . . , CLOCK-- N, and the latched output of its respective D-type latch circuit 100-102. Thus, in accordance with the state of the D-type latches 100-102, and respective CLOCK -- 1-- SELECT, CLOCK -- 2-- SELECT, . . . , CLOCK-- N-- SELECT signals, the AND gates will either admit or prevent a clock signal CLOCK -- 1, CLOCK -- 2, . . . , CLOCK-- N from passing through to the MUX tree 103.
As further shown in FIG. 1, each output signal from AND gate 400-402 is input to a multiplexor ("MUX") circuit 103 comprising (OR) logic gates 500-504 in a tree configuration to accomplish the logical selection of the proper clock source which is output as MASTER-- CLKOUT signal 505. Although only three clock sources are shown and described herein with respect to FIG. 1, it should be understood that any number of clock sources may be switched, which number is only limited by the number and levels of MUXing required, i.e., the speed of the MUX must be faster than the width of the fastest clock source. Alternately, a different type of MUXing known as "passgates" could be used.
Additionally provided is switch circuitry 200 comprising two D-type flip flop latches labeled latches 200a and 200b, and, meta-stable latch circuitry 104 comprising two D-type flip flop latches labeled latches 104a and 104b in FIG. 1. Each D-type latch 200a, b of switch circuitry 200 performs latching of data upon transition of a clock input, which, in the preferred embodiment, is the current MASTER-- CLKOUT signal 505. Likewise, each D-type latch 104a, b of latches 104 perform latching of data upon transition of a clock input, which, is shown in FIG. 1 as a SWITCH-- CLK signal 203 tapped off an intermediate OR gate 503 of MUX tree 103. As will be hereinafter described these switching circuits establish the duration of the PSEUDO-- CLOCK control signal 202, output of the second switch circuit latch 200b, in a manner so as to avoid all metastability problems, and to accomplish glitch-free clock switching at the MASTER-- CLKOUT signal 505 of the MUX tree 103.
According to the principles of the invention, glitch-free switching between a first (current) clock source, e.g., CLOCK -- 2, to a second clock source, e.g., CLOCK -- 1, will now be described. In the preferred embodiment, switching is initiated by a SWITCH control signal 201 as shown in FIG. 1. As shown in the timing diagram of FIG. 2, SWITCH control signal 201 is a pulse of predetermined duration. This SWITCH control signal 201 is latched into the first D-type latch 200a of latch circuitry 200 upon low to high transition of the MASTER-- CLKOUT signal 505, as shown in FIG. 2. Latching of the SWITCH control signal 201 creates a SWITCH-- META signal output from D-latch 200a which is input to second D-latch 200b. The output of second D-latch 200b creates PSEUDO-- CLOCK signal 202 which functions to latch the clock selection signal into selection latches, 100, 101, and 102. In the illustrative timing diagram of FIG. 2, CLOCK -- 1-- SELECT is the new clock to be switched and consequently is set high, e.g., logic 1, with the remaining clock selection signals being set low. Preferably, the clock selection control signals CLOCK-- 1-- SELECT, CLOCK-- 2-- SELECT, . . . , CLOCK-- N-- SELECT are set anytime prior to enabling the SWITCH signal 201.
In the preferred embodiment, the PSEUDO-- CLOCK signal 202 is additionally input to OR gate 502 of MUX tree 103, to inhibit the MASTER-- CLOCK 505 from toggling when the present clock source switches. This initial part of the switch is accomplished by setting and holding on the positive section of the current clock (MASTER-- CLKOUT), which is accomplished by PSEUDO-- CLOCK pulse signal 202, as shown in FIG. 2. Specifically, the PSEUDO-- CLOCK signal 202 input to OR gate 502 functions to provide a logic 1 input to output OR gate 504 in the MUX. Thus, by generation of the PSEUDO-- CLOCK signal 202, the output clock is stopped and held at a high level thereby extending the current output level of the clock.
With the selection latches 100-102 now having been switched, the new clock source (CLOCK-- 1) generates a SWITCH-- CLK signal 203, shown in FIG. 1 as output of OR gate 503.
In the preferred embodiment, SWITCH-- CLK 203 is used to clock the two metastable latches 104a and 104b of metastable latches 104 that pass an inverted pseudo-clock signal labeled in FIG. 1 as PSEUDO-- CLOCK-- N 202a as a signal. The metastable latch circuit 104 is provided to prevent any glitches or short clock pulses that may be present in SWITCH-- CLK signal 203. The PSEUDO-- CLOCK-- N 202a is then latched twice, inverted, and used to create a RELEASE signal 201a for resetting the switch latch circuit 200 creating the pseudo-clock signal 202. Particularly, the final latch of PSEUDO-- CLOCK-- N signal 202a generates a RELEASE signal 201a which resets each of the latches 200a, b upon the rising edge of the SWITCH-- CLK signal 203, as shown in FIG. 2. This results in the PSEUDO-- CLOCK signal 202 being set to zero or off while the SWITCH-- CLK signal 203 is high. The MASTER-- CLKOUT will then track the SWITCH-- CLK signal 203 exactly and the switching function is accomplished.
It should be understood that the only additional requirement of the switching circuit 10 of the present invention is that the SWITCH signal 201 must be turned off in the first output clock cycle after the switch to prevent a new switch will occur. This is shown in the timing diagram of FIG. 2.
Thus, in accordance with the invention, clock switch control circuit 10 does not rely on any relative timing or frequency between the current clock source and the new clock source.
The low power nature of the clock switch control circuit 10 is attributed to its ability to switch without the requirement of a higher frequency clock signal input but rather, with the input clock source signals only. Furthermore, switching between two clock sources from among N sources only requires latching of two flip flops, e.g., 100, 102, and only requires powering of active branches in the OR-gate MUX tree. Additionally, a minimum number of metastable latches 104 is provided to prevent metastable conditions.
While the invention has been particularly shown and described with respect to illustrative and preformed embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form and details may be made therein without departing from the spirit and scope of the invention which should be limited only by the scope of the appended claims. For instance, the output clock can be switched from high to low and low to high. Additionally, two different clocks sources having the same frequency but different phases can also be switched.

Claims (12)

What is claimed is:
1. A clock switching apparatus for switching a clock source from among one or more asynchronous clock sources, the apparatus comprising:
means for selecting an asynchronous clock source from among said one or more asynchronous clock sources;
multiplexor means capable of receiving one selected clock source and outputting a corresponding system clock output;
first switch means responsive to a switching control signal and a system clock output corresponding to a first asynchronous clock source for generating a first control signal, said selecting means responsive to said first control signal for coupling a selected second asynchronous clock source signal into said multiplexor means, and said multiplexor means further responsive to said first control signal for said maintaining said system clock output at a constant level; and,
second switch means responsive to a second control signal and said coupled second asynchronous clock source signal to provide a reset signal input to said first switching means for resetting said first control signal,
wherein said multiplexor means is responsive to said reset first control signal to provide a system clock output corresponding to said second asynchronous clock source.
2. The apparatus as claimed in claim 1, wherein said means for selecting said second asynchronous clock source from among said one or more asynchronous clock sources comprises:
a clock selection signal associated with each asynchronous clock source and activated upon selection of a corresponding one of said asynchronous clock sources to be switched; and,
a selection latch circuit associated with each asynchronous clock source and receiving a respective said clock selection signal.
3. The apparatus as claimed in claim 2, wherein said selection latch circuit responds to said first transition of said first control signal to enable admission of said selected second asynchronous clock source having an activated clock selection signal input.
4. The apparatus as claimed in claim 1, wherein said first switch means includes a first latch means having an input for receiving said switching control signal, and an input receiving said first system clock output, and latching said switching control signal upon an edge transition of said first system clock output.
5. The apparatus as claimed in claim 4, wherein said first switch means further includes second latch means having an input receiving said latched switching control signal, and an input receiving said first system clock output, said second latch means generating said first control signal upon an edge transition of said first system clock output.
6. The apparatus as claimed in claim 1, wherein said second switch means comprises a first latch means having an input for receiving said second control signal, and an input receiving said coupled second asynchronous clock source, said first latch means latching said second control signal upon transition of said coupled second asynchronous clock source.
7. The apparatus as claimed in claim 6, wherein said second switch means further includes a second latch means having an input for receiving said latched second control signal, and an input receiving said coupled second asynchronous clock source, said second latch means generating said reset signal upon an edge transition of said coupled second asynchronous clock source.
8. The apparatus as claimed in claim 1, wherein said multiplexor means includes a plurality of gate devices connected as a tree structure, a single output gate device of said tree structure receiving said reset first control signal for enabling glitch-free switching of said system clock output corresponding to said first asynchronous clock source to a system clock output corresponding to said second asynchronous clock source.
9. The apparatus as claimed in claim 8, wherein said coupled second asynchronous clock source is communicated to said second switch means from an output of one of said plurality of gates located in said tree structure.
10. The apparatus as claimed in claim 6, wherein said first switching means further generates said second control signal, said second control signal comprising said first control signal of inverted polarity.
11. A clock switching system for providing synchronous switching of an input clock source from among one or more asynchronous clock sources, said system comprising:
multiplexor means for providing a system clock output signal corresponding to a first asynchronous clock source input;
switch control means for generating first and second control signals;
means responsive to said first control signal for coupling a selected second asynchronous clock source to be switched to said multiplexor means, and decoupling said first asynchronous clock source input while maintaining said system clock output at a first output level corresponding to said first asynchronous clock source; and,
means responsive to said second control signal for resetting said coupling means to enable coupling of said second asynchronous clock source to said system clock output, said second asynchronous clock source being coupled to said system clock output while at said first output level,
wherein a transition to said system clock output signal corresponding to said second asynchronous clock source occurs in synchronism with a transition of said second asynchronous clock source from said first output level to a second output level.
12. A method for switching among one or more asynchronous clock source inputs, said method comprising:
providing a system clock output of a multiplexor device corresponding to a first asynchronous clock source input;
asserting a first control signal in response to a system clock output signal for coupling a selected second asynchronous clock source input to be switched to said multiplexor device;
decoupling said first asynchronous clock source input in response to said first control signal, and simultaneously holding said system clock output at a constant output level; and,
in response to a transition of said second coupled asynchronous clock source from said multiplexor, resetting said first control signal for switching said system clock output from said constant output level to correspond to said second asynchronous clock source input.
US09/149,686 1998-09-08 1998-09-08 Synchronous clock switching circuit for multiple asynchronous clock source Expired - Fee Related US6107841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/149,686 US6107841A (en) 1998-09-08 1998-09-08 Synchronous clock switching circuit for multiple asynchronous clock source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/149,686 US6107841A (en) 1998-09-08 1998-09-08 Synchronous clock switching circuit for multiple asynchronous clock source

Publications (1)

Publication Number Publication Date
US6107841A true US6107841A (en) 2000-08-22

Family

ID=22531383

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/149,686 Expired - Fee Related US6107841A (en) 1998-09-08 1998-09-08 Synchronous clock switching circuit for multiple asynchronous clock source

Country Status (1)

Country Link
US (1) US6107841A (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010028693A1 (en) * 2000-04-07 2001-10-11 Shyh-Pyng Gau Method and circuit for glithch-free changing of clocks having different phases
US6323715B1 (en) * 1999-12-30 2001-11-27 Koninklijke Philips Electronics N.V. (Kpeuv) Method and apparatus for selecting a clock signal without producing a glitch
US6411134B1 (en) * 1998-09-29 2002-06-25 Siemens Aktiengesellschaft Spike-free clock switching
US6452426B1 (en) 2001-04-16 2002-09-17 Nagesh Tamarapalli Circuit for switching between multiple clocks
US20020135408A1 (en) * 2001-01-16 2002-09-26 Chiu Kenny Kok-Hoong Method and interface for glitch-free clock switching
US6563349B2 (en) * 2001-06-27 2003-05-13 Texas Instruments Incorporated Multiplexor generating a glitch free output when selecting from multiple clock signals
WO2003044996A2 (en) * 2001-11-15 2003-05-30 Analog Devices, Inc. Glitch free clock selection switch
KR100396708B1 (en) * 2001-12-12 2003-09-02 주식회사 하이닉스반도체 Clock Change Circuit
US20030184347A1 (en) * 2002-03-28 2003-10-02 Haroun Baher S. Glitch free clock multiplexing circuit with asynchronous switch control and minimum switch over time
US6653867B1 (en) * 2001-06-04 2003-11-25 Advanced Micro Devices, Inc. Apparatus and method for providing a smooth transition between two clock signals
US20030227300A1 (en) * 2002-06-11 2003-12-11 Via-Cyrix, Inc. Multiple asynchronous switching system
US20040095166A1 (en) * 2002-11-18 2004-05-20 Atsushi Yamazaki Clock switching circuit
KR100437833B1 (en) * 2001-12-28 2004-06-30 주식회사 하이닉스반도체 clock signal switch circuit
US6762630B2 (en) * 2000-10-20 2004-07-13 Infineon Technologies Ag Integrated circuit having a synchronous and an asynchronous circuit and method for operating such an integrated circuit
US20040179419A1 (en) * 2003-03-12 2004-09-16 Choi Joo S. Multi-frequency synchronizing clock signal generator
US20060044022A1 (en) * 2004-08-25 2006-03-02 Tayler Michael K Edge detector and method
US20060221070A1 (en) * 2005-03-30 2006-10-05 Nec Corporation Clock switching device and clock switching method
US20070152719A1 (en) * 2005-12-30 2007-07-05 Jian-Hua Wu Clock switching circuit
DE102006026914A1 (en) * 2006-06-09 2007-12-20 Atmel Germany Gmbh Method for switching a system clock and clock synchronization device
US20080012605A1 (en) * 2006-07-12 2008-01-17 Eastman Kodak Company Glitch-free clock switcher
US7629828B1 (en) * 2007-04-27 2009-12-08 Zilog, Inc. Glitch-free clock multiplexer that provides an output clock signal based on edge detection
US9225322B2 (en) 2013-12-17 2015-12-29 Micron Technology, Inc. Apparatuses and methods for providing clock signals
US9367081B2 (en) 2014-09-17 2016-06-14 Apple Inc. Method for synchronizing independent clock signals
CN112104362A (en) * 2020-09-18 2020-12-18 上海安路信息科技有限公司 Method and system for controlling multi-channel clock to determine phase relation output
US11405121B2 (en) * 2017-02-07 2022-08-02 Texas Instruments Incorporated Apparatus and mechanism to support multiple time domains in a single SoC for time sensitive network
US11687114B2 (en) * 2020-06-30 2023-06-27 Samsung Electronics Co., Ltd. Clock converting circuit with symmetric structure

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4398155A (en) * 1981-06-15 1983-08-09 Motorola, Inc. Multiple clock switching circuit
US4419629A (en) * 1980-06-25 1983-12-06 Sperry Corporation Automatic synchronous switch for a plurality of asynchronous oscillators
US4853653A (en) * 1988-04-25 1989-08-01 Rockwell International Corporation Multiple input clock selector
US4899351A (en) * 1988-07-18 1990-02-06 Western Digital Corporation Transient free clock switch logic
US5122677A (en) * 1990-09-04 1992-06-16 Fujitsu Limited Instantaneous breakless clock switching apparatus
US5155380A (en) * 1991-04-12 1992-10-13 Acer Incorporated Clock switching circuit and method for preventing glitch during switching
US5231636A (en) * 1991-09-13 1993-07-27 National Semiconductor Corporation Asynchronous glitchless digital MUX
US5274678A (en) * 1991-12-30 1993-12-28 Intel Corporation Clock switching apparatus and method for computer systems
US5315181A (en) * 1993-07-07 1994-05-24 Maxtor Corporation Circuit for synchronous, glitch-free clock switching
US5483185A (en) * 1994-06-09 1996-01-09 Intel Corporation Method and apparatus for dynamically switching between asynchronous signals without generating glitches
US5564042A (en) * 1991-08-29 1996-10-08 International Business Machines Corporation Asynchronous clock switching between first and second clocks by extending phase of current clock and switching after a predetermined time and appropriated transitions
US5565803A (en) * 1995-05-31 1996-10-15 Hughes Aircraft Company Digital input threshold switching circuit
US5579353A (en) * 1993-10-12 1996-11-26 Texas Instruments Incorporated Dynamic clock mode switch
US5583461A (en) * 1994-09-19 1996-12-10 Advanced Micro Devices, Inc. Internal clock signal generation circuit having external clock detection and a selectable internal clock pulse
US5675615A (en) * 1994-02-23 1997-10-07 Advanced Risc Machines Limited Apparatus and method for switching asynchronous clock signals
US5796288A (en) * 1995-05-16 1998-08-18 Hewlett-Packard Company Graphics accelerator having minimal logic multiplexer system for sharing a microprocessor

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4419629A (en) * 1980-06-25 1983-12-06 Sperry Corporation Automatic synchronous switch for a plurality of asynchronous oscillators
US4398155A (en) * 1981-06-15 1983-08-09 Motorola, Inc. Multiple clock switching circuit
US4853653A (en) * 1988-04-25 1989-08-01 Rockwell International Corporation Multiple input clock selector
US4899351A (en) * 1988-07-18 1990-02-06 Western Digital Corporation Transient free clock switch logic
US5122677A (en) * 1990-09-04 1992-06-16 Fujitsu Limited Instantaneous breakless clock switching apparatus
US5155380A (en) * 1991-04-12 1992-10-13 Acer Incorporated Clock switching circuit and method for preventing glitch during switching
US5564042A (en) * 1991-08-29 1996-10-08 International Business Machines Corporation Asynchronous clock switching between first and second clocks by extending phase of current clock and switching after a predetermined time and appropriated transitions
US5231636A (en) * 1991-09-13 1993-07-27 National Semiconductor Corporation Asynchronous glitchless digital MUX
US5274678A (en) * 1991-12-30 1993-12-28 Intel Corporation Clock switching apparatus and method for computer systems
US5315181A (en) * 1993-07-07 1994-05-24 Maxtor Corporation Circuit for synchronous, glitch-free clock switching
US5579353A (en) * 1993-10-12 1996-11-26 Texas Instruments Incorporated Dynamic clock mode switch
US5675615A (en) * 1994-02-23 1997-10-07 Advanced Risc Machines Limited Apparatus and method for switching asynchronous clock signals
US5483185A (en) * 1994-06-09 1996-01-09 Intel Corporation Method and apparatus for dynamically switching between asynchronous signals without generating glitches
US5583461A (en) * 1994-09-19 1996-12-10 Advanced Micro Devices, Inc. Internal clock signal generation circuit having external clock detection and a selectable internal clock pulse
US5796288A (en) * 1995-05-16 1998-08-18 Hewlett-Packard Company Graphics accelerator having minimal logic multiplexer system for sharing a microprocessor
US5565803A (en) * 1995-05-31 1996-10-15 Hughes Aircraft Company Digital input threshold switching circuit

Cited By (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411134B1 (en) * 1998-09-29 2002-06-25 Siemens Aktiengesellschaft Spike-free clock switching
US6323715B1 (en) * 1999-12-30 2001-11-27 Koninklijke Philips Electronics N.V. (Kpeuv) Method and apparatus for selecting a clock signal without producing a glitch
US20010028693A1 (en) * 2000-04-07 2001-10-11 Shyh-Pyng Gau Method and circuit for glithch-free changing of clocks having different phases
US7023944B2 (en) * 2000-04-07 2006-04-04 Via Technologies, Inc. Method and circuit for glitch-free changing of clocks having different phases
US6762630B2 (en) * 2000-10-20 2004-07-13 Infineon Technologies Ag Integrated circuit having a synchronous and an asynchronous circuit and method for operating such an integrated circuit
US20020135408A1 (en) * 2001-01-16 2002-09-26 Chiu Kenny Kok-Hoong Method and interface for glitch-free clock switching
US7039146B2 (en) * 2001-01-16 2006-05-02 Advanced Micro Devices, Inc. Method and interface for glitch-free clock switching
US6452426B1 (en) 2001-04-16 2002-09-17 Nagesh Tamarapalli Circuit for switching between multiple clocks
US6653867B1 (en) * 2001-06-04 2003-11-25 Advanced Micro Devices, Inc. Apparatus and method for providing a smooth transition between two clock signals
US6563349B2 (en) * 2001-06-27 2003-05-13 Texas Instruments Incorporated Multiplexor generating a glitch free output when selecting from multiple clock signals
WO2003044996A3 (en) * 2001-11-15 2003-10-16 Analog Devices Inc Glitch free clock selection switch
CN100373288C (en) * 2001-11-15 2008-03-05 模拟设备股份有限公司 Glitch-free clock selection circuit
WO2003044996A2 (en) * 2001-11-15 2003-05-30 Analog Devices, Inc. Glitch free clock selection switch
KR100396708B1 (en) * 2001-12-12 2003-09-02 주식회사 하이닉스반도체 Clock Change Circuit
KR100437833B1 (en) * 2001-12-28 2004-06-30 주식회사 하이닉스반도체 clock signal switch circuit
US20030184347A1 (en) * 2002-03-28 2003-10-02 Haroun Baher S. Glitch free clock multiplexing circuit with asynchronous switch control and minimum switch over time
US6784699B2 (en) * 2002-03-28 2004-08-31 Texas Instruments Incorporated Glitch free clock multiplexing circuit with asynchronous switch control and minimum switch over time
US20030227300A1 (en) * 2002-06-11 2003-12-11 Via-Cyrix, Inc. Multiple asynchronous switching system
US6842052B2 (en) 2002-06-11 2005-01-11 Via-Cyrix, Inc. Multiple asynchronous switching system
US20040095166A1 (en) * 2002-11-18 2004-05-20 Atsushi Yamazaki Clock switching circuit
US6882184B2 (en) * 2002-11-18 2005-04-19 Oki Electric Industry Co., Ltd. Clock switching circuit
US6914852B2 (en) 2003-03-12 2005-07-05 Micron Technology, Inc. Multi-frequency synchronizing clock signal generator
US6865135B2 (en) * 2003-03-12 2005-03-08 Micron Technology, Inc. Multi-frequency synchronizing clock signal generator
US6980480B2 (en) 2003-03-12 2005-12-27 Micron Technology, Inc. Multi-frequency synchronizing clock signal generator
US20040202264A1 (en) * 2003-03-12 2004-10-14 Choi Joo S. Multi-frequency synchronizing clock signal generator
US20040202263A1 (en) * 2003-03-12 2004-10-14 Choi Joo S. Multi-frequency synchronizing clock signal generator
US20040179419A1 (en) * 2003-03-12 2004-09-16 Choi Joo S. Multi-frequency synchronizing clock signal generator
US20060044022A1 (en) * 2004-08-25 2006-03-02 Tayler Michael K Edge detector and method
US7015726B1 (en) 2004-08-25 2006-03-21 Hewlett-Packard Development Company, L.P. Edge detector and method
US7321244B2 (en) * 2005-03-30 2008-01-22 Nec Corporation Clock switching device and clock switching method
US20060221070A1 (en) * 2005-03-30 2006-10-05 Nec Corporation Clock switching device and clock switching method
US7259598B2 (en) * 2005-12-30 2007-08-21 National Chiao Tung University Clock switching circuit
US20070152719A1 (en) * 2005-12-30 2007-07-05 Jian-Hua Wu Clock switching circuit
DE102006026914A1 (en) * 2006-06-09 2007-12-20 Atmel Germany Gmbh Method for switching a system clock and clock synchronization device
US20080012612A1 (en) * 2006-06-09 2008-01-17 Atmel Germany Gmbh Method for switching a system clock and clock synchronization unit
DE102006026914B4 (en) * 2006-06-09 2008-02-28 Atmel Germany Gmbh Method for switching a system clock and clock synchronization device
US7605617B2 (en) 2006-06-09 2009-10-20 Atmel Automotive Gmbh Method for switching a system clock and clock synchronization unit
US20080012605A1 (en) * 2006-07-12 2008-01-17 Eastman Kodak Company Glitch-free clock switcher
US7629828B1 (en) * 2007-04-27 2009-12-08 Zilog, Inc. Glitch-free clock multiplexer that provides an output clock signal based on edge detection
US7893748B1 (en) * 2007-04-27 2011-02-22 Ixys Ch Gmbh Glitch-free clock multiplexer that provides an output clock signal based on edge detection
US9225322B2 (en) 2013-12-17 2015-12-29 Micron Technology, Inc. Apparatuses and methods for providing clock signals
US9471087B2 (en) 2013-12-17 2016-10-18 Micron Technology, Inc. Apparatuses and methods for providing clock signals
US9367081B2 (en) 2014-09-17 2016-06-14 Apple Inc. Method for synchronizing independent clock signals
US11405121B2 (en) * 2017-02-07 2022-08-02 Texas Instruments Incorporated Apparatus and mechanism to support multiple time domains in a single SoC for time sensitive network
US11687114B2 (en) * 2020-06-30 2023-06-27 Samsung Electronics Co., Ltd. Clock converting circuit with symmetric structure
CN112104362A (en) * 2020-09-18 2020-12-18 上海安路信息科技有限公司 Method and system for controlling multi-channel clock to determine phase relation output
CN112104362B (en) * 2020-09-18 2023-12-08 上海安路信息科技股份有限公司 Method and system for controlling multiple clocks to determine phase relationship output

Similar Documents

Publication Publication Date Title
US6107841A (en) Synchronous clock switching circuit for multiple asynchronous clock source
US5623223A (en) Glitchless clock switching circuit
US6975145B1 (en) Glitchless dynamic multiplexer with synchronous and asynchronous controls
US5537062A (en) Glitch-free clock enable circuit
US5764710A (en) Meta-stable-resistant front-end to a synchronizer with asynchronous clear and asynchronous second-stage clock selector
US6563349B2 (en) Multiplexor generating a glitch free output when selecting from multiple clock signals
US6429698B1 (en) Clock multiplexer circuit with glitchless switching
US6784699B2 (en) Glitch free clock multiplexing circuit with asynchronous switch control and minimum switch over time
US6927604B2 (en) Clock signal selector circuit with reduced probability of erroneous output due to metastability
US5793227A (en) Synchronizing logic avoiding metastability
KR20010098518A (en) Dll circuit, semiconductor device using the same and delay control method
US6472909B1 (en) Clock routing circuit with fast glitchless switching
US5502409A (en) Clock switcher circuit
JPH07147573A (en) Dynamic clock switching circuit
US6782064B1 (en) Circuit, architecture and method for asynchronous clock domain switching
US6049236A (en) Divide-by-one or divide-by-two qualified clock driver with glitch-free transitions between operating frequencies
US6292044B1 (en) Low power glitch-free clock switch
US6535048B1 (en) Secure asynchronous clock multiplexer
EP2223193A1 (en) Glitch free 2-way clock switch
US6873183B1 (en) Method and circuit for glitchless clock control
US7071738B1 (en) Glitchless clock selection circuit using phase detection switching
US6092129A (en) Method and apparatus for communicating signals between circuits operating at different frequencies
US20030227300A1 (en) Multiple asynchronous switching system
US20070234251A1 (en) Data Output Clock Selection Circuit For Quad-Data Rate Interface
US5703507A (en) Device for switching among clock signals allocated to a plurality of users

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GOODNOW, KENNETH J.;REEL/FRAME:009469/0954

Effective date: 19980908

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

CC Certificate of correction
FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20080822