Claims
- 1. A computer system comprising:first and second clocks, each generating clock pulses; a first comparator circuit which detects whether a polarity of said first clock has changed during one cycle of said second clock and outputs a clock stop signal when the polarity of said first clock has not changed during the one cycle of said second clock; a second comparator circuit which detects whether a polarity of said second clock has changed during one cycle of said first clock and outputs an alarm signal when the polarity of said second clock has not changed during the one cycle of said first clock; a polarity matching circuit which, responsive to said clock stop signal and said second clock, outputs a clock switch signal when the polarity of said second clock matches the polarity of said first clock; and a clock output switch circuit which, responsive to said clock switch signal, switches an output of said clock output switch circuit from said first clock to said second clock.
- 2. A computer system according to claim 1, wherein the output of said clock output switch is connected to a processor.
- 3. A computer system according to claim 1, wherein the output of said clock output switch is connected to a plurality of processors.
- 4. A computer system according to claim 1, wherein said second comparator circuit comprises:a first binary counter having a clock terminal to which said first clock is applied, a clear terminal to which said second clock is applied, and an output terminal which outputs an output of said first binary counter; a second binary counter having a clock terminal to which an inverted signal of said first clock is applied, a clear terminal to which an inverted signal of said second said first clock is applied, and an output terminal which outputs an output of said second binary counter; and an OR gate having a first input terminal to which an said output of said first binary counter is applied, a second input terminal to which said output of said second binary counter is applied and an output terminal which outputs said alarm signal.
- 5. A computer system according to claim 1, wherein said clock output switch circuit comprises:an inverter having an input terminal to which is applied said clock switch signal and an output terminal which outputs an inverted signal of said clock switch signal; a first AND gate having a first input terminal to which said first second clock is applied, a second input terminal to which said inverted signal of said clock switch signal is applied, and an output terminal which outputs an output of said first AND gate; a second AND gate having a first input terminal to which said second clock is applied, a second input terminal to which said clock switch signal is applied, and an output terminal which outputs an output of said second AND gate; and an OR gate having a first input terminal to which said output of said first AND gate is applied, a second input terminal to which said output of said second AND gate is applied, and an output terminal which outputs one of said first or second clocks.
- 6. A computer system according to claim 1, wherein said first comparator circuit comprises:a first binary counter having a clock terminal to which said second clock is applied, a clear terminal to which said first clock is applied, and an output terminal which outputs an output of said first binary counter; and a second binary counter having a clock terminal to which an inverted signal of said second clock is applied, a clear terminal to which an inverted signal of said first clock is applied, and an output terminal which outputs an output terminal of said second binary counter.
- 7. A computer system according to claim 1, wherein said polarity matching circuit comprises:an inverter having an input terminal to which said second clock is applied and output terminal which outputs an inverted signal of said second clock; a first AND gate having a first input terminal to which said output of said first binary counter is applied, a second input terminal to which said inverted signal of said second clock signal is applied and an output terminal which outputs an output of said first AND gate; a second AND gate having a first input terminal to which an output of said second binary counter is applied, a second input terminal to which said second clock is applied and an output terminal which outputs an output of said second AND gate; and an OR gate having a first input terminal to which said output of said first AND gate is applied, a second input terminal to which said output of said second AND gate is applied, and an output terminal which outputs said clock switch signal to said clock output switch circuit.
- 8. A computer system according to claim 1, further comprising:a flip-flop circuit having an input terminal to which said alarm signal from said second comparator circuit is applied and an output terminal upon which said alarm signal is maintained.
- 9. A computer system according to claim 1, further comprising:a flip-flop circuit having an input terminal to which said clock switch signal is applied and an output terminal upon which said clock switch signal is maintained.
- 10. A method of switching from a first clock to a second clock when said first clock stops in a computer system comprising the steps of:detecting whether a polarity of said first clock has changed during one cycle of said second clock and outputting a clock stop signal when the polarity of said first clock has not changed during the one cycle of said second clock; detecting whether a polarity of said second clock has changed during one cycle of said first clock and outputting an alarm signal when the polarity of said second clock has not changed during the one cycle of said first clock; responsive to said clock stop signal and said second clock, outputting a clock switch signal when the polarity of said second clock matches the polarity of said first clock; and responsive to said clock switch signal, switching a clock supplied to said computer system from said first clock to said second clock.
- 11. A method according to claim 10, wherein said computer system includes a processor.
- 12. A method according to claim 10, wherein said computer system includes a plurality of processors.
Priority Claims (4)
Number |
Date |
Country |
Kind |
3-7519 |
Jan 1991 |
JP |
|
3-7520 |
Jan 1991 |
JP |
|
3-7521 |
Jan 1991 |
JP |
|
3-7523 |
Jan 1991 |
JP |
|
Parent Case Info
This is a continuation application of Ser. No. 08/434,288, filed May 3, 1995; which is a continuation of Ser. No. 08/252,189, filed Jun. 1, 1994, now abandoned; which is a continuation of Ser. No. 07/826,909, filed Jan. 24, 1992, now abandoned.
US Referenced Citations (23)
Foreign Referenced Citations (3)
Number |
Date |
Country |
62-111314 |
May 1987 |
JP |
1280820 |
Nov 1989 |
JP |
2128208 |
May 1990 |
JP |
Continuations (3)
|
Number |
Date |
Country |
Parent |
08/434288 |
May 1995 |
US |
Child |
09/188903 |
|
US |
Parent |
08/252189 |
Jun 1994 |
US |
Child |
08/434288 |
|
US |
Parent |
07/826909 |
Jan 1992 |
US |
Child |
08/252189 |
|
US |