JPH05268020A - Clock switching circuit - Google Patents
Clock switching circuitInfo
- Publication number
- JPH05268020A JPH05268020A JP6272092A JP6272092A JPH05268020A JP H05268020 A JPH05268020 A JP H05268020A JP 6272092 A JP6272092 A JP 6272092A JP 6272092 A JP6272092 A JP 6272092A JP H05268020 A JPH05268020 A JP H05268020A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- signal
- circuit
- terminal
- clocks
- 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.)
- Pending
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、クロックを切り換える
ための回路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for switching clocks.
【0002】[0002]
【従来の技術】従来、半導体集積回路などでは、図3に
示すようなクロック切換回路が用いられていた。この回
路はセレクタ8からなり、その入力端子Aにはクロック
10が、入力端子Bにはクロック11がそれぞれ入力さ
れ、選択信号入力端子Sには切換信号12が入力されて
いる。そして、図4のタイミングチャートに示すよう
に、切換信号12がローレベルのときは、セレクタ8は
クロック10を選択し、出力端子Yよりクロック13と
して出力する。一方、切換信号12がハイレベルのとき
は、セレクタ8はクロック11を選択し、出力端子Yよ
りクロック13として出力する。2. Description of the Related Art Conventionally, a clock switching circuit as shown in FIG. 3 has been used in a semiconductor integrated circuit or the like. This circuit comprises a selector 8, a clock 10 is input to its input terminal A, a clock 11 is input to its input terminal B, and a switching signal 12 is input to its selection signal input terminal S. Then, as shown in the timing chart of FIG. 4, when the switching signal 12 is at the low level, the selector 8 selects the clock 10 and outputs it as the clock 13 from the output terminal Y. On the other hand, when the switching signal 12 is at the high level, the selector 8 selects the clock 11 and outputs it as the clock 13 from the output terminal Y.
【0003】[0003]
【発明が解決しようとする課題】しかしこのような従来
のクロック切換回路では、切換信号12が直接セレクタ
8に入力されているため、切換信号12の論理レベル
が、クロック10,11の立ち下り(あるいは立ち上が
り)近辺で変化した場合には、クロック10,11の若
干のずれなどによりクロック13に図のようなノイズN
が発生し、クロック13が供給される回路で誤動作が発
生するという問題があった。However, in such a conventional clock switching circuit, since the switching signal 12 is directly input to the selector 8, the logical level of the switching signal 12 falls (falls) of the clocks 10 and 11. If it changes in the vicinity of (rising), the clock 13 may have a noise N as shown in the figure due to a slight deviation between the clocks 10 and 11.
Occurs, causing a malfunction in the circuit to which the clock 13 is supplied.
【0004】本発明の目的は、このような問題を解決
し、切り換え時にノイズが発生しないようにしたクロッ
ク切換回路を提供することにある。An object of the present invention is to solve the above problems and provide a clock switching circuit in which noise is not generated during switching.
【0005】[0005]
【課題を解決するための手段】本発明のクロック切換回
路は、第1および第2のクロックを入力とし、所定の選
択信号にもとづいて前記2つのクロックのいずれかを出
力するセレクタと、前記第1および第2のクロックをそ
れぞれ積分して出力する第1および第2の積分回路と、
これら第1および第2の積分回路の出力信号を入力とす
るアンド回路と、所定の切換信号および前記アンド回路
の出力信号をそれぞれデータおよびクロックとして受け
取り、出力信号を前記選択信号として前記セレクタに供
給するフリップフロップとを備えたことを特徴とする。A clock switching circuit according to the present invention includes a selector which receives first and second clocks and outputs one of the two clocks based on a predetermined selection signal, and the selector. First and second integrator circuits for integrating and outputting the first and second clocks, respectively,
An AND circuit which receives the output signals of the first and second integrator circuits, a predetermined switching signal and an output signal of the AND circuit are respectively received as data and a clock, and the output signal is supplied to the selector as the selection signal. And a flip-flop that operates.
【0006】[0006]
【実施例】次に本発明の実施例について図面を参照して
説明する。図1に本発明によるクロック切換回路の一例
を示す。セレクタ8は、端子Sにローレベルの選択信号
が入力されたときは、端子Aに入力されているクロック
1を選択して端子Yよりクロック9として出力し、一
方、端子Sにハイレベルの選択信号が入力されたとき
は、端子Bに入力されているクロック2を選択して端子
Yよりクロック9として出力する。積分回路4,5は、
それぞれ抵抗とコンデンサとによって構成され、クロッ
ク1,2をそれぞれ積分する。アンド回路6は積分回路
4,5の出力信号の論理積をとる。フリップフロップ7
は、切換信号3をデータとして端子Dで受け取り、アン
ド回路6の出力信号をクロックとして端子Cで受け取
る。そして、アンド回路6の出力信号の立ち上がりで切
換信号3を取り込み、選択信号としてセレクタ8の端子
Sに供給する。Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 shows an example of a clock switching circuit according to the present invention. When a low-level selection signal is input to the terminal S, the selector 8 selects the clock 1 input to the terminal A and outputs it as the clock 9 from the terminal Y, while the high-level selection signal is input to the terminal S. When a signal is input, the clock 2 input to the terminal B is selected and output as the clock 9 from the terminal Y. The integrating circuits 4 and 5 are
The clocks 1 and 2 are respectively integrated by resistors and capacitors. The AND circuit 6 takes the logical product of the output signals of the integrating circuits 4 and 5. Flip flop 7
Receives the switching signal 3 as data at the terminal D and the output signal of the AND circuit 6 as a clock at the terminal C. Then, the switching signal 3 is fetched at the rising edge of the output signal of the AND circuit 6 and supplied to the terminal S of the selector 8 as a selection signal.
【0007】次に、図2のタイミングチャートを参照し
て動作を説明する。クロック1,2は図に示すような所
定周期のクロックである。積分回路4,5はそれぞれク
ロック1,2を積分するため、それらの出力信号41,
51は図のような鈍った波形となる。Next, the operation will be described with reference to the timing chart of FIG. Clocks 1 and 2 are clocks having a predetermined cycle as shown in the figure. Since the integrator circuits 4 and 5 integrate the clocks 1 and 2, respectively, their output signals 41 and
51 has a dull waveform as shown in the figure.
【0008】そしてアンド回路6は、信号41,51が
共にローレベルからハイレベルへのスレッショルドレベ
ルを越えた場合にハイレベルの信号を出力し、逆に、信
号41,51のいずれかがハイレベルからローレベルへ
のスレッショルドレベルを越えた場合にはローレベルの
信号を出力する。その結果、アンド回路6の出力信号6
1はクロック1,2を若干遅延させたものとなる。The AND circuit 6 outputs a high level signal when both the signals 41 and 51 exceed the threshold level from low level to high level, and conversely, either of the signals 41 and 51 is high level. When the threshold level from to low level is exceeded, a low level signal is output. As a result, the output signal 6 of the AND circuit 6
1 is obtained by slightly delaying the clocks 1 and 2.
【0009】切換信号3は、この出力信号61の立ち上
がりでフリップフロップ7に取り込まれるので、図のよ
うにタイミングT1で切換信号3がハイレベルになる
と、その次の出力信号61の立ち上がりのタイミングT
2でフリップフロップ7はハイレベルの選択信号71を
出力する。従って、セレクタ8はタイミングT2以前
は、クロック1を選択し、クロック9として出力する
が、タイミングT2以降は、クロック2を選択し、クロ
ック9として出力する。そして、選択信号71のレベル
は、クロック1,2が完全にハイレベルになり、安定し
た定常状態で変化するので、図のようにクロック9には
一切ノイズは発生しない。Since the switching signal 3 is taken into the flip-flop 7 at the rising edge of the output signal 61, when the switching signal 3 goes high at the timing T1 as shown in the figure, the timing T of the next rising edge of the output signal 61 is reached.
At 2, the flip-flop 7 outputs the high-level selection signal 71. Therefore, the selector 8 selects the clock 1 and outputs it as the clock 9 before the timing T2, but selects the clock 2 and outputs it as the clock 9 after the timing T2. The level of the selection signal 71 changes in a stable steady state in which the clocks 1 and 2 are completely at the high level, so that no noise is generated in the clock 9 as shown in the figure.
【0010】[0010]
【発明の効果】以上説明したように本発明のクロック切
換回路は、第1および第2のクロックを入力とし、所定
の選択信号にもとづいて2つのクロックのいずれかを出
力するセレクタと、第1および第2のクロックをそれぞ
れ積分して出力する第1および第2の積分回路と、これ
ら第1および第2の積分回路の出力信号を入力とするア
ンド回路と、所定の切換信号およびアンド回路の出力信
号をそれぞれデータおよびクロックとして受け取り、出
力信号を選択信号としてセレクタに供給するフリップフ
ロップとを備えたことを特徴とする。As described above, the clock switching circuit of the present invention has a selector which receives the first and second clocks and outputs one of the two clocks based on a predetermined selection signal. A first and second integrator circuit for integrating and outputting the second and second clocks, an AND circuit for receiving the output signals of the first and second integrator circuits, and a predetermined switching signal and an AND circuit. And a flip-flop for receiving the output signal as a data signal and a clock and supplying the output signal as a selection signal to the selector.
【0011】従って、本発明のクロック切換回路では、
アンド回路からは、第1および第2のクロックを遅延さ
せたクロックが出力され、フリップフロップはそのクロ
ックにもとづいて切換信号を取り込む。そのため、フリ
ップフロップが出力する選択信号は、第1および第2の
クロックの論理レベルが変化する過渡状態では変化せ
ず、第1および第2のクロックが完全にハイレベルまた
はローレベルになり、安定した状態で変化する。その結
果、セレクタが出力するクロックには、クロックの切換
に伴うノイズは一切含まれず、回路の誤動作を防止する
ことが可能となる。Therefore, in the clock switching circuit of the present invention,
A clock obtained by delaying the first and second clocks is output from the AND circuit, and the flip-flop fetches the switching signal based on the clock. Therefore, the selection signal output from the flip-flop does not change in the transient state in which the logic levels of the first and second clocks change, and the first and second clocks are completely set to high level or low level and stable. It changes depending on the condition. As a result, the clock output from the selector does not include any noise associated with the clock switching, and it is possible to prevent the circuit from malfunctioning.
【図1】本発明のクロック切換回路の一例を示す回路図
である。FIG. 1 is a circuit diagram showing an example of a clock switching circuit of the present invention.
【図2】図1のクロック切換回路の動作を示すタイミン
グチャートである。FIG. 2 is a timing chart showing an operation of the clock switching circuit of FIG.
【図3】従来のクロック切換回路の一例を示す回路図で
ある。FIG. 3 is a circuit diagram showing an example of a conventional clock switching circuit.
【図4】図3のクロック切換回路の動作を示すタイミン
グチャートである。FIG. 4 is a timing chart showing the operation of the clock switching circuit of FIG.
4,5 積分回路 6 アンド回路 7 フリップフロップ 8 セレクタ 4, 5 Integration circuit 6 AND circuit 7 Flip-flop 8 Selector
Claims (2)
定の選択信号にもとづいて前記2つのクロックのいずれ
かを出力するセレクタと、 前記第1および第2のクロックをそれぞれ積分して出力
する第1および第2の積分回路と、 これら第1および第2の積分回路の出力信号を入力とす
るアンド回路と、 所定の切換信号および前記アンド回路の出力信号をそれ
ぞれデータおよびクロックとして受け取り、出力信号を
前記選択信号として前記セレクタに供給するフリップフ
ロップとを備えたことを特徴とするクロック切換回路。1. A selector which inputs first and second clocks and outputs one of the two clocks based on a predetermined selection signal, and outputs by integrating each of the first and second clocks. A first and second integrator circuit, an AND circuit that receives the output signals of the first and second integrator circuits, and a predetermined switching signal and an output signal of the AND circuit as data and a clock, respectively. A clock switching circuit comprising: a flip-flop that supplies an output signal as the selection signal to the selector.
れ抵抗とコンデンサとにより構成されていることを特徴
とする請求項1に記載の請求項切換回路。2. The switching circuit according to claim 1, wherein each of the first and second integrating circuits comprises a resistor and a capacitor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6272092A JPH05268020A (en) | 1992-03-19 | 1992-03-19 | Clock switching circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6272092A JPH05268020A (en) | 1992-03-19 | 1992-03-19 | Clock switching circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05268020A true JPH05268020A (en) | 1993-10-15 |
Family
ID=13208472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6272092A Pending JPH05268020A (en) | 1992-03-19 | 1992-03-19 | Clock switching circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05268020A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
US5926053A (en) * | 1995-12-15 | 1999-07-20 | National Semiconductor Corporation | Selectable clock generation mode |
US6239626B1 (en) * | 2000-01-07 | 2001-05-29 | Cisco Technology, Inc. | Glitch-free clock selector |
-
1992
- 1992-03-19 JP JP6272092A patent/JPH05268020A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
US5926053A (en) * | 1995-12-15 | 1999-07-20 | National Semiconductor Corporation | Selectable clock generation mode |
US6239626B1 (en) * | 2000-01-07 | 2001-05-29 | Cisco Technology, Inc. | Glitch-free clock selector |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6137334A (en) | Logic circuit delay stage and delay line utilizing same | |
US5619170A (en) | PLL timing generator with voltage controlled oscillator | |
US7688671B2 (en) | Semiconductor memory chip with on-die termination function | |
JP3732556B2 (en) | Clock supply circuit | |
US20020079943A1 (en) | Digital clock generator circuit with built-in frequency and duty cycle control | |
JPH05268020A (en) | Clock switching circuit | |
KR100291126B1 (en) | Circuit device including a plurality of sub-circuits and clock signal regeneration circuits | |
JPH0763135B2 (en) | Semiconductor integrated logic circuit | |
JPH07264056A (en) | Integrated digital circuit | |
JPH0450657Y2 (en) | ||
US5572149A (en) | Clock regeneration circuit | |
JPH06177723A (en) | Pulse width modulation circuit | |
JPH05327435A (en) | Semiconductor integrated circuit device | |
JP2969732B2 (en) | Semiconductor integrated circuit | |
JPH03117208A (en) | Data latch circuit | |
JPS6398213A (en) | Power-on reset circuit | |
JP3084856B2 (en) | Bidirectional buffer circuit | |
JPH04301915A (en) | Clock signal switching device | |
JP2690615B2 (en) | Logic circuit | |
JPH1084277A (en) | Clock generation circuit | |
JPH0210913A (en) | Semiconductor integrated circuit logic circuit | |
JPH02139957A (en) | Semiconductor integrated circuit | |
JPH0666896A (en) | Logic integrated circuit | |
JP2000163173A (en) | Output simultaneous operation reducing circuit | |
JPH01208909A (en) | Timer device |