JPS62272617A - Clock switching circuit - Google Patents

Clock switching circuit

Info

Publication number
JPS62272617A
JPS62272617A JP61116465A JP11646586A JPS62272617A JP S62272617 A JPS62272617 A JP S62272617A JP 61116465 A JP61116465 A JP 61116465A JP 11646586 A JP11646586 A JP 11646586A JP S62272617 A JPS62272617 A JP S62272617A
Authority
JP
Japan
Prior art keywords
clock
change point
switching
point detection
detection signal
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
Application number
JP61116465A
Other languages
Japanese (ja)
Inventor
Osamu Watanabe
修 渡邉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61116465A priority Critical patent/JPS62272617A/en
Publication of JPS62272617A publication Critical patent/JPS62272617A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform a clock switching without noise, by switching the first clock, and the second clock, by the second change point detection signal obtained from the first change point detection signal, and the second clock, after obtaining the first change point detection signal from the first clock, and a clock switching signal. CONSTITUTION:The titled circuit is formed by a change point de tecting means 6 which obtains the second change point detection signal by detecting the change point of the second clock from the first change point detection signal, and the second clock, after obtaining the first change point detection signal by detecting the change point of the first clock from the first clock, and the clock switching signal out of inputted first clock, second clock, and clock switching signal, and a switching means 5 which switches the first clock, and the second clock by the second change point detection signal from the change point detecting means. And by driving the switching means 5 by the second change point detection signal, and switching the first clock, and the second clock, the clock switching without noise can be performed.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔概要〕 クロック切替回路において、第1のクロックとクロック
切替信号とから第1の変化点検出信号を得た後、この第
1の変化点検出信号と第2のクロックとから得られた第
2の変化点検出信号で、第1のクロックと第2のクロッ
クとを切替えることにより雑音のないクロック切替えが
行われる様にしたものである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Summary] In the clock switching circuit, after obtaining the first change point detection signal from the first clock and the clock switching signal, this first change inspection is performed. By switching between the first clock and the second clock using the second change point detection signal obtained from the output signal and the second clock, noise-free clock switching is performed.

(産業上の利用分野〕 本発明は例えば周波数の異なる2種類のクロックを切替
えるクロック切替回路の改良に関するものである。
(Industrial Application Field) The present invention relates to an improvement in a clock switching circuit that switches between two types of clocks having different frequencies, for example.

一般に、処理装置からデータ速度の異なる端末にデータ
を伝送する際には、この処理装置でクロックを切替えて
データを端末に送出するが、クロック切替えの際には切
替えられたクロックを利用して論理動作をする部分が誤
動作を起こさない様に、雑音のないクロック切替えが行
われる必要がある。
Generally, when transmitting data from a processing device to a terminal with a different data speed, the processing device switches the clock and sends the data to the terminal. Clock switching must be performed without noise so that operating parts do not malfunction.

〔従来の技術〕[Conventional technology]

第5図は従来例のブロック図、第6図は第5図のタイム
チャートを示す。尚、第6図の左側の数字は第5図中の
同じ数字の部分の波形を示す。
FIG. 5 is a block diagram of a conventional example, and FIG. 6 is a time chart of FIG. 5. Note that the numbers on the left side of FIG. 6 indicate the waveforms of the portions with the same numbers in FIG.

以下、第6図を参照して第5図の動作を説明する。The operation shown in FIG. 5 will be explained below with reference to FIG.

先ず、第6図(al−■、■、■に示す様な第1のクロ
ック(以下、 GK−1と省略する)、第1のクロック
よりも周波数の低い第2のクロック(以下、 CK−2
と省略する)及びクロック切替信号(以下、 C0NT
と省略する)がアンド回路1,2、反転回路4、オア回
路3で構成されたクロック切替回路に入力するが、C0
NTが“L″の時は反転回路4で“H″に反転されてア
ンド回路2に加えられるので、この回路がオンになって
GK−2がオア回路3を介して出力される。
First, a first clock (hereinafter abbreviated as GK-1) as shown in FIG. 2
) and clock switching signal (hereinafter referred to as C0NT
C0
When NT is "L", it is inverted to "H" by the inverting circuit 4 and applied to the AND circuit 2, so this circuit is turned on and GK-2 is outputted via the OR circuit 3.

しかし、C0NTが“H”に切替わるとアンド回路2が
オフに、アンド回路1がオンになりCK−1がオア回路
3を介して出力されCK−1とCK−2とが切替えられ
る(第6図(al−■参照)。
However, when C0NT switches to "H", AND circuit 2 is turned off, AND circuit 1 is turned on, CK-1 is outputted via OR circuit 3, and CK-1 and CK-2 are switched (the first Figure 6 (see al-■).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、例えばCK−1とCK−2の位相関係が第6図
[bl−■、■°に示す様な場合、CK−2が立上って
直くにアンド回路2がオフになるが、GK−1が“L″
のために第6図(b)−■′に示す様に*印の雑音が生
じ、例えばこのクロックの立下りを用いて回路が動作し
ている場合は誤動作が生ずる。
However, for example, if the phase relationship between CK-1 and CK-2 is as shown in FIG. -1 is “L”
Therefore, noise marked with * is generated as shown in FIG. 6(b)-■', and if the circuit is operated using the falling edge of this clock, for example, a malfunction will occur.

即ち、クロックの切替えにより雑音を発生ずると云う問
題点が生ずる。
That is, a problem arises in that noise is generated due to clock switching.

〔問題点を解決する為の手段〕[Means for solving problems]

上記の問題点は第1図に示す様に、入力する第1のクロ
ック、第2のクロック及びクロック切替信号のうち、該
第1のクロックと該クロック切替信号とから該第1のク
ロックの変化点を検出して第1の変化点検出信号を得た
後、該第1の変化点検出信号と該第2のクロックとから
該第2のクロックの変化点を検出して第2の変化点検出
信号を得る変化点検出手段6と、該変化点検出手段から
の第2の変化点検出信号により該第1のクロックと第2
のクロックとを切替える切替手段5とから構成された本
発明のクロック切替回路により解決される。
As shown in FIG. 1, the above problem is caused by the change in the first clock from the first clock and the clock switching signal among the input first clock, second clock, and clock switching signal. After detecting the point and obtaining the first change point detection signal, detect the change point of the second clock from the first change point detection signal and the second clock to perform a second change check. A changing point detecting means 6 for obtaining an output signal, and a second changing point detection signal from the changing point detecting means detect the first clock and the second clock.
This problem is solved by the clock switching circuit of the present invention, which includes a switching means 5 for switching between the clock and the clock.

〔作用〕[Effect]

本発明は、変化点検出手段6で第1のクロックとクロッ
ク制御信号とから第1の変化点検出信号を得た後、この
検出信号と第2のクロックとから第2のクロックの立上
り点と一致する立上り点を持つ第2の変化点検出信号を
得る。そして、この第2の変化点検出信号で切替手段5
を駆動して第1のクロックと第2のクロックとを切替え
、雑音のないクロック切替えが行われる様にしたもので
ある。
In the present invention, after the change point detection means 6 obtains the first change point detection signal from the first clock and the clock control signal, the rising point of the second clock is determined from this detection signal and the second clock. A second change point detection signal having matching rising points is obtained. Then, the switching means 5 uses this second change point detection signal.
The clock is driven to switch between the first clock and the second clock, so that clock switching is performed without noise.

〔実施例〕〔Example〕

第2図は本発明の実施例のブロック図、第3図は第2図
のタイムチャートで、第3図ta+は第6図(alに、
第3図(blは第6図fblにそれぞれ対応したもので
ある。尚、アンド回路1.2、オア回路3、反転回路4
は切替手段5、フリップフロップ61゜62は変化点検
出手段の構成部分である。又、全図を通じて同一符号は
同一対象物を示す。
FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a time chart of FIG. 2, and ta+ in FIG.
Fig. 3 (bl corresponds to fbl in Fig. 6, respectively. AND circuit 1.2, OR circuit 3, and inverting circuit 4)
is the switching means 5, and the flip-flops 61 and 62 are the constituent parts of the change point detection means. Also, the same reference numerals indicate the same objects throughout the figures.

以下、 GK−2からGK−1に切替えるとして第3図
を参照して第2図の動作を説明する。
Hereinafter, the operation of FIG. 2 will be explained with reference to FIG. 3 assuming that GK-2 is switched to GK-1.

先ず、第3図(al−■、■、■に示すGK−1,GK
−2及びC0NTが入力するとDタイプフリップフロッ
プ(以下、D−FFと省略する)61でC0NTをデー
タとしてCK−2によって打ち抜かれ、第3図(al−
■に示す様にGK−2の立上りと一致した第2の変化点
検出信号が端子Qより[1−FF62に加えられる。
First, GK-1 and GK shown in Fig. 3 (al-■, ■, ■)
-2 and C0NT are input, a D type flip-flop (hereinafter abbreviated as D-FF) 61 punches C0NT as data by CK-2, and as shown in FIG.
As shown in (2), a second change point detection signal that coincides with the rising edge of GK-2 is applied from terminal Q to [1-FF62.

ここにはCK−1が加えられているので、第3図(al
−■に示す様にCK−1の立上り点と一致した出力が得
られるが、“L”の部分が反転回路4を通ってアンド回
路2をオンにする。そこで、CK−2がアンド回路2及
びオア回路3を介して出力されるが、第3図fa+−〇
の立上り点でアンド回路2がオフに、アンド回路1がオ
ンになってCK−2からCK−1に切替えられてオア回
路3を介して出力される。
Since CK-1 is added here, Figure 3 (al
As shown in -■, an output that coincides with the rising point of CK-1 is obtained, but the "L" portion passes through the inverting circuit 4 and turns on the AND circuit 2. Therefore, CK-2 is outputted via AND circuit 2 and OR circuit 3, but at the rising point of fa+-〇 in Fig. 3, AND circuit 2 is turned off, AND circuit 1 is turned on, and CK-2 is output from CK-2. The signal is switched to CK-1 and output via the OR circuit 3.

次に、第3図(blのCLIとCK−2の位相関係は第
6図(blと同一になっている。
Next, the phase relationship between CLI and CK-2 in FIG. 3 (bl) is the same as that in FIG. 6 (bl).

即ち、第3図fbl−■、■1.■に示すCK−1,G
K−2,C0NTが入力するとD−FF 61で第3図
(bl−■1に示す第1の変化点検出信号が得られ、こ
れが更にD−FF 62で(J−1で打ち抜かれて第3
図(bl−■1に示ず第2の変化点検出信号が得られる
。そして、これを用いてアンド回路2と1とを切替えて
第3図(bl−■°の出力を得るが、第6図(bl−■
“の*印の雑音は消滅するので雑音のないクロック切替
えが行われ、このクロックの立下りで動作する回路は誤
動作しない。
That is, Fig. 3 fbl-■, ■1. CK-1,G shown in ■
When K-2 and C0NT are input, the D-FF 61 obtains the first change point detection signal shown in FIG. 3
A second change point detection signal is obtained, not shown in Figure (bl-■1).Then, this is used to switch AND circuits 2 and 1 to obtain the output of Figure 3 (bl-■°, but Figure 6 (bl-■
Since the noise marked with an * disappears, clock switching is performed without noise, and circuits that operate on the falling edge of this clock do not malfunction.

第4図は本発明の別の実施例のブロック図で、D−FF
61,62のクロック入力側に反転回路7,8がそれぞ
れ接続されているので、このクロック切替回路に接続さ
れる回路が立上りクロックを必要とする場合に有効であ
る。
FIG. 4 is a block diagram of another embodiment of the present invention, in which the D-FF
Since inversion circuits 7 and 8 are connected to the clock input sides of clocks 61 and 62, respectively, this is effective when a circuit connected to this clock switching circuit requires a rising clock.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、雑音のないク
ロック切替えができると云う効果がある。
As described in detail above, according to the present invention, there is an effect that clock switching can be performed without noise.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理ブロック図、 第2図は本発明の実施例のブロック図、第3図は第2図
のタイムチャート、 第4図は本発明の別の実施例のブロック図、第5図は従
来例のブロック図、 第6図は第5図のタイムチャートを示す。 図において、 5は切替手段、 6は変化点検出手段、 61、62はDタイプフリップフロップを示す。 イ          ν 【 ((Jl+1 e OO■  O■ ○ b リ リ リ リ 5図のタイム今w−1 第 乙 図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the invention, Fig. 3 is a time chart of Fig. 2, Fig. 4 is a block diagram of another embodiment of the invention, FIG. 5 is a block diagram of a conventional example, and FIG. 6 is a time chart of FIG. 5. In the figure, 5 is a switching means, 6 is a change point detection means, and 61 and 62 are D type flip-flops. I ν [((Jl+1 e OO■ O■ ○ b Ri Ri Ri Ri 5 time now w-1 Figure B

Claims (1)

【特許請求の範囲】[Claims] 入力する第1のクロック、第2のクロック及びクロック
切替信号のうち、該第1のクロックと該クロック切替信
号とから該第1のクロックの変化点を検出して第1の変
化点検出信号を得た後、該第1の変化点検出信号と該第
2のクロックとから該第2のクロックの変化点を検出し
て第2の変化点検出信号を得る変化点検出手段(6)と
、該変化点検出手段からの第2の変化点検出信号により
該第1のクロックと第2のクロックとを切替える切替手
段(5)とから構成されたことを特徴とするクロック切
替回路。
Among the input first clock, second clock, and clock switching signal, a changing point of the first clock is detected from the first clock and the clock switching signal to generate a first changing point detection signal. change point detection means (6) for obtaining a second change point detection signal by detecting a change point of the second clock from the first change point detection signal and the second clock; A clock switching circuit comprising: switching means (5) for switching between the first clock and the second clock in response to a second change point detection signal from the change point detection means.
JP61116465A 1986-05-20 1986-05-20 Clock switching circuit Pending JPS62272617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61116465A JPS62272617A (en) 1986-05-20 1986-05-20 Clock switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61116465A JPS62272617A (en) 1986-05-20 1986-05-20 Clock switching circuit

Publications (1)

Publication Number Publication Date
JPS62272617A true JPS62272617A (en) 1987-11-26

Family

ID=14687778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61116465A Pending JPS62272617A (en) 1986-05-20 1986-05-20 Clock switching circuit

Country Status (1)

Country Link
JP (1) JPS62272617A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01189220A (en) * 1988-01-22 1989-07-28 Fujitsu Ltd Clock switching system
US5770952A (en) * 1995-06-13 1998-06-23 Holtek Microelectronics Inc. Timer that provides both surveying and counting functions

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01189220A (en) * 1988-01-22 1989-07-28 Fujitsu Ltd Clock switching system
US5770952A (en) * 1995-06-13 1998-06-23 Holtek Microelectronics Inc. Timer that provides both surveying and counting functions

Similar Documents

Publication Publication Date Title
KR910010529A (en) Shift register device
JP3440120B2 (en) Apparatus for generating clock signal from digital signal
KR900011144A (en) Duty control circuit
JP3467975B2 (en) Phase detection circuit
KR940012021A (en) Drive circuit of display device
JPS62272617A (en) Clock switching circuit
JP2972447B2 (en) Data transfer circuit
JPH01116815A (en) Clock switching circuit
KR850007515A (en) Noise reduction device
RU2022484C1 (en) Relative phase manipulation signal demodulator
SU1709522A1 (en) Device for determination of angular position of shaft
SU1197132A2 (en) Frequency-phase-shift keyer
JPH0537306A (en) Flip-flop circuit
SU1474652A1 (en) Back-up controller
KR900005307Y1 (en) Frequency alternating detective circuit
JPS6175380A (en) Clock switching circuit
JP3069817B2 (en) Barcode reader
JPH04236614A (en) Information processing system capable of coping with change of clock frequency
JPS6335465Y2 (en)
SU1621143A1 (en) Ik-type flip-flop
JPH04321314A (en) Selection circuit
JPH05313781A (en) Microcomputer
JPH01195546A (en) Signal processor
JPS63204836A (en) Clock crossover circuit
JPH0495785A (en) Semiconductor integrated circuit apparatus