JPH01150921A - Clk switching circuit - Google Patents
Clk switching circuitInfo
- Publication number
- JPH01150921A JPH01150921A JP62310489A JP31048987A JPH01150921A JP H01150921 A JPH01150921 A JP H01150921A JP 62310489 A JP62310489 A JP 62310489A JP 31048987 A JP31048987 A JP 31048987A JP H01150921 A JPH01150921 A JP H01150921A
- Authority
- JP
- Japan
- Prior art keywords
- output
- clka
- clk
- becomes
- switching circuit
- 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
【発明の詳細な説明】
技術分野
本発明は、位相および周期が異なる2個のクロック信号
(以下CLKと略す)を、大規模集積回路(以下LSI
と略す)の1個の入力端子に入力するCLK切替回路に
関し、特に、2個のCLKを切り替える際、グリッジ等
の波形異常なく切り替えることが可能なCLK切替回路
に関する。Detailed Description of the Invention Technical Field The present invention provides two clock signals (hereinafter abbreviated as CLK) having different phases and periods on a large-scale integrated circuit (hereinafter referred to as LSI).
The present invention relates to a CLK switching circuit that inputs an input to one input terminal of a CLK (hereinafter referred to as "CLK switching circuit"), and particularly relates to a CLK switching circuit that can switch between two CLKs without waveform abnormalities such as glitches.
従来技術
ハードディスクドライブ/フレキシブルディスクドライ
ブ・ディスク・コントローラ(HFDC)と呼ばれるL
SIでは、フレキシブルディスクドライブ(以下FDD
と略す)とハードディスクドライブ(以下HDDと略す
)を1個のLSIにより駆動することができる。Conventional technology Hard disk drive/L called flexible disk drive disk controller (HFDC)
At SI, we refer to flexible disk drives (hereinafter referred to as FDD).
(hereinafter abbreviated as HDD) and a hard disk drive (hereinafter abbreviated as HDD) can be driven by one LSI.
この場合、FDDを駆動する時のクロック信号(以下C
LKと略す)と、HDDを駆動するときのCLKとが異
なるため、それぞれの装置に合わせたCLKを入力する
必要がある。In this case, the clock signal (hereinafter C
Since the CLK used to drive the HDD is different from the CLK used to drive the HDD, it is necessary to input a CLK suitable for each device.
従来のCLK切替回路は、例えば第4図のように、アン
ドゲート41,42、オアゲート44、およびインバー
タ43を備え、2種類のC−LK(CLKA、CLKB
)を切り替える場合には、切替信号を用いていた。A conventional CLK switching circuit includes AND gates 41, 42, an OR gate 44, and an inverter 43, as shown in FIG.
), a switching signal was used.
この場合、切替信号が′1′″ならば、アンドゲート4
1を介し、出力(51)としてCLAが出力され、さら
にオアゲート44を介して出力(53)にCLKAが出
力される。また、切替信号が11011ならば、出力(
53)としてCLKBが出力される。In this case, if the switching signal is '1', the AND gate 4
1, CLA is output as an output (51), and CLKA is further output as an output (53) via an OR gate 44. Also, if the switching signal is 11011, the output (
CLKB is output as 53).
しかし、この方法では、CLKと切替信号が同期してい
ないため、第5図に示す各出力(51)〜(53)にお
いて点線で示されるように、パルス幅がオリジナルの波
形より狭かったり、グリッジが発生することがあり、L
SIに対して悪影響を与えるという問題があった。However, in this method, since the CLK and the switching signal are not synchronized, the pulse width may be narrower than the original waveform, or there may be glitches, as shown by the dotted lines in each output (51) to (53) shown in Figure 5. may occur, L
There was a problem in that it had an adverse effect on SI.
目 的
本発明の目的は、このような問題点を改善し、位相、お
よび周期が異なる2個のCLKを1個のLSIの入力端
子に入力するため、CLKを切り替える際、グリッジが
発生したり、ハイレベルのパルス幅がオリジナルの波形
と異なることを防ぐCLK切替回路を提供することにあ
る。Purpose The purpose of the present invention is to improve such problems and to input two CLKs with different phases and periods to the input terminal of one LSI, thereby preventing glitches from occurring when switching CLKs. Another object of the present invention is to provide a CLK switching circuit that prevents a high-level pulse width from differing from the original waveform.
構成
上記目的を達成するため、本発明のCLK切替回路は、
切替信号により1位相および周期が異なる2種類のCL
Kを切り替えて出力するCLK切替回路において、上記
CLKの位相を検知し、それらのCLKがローレベルに
なったことを確認する手段(フリップ・フロップ)を備
え、CLKを切り替える場合、それらのCLKがローレ
ベルになり、ハイレベルの周期が終了したことを確認し
てから切り替えることにより、グリッジを解消し、ハイ
レベルのパルス幅を確保することに特徴がある。Configuration In order to achieve the above object, the CLK switching circuit of the present invention has the following features:
Two types of CL with different one phase and period depending on the switching signal
The CLK switching circuit that switches and outputs the CLK is equipped with a means (flip-flop) to detect the phase of the CLK and confirm that the CLK has become low level, and when switching the CLK, the CLK is The feature is that glitches are eliminated and the pulse width of the high level is secured by switching after confirming that the low level has passed and the high level period has ended.
以下、本発明の一実施例を図面により説明する。An embodiment of the present invention will be described below with reference to the drawings.
第1図は、本発明の一実施例におけるCLK切替回路の
構成図、第2図は本発明の一実施例におけるCLK切替
回路のタイミングチャート、第3図は本発明の一実施例
におけるディスク制御装置の構成図である。FIG. 1 is a block diagram of a CLK switching circuit according to an embodiment of the present invention, FIG. 2 is a timing chart of a CLK switching circuit according to an embodiment of the present invention, and FIG. 3 is a disk control diagram according to an embodiment of the present invention. It is a block diagram of a device.
本実施例のディスク制御装置は、第3図のように、HF
DC31、CLK切替回路32.ドライバ/レシーバ3
3.34.FDD用のバリアプル・フレクエンシイ・オ
シレータ(以下VFOと略す)35、HDD用VFO3
6、FDD37、およびHDD38を備える。As shown in FIG. 3, the disk control device of this embodiment has an HF
DC31, CLK switching circuit 32. Driver/Receiver 3
3.34. Variable frequency oscillator (hereinafter abbreviated as VFO) 35 for FDD, VFO 3 for HDD
6, an FDD 37, and an HDD 38.
また、CLK切替回路32を介してFDD37のCLK
とHDD38のCLKとを1個のLSI(HFDC31
)に入力することにより、HFDC31はFDD37お
よびHDD38を駆動することができる。Also, the CLK of the FDD 37 is connected via the CLK switching circuit 32.
and CLK of HDD38 in one LSI (HFDC31
), the HFDC 31 can drive the FDD 37 and the HDD 38.
このCLK切替回路32は、第1図のように、フリップ
・フロップ(以下FFと略す)1〜4、インバータ5〜
7、アンドゲート(AND)8,9、およびオアゲート
(OR)10から構成され、切替信号が“1″′の場合
、CLKAを選択し、また、“0”の場合には、CLK
Bを選択する。As shown in FIG.
7, AND gates (AND) 8, 9, and OR gate (OR) 10; when the switching signal is "1'', CLKA is selected; when it is "0", CLK is selected.
Select B.
また、CLK切替回路32の動作については、第2図の
ように、リセット信号(R8T)入力の場合(RST=
O)、全てのFFはリセットされて、AND8.9はゲ
ートオフされ、CLKAおよびCLKBは出力(17)
に出力されない。Regarding the operation of the CLK switching circuit 32, as shown in FIG. 2, when the reset signal (R8T) is input (RST=
O), all FFs are reset, AND8.9 is gated off, CLKA and CLKB are output (17)
is not output to .
また、R3T解除後(R3T=1)には、切替信号がu
l uになると、FFIではCLKBの立ち下り点a
でQ出力が1”となる。Also, after R3T is released (R3T=1), the switching signal is
When l u is reached, the falling point a of CLKB in FFI
The Q output becomes 1".
こうしてFFIのQ出力が“1”になると、次に、b点
ではCLKAの立ち下りによりFF2のQ出力は“1”
となる。In this way, when the Q output of FFI becomes "1", next, at point b, the Q output of FF2 becomes "1" due to the fall of CLKA.
becomes.
この時点でCLKAおよびCLKBのレベルがLow(
0)であることが検知され、CLKの切り替えの準備が
完了する。At this point, the levels of CLKA and CLKB are Low (
0) is detected, and preparations for CLK switching are completed.
また、FF2のQ出力が“1”になると、AND8がゲ
ートオンとなって、CLKAがイネーブルとなり、さら
に、CLKAは0R10を通り。Furthermore, when the Q output of FF2 becomes "1", AND8 is gated on and CLKA is enabled, and further, CLKA passes through 0R10.
出力(17)として出力される。つまり、期間IではC
LKAが出力される。It is output as output (17). In other words, in period I, C
LKA is output.
次に、切替信号が“0″になると、e点ではFF3のQ
出力が1′1”となり、C点ではFFIのQ出力が“O
”、FF4のQ出力が41171となり、d点ではFF
2のQ出力が#l Ojjとなる。Next, when the switching signal becomes "0", the Q of FF3 at point e.
The output becomes 1'1", and the Q output of FFI becomes "O" at point C.
”, the Q output of FF4 is 41171, and at point d, FF
The Q output of 2 becomes #l Ojj.
従って、AND8ではFF2のQ出力がOであるために
ゲートオフとなり、CLKAのレベルが完全にHigh
(1)からL OW(0)に変わった時点で切り替えら
れる。このため、CLKAは途中で切られたり、グリッ
ジが発生することなく、切り替えられる。Therefore, in AND8, since the Q output of FF2 is O, the gate is turned off, and the level of CLKA becomes completely High.
It is switched when it changes from (1) to LOW (0). Therefore, CLKA can be switched without being cut off midway or without glitches occurring.
また、FF4のQ出力がat 1 uとなったため、A
ND9のゲートがイネーブルとなり、期間■ではCLK
Bが出力(17)として出力される。Also, since the Q output of FF4 became at 1 u, A
The gate of ND9 is enabled, and in period ■, CLK
B is output as output (17).
次に、切替信号が再び“1″になると、f点ではFF3
のQ出力は110”となり、g点ではFF1のQ出力が
“1″’、FF4のQ出力が′0”となる。この時点で
AND9はゲートオフとなり、CLKBの出力は止まる
。Next, when the switching signal becomes "1" again, FF3 at point f
The Q output of FF1 is "1"' and the Q output of FF4 is '0' at point g. At this point, AND9 is gated off and the output of CLKB is stopped.
さらに、h点ではFF2のQ出力がEl 1 jlとな
り、AND8がグー1〜オンとなって、CLKAの出力
準備ができる。Furthermore, at point h, the Q output of FF2 becomes El 1 jl, AND8 turns on from goo1 to on, and the output of CLKA is ready.
これらの動作を操り返すことにより、CLKAおよびC
LKBはグリッジが発生したり、パルス幅の異常が発生
することなく、正常な波形で出力される。By remanipulating these operations, CLKA and C
LKB is output with a normal waveform without glitches or pulse width abnormalities.
効 果
本発明によれば、位相および周期が異なる2種類のCL
Kを、グリッジや波形異常なく切り替えることができる
ため、装置の信頼性を向上することが可能である。Effects According to the present invention, two types of CL with different phases and periods
Since K can be switched without glitches or waveform abnormalities, it is possible to improve the reliability of the device.
第1図は本発明の一実施例におけるCLK切替回路の構
成図、第2図は本発明の一実施例におけるCLK切替回
路のタイミングチャート、第3図は本発明の一実施例に
おけるHFDC装置の構成図、第4図は従来のCLK切
替回路の構成図、第5図は従来のCLK切替回路のタイ
ミングチャートである。
1〜4:フリップ・フロップ(FF)、5〜7゜43:
インバータ、8,9,41,42:アンドゲート(AN
D)、10,44 ニオアゲート(OR)。
31ニハードデイスクドライブ/フレキシブルデイスク
ドライブ・ディスク・コントローラ(HFDC)、32
: CLK切替回路、33,34:ドライバ/レシー
バ、35:FDD用VF0,36:HDD用VF0,3
7:フレキシブルディスクドライブ(FDD)、38
ニハードディスクドライブ(HDD)、 (11)〜(
17)、 (51)〜(53):出力、CLK、CLK
A、CLKB :クロック信号。
R3T :リセット信号。
第 3 図FIG. 1 is a configuration diagram of a CLK switching circuit in an embodiment of the present invention, FIG. 2 is a timing chart of a CLK switching circuit in an embodiment of the present invention, and FIG. 3 is a diagram of a HFDC device in an embodiment of the present invention. FIG. 4 is a block diagram of a conventional CLK switching circuit, and FIG. 5 is a timing chart of the conventional CLK switching circuit. 1~4: Flip-flop (FF), 5~7°43:
Inverter, 8, 9, 41, 42: AND gate (AN
D), 10,44 Niorgate (OR). 31 hard disk drive/flexible disk drive disk controller (HFDC), 32
: CLK switching circuit, 33, 34: Driver/receiver, 35: VF0 for FDD, 36: VF0, 3 for HDD
7: Flexible disk drive (FDD), 38
hard disk drive (HDD), (11) ~ (
17), (51) to (53): Output, CLK, CLK
A, CLKB: Clock signal. R3T: Reset signal. Figure 3
Claims (1)
切替信号により切り替えて出力するCLK切替回路にお
いて、上記クロック信号を切り替える場合、該クロック
信号の位相を検知し、該クロック信号がローレベルにな
ったことを確認する手段を備えたことを特徴とするCL
K切替回路。1. Two types of clock signals with different phases and periods,
The CLK switching circuit that switches and outputs the clock signal based on the switching signal is characterized by comprising means for detecting the phase of the clock signal and confirming that the clock signal has become low level when switching the clock signal. C.L.
K switching circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62310489A JPH01150921A (en) | 1987-12-08 | 1987-12-08 | Clk switching circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62310489A JPH01150921A (en) | 1987-12-08 | 1987-12-08 | Clk switching circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01150921A true JPH01150921A (en) | 1989-06-13 |
Family
ID=18005852
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62310489A Pending JPH01150921A (en) | 1987-12-08 | 1987-12-08 | Clk switching circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01150921A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000019302A1 (en) * | 1998-09-29 | 2000-04-06 | Siemens Aktiengesellschaft | Spike-free clock switching |
| KR100473384B1 (en) * | 2000-12-14 | 2005-03-07 | 매그나칩 반도체 유한회사 | Clock switch circuit |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5611528A (en) * | 1979-07-11 | 1981-02-04 | Toshiba Corp | Switching control circuit of different period clock |
| JPS62192815A (en) * | 1986-02-20 | 1987-08-24 | Fujitsu Ltd | Clock switching circuit |
| JPS63116222A (en) * | 1986-11-05 | 1988-05-20 | Mitsubishi Electric Corp | Clock signal switching circuit |
| JPS63282820A (en) * | 1987-05-15 | 1988-11-18 | Nec Corp | Clock signal switching system |
-
1987
- 1987-12-08 JP JP62310489A patent/JPH01150921A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5611528A (en) * | 1979-07-11 | 1981-02-04 | Toshiba Corp | Switching control circuit of different period clock |
| JPS62192815A (en) * | 1986-02-20 | 1987-08-24 | Fujitsu Ltd | Clock switching circuit |
| JPS63116222A (en) * | 1986-11-05 | 1988-05-20 | Mitsubishi Electric Corp | Clock signal switching circuit |
| JPS63282820A (en) * | 1987-05-15 | 1988-11-18 | Nec Corp | Clock signal switching system |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000019302A1 (en) * | 1998-09-29 | 2000-04-06 | Siemens Aktiengesellschaft | Spike-free clock switching |
| US6411134B1 (en) | 1998-09-29 | 2002-06-25 | Siemens Aktiengesellschaft | Spike-free clock switching |
| KR100473384B1 (en) * | 2000-12-14 | 2005-03-07 | 매그나칩 반도체 유한회사 | Clock switch circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4797575A (en) | Flip-flop with identical propagation delay in clock pass through mode and in normal operation | |
| JPS62234421A (en) | Phase locked loop | |
| JPH01150921A (en) | Clk switching circuit | |
| JPS5958608A (en) | Pulse circuit of magnetic disc device | |
| JPS6229236A (en) | Transition point measuring apparatus for data signal and matching mechanism therewith | |
| JPH0738267B2 (en) | Disk unit spindle motor control system | |
| JPS6066517A (en) | Clock switching circuit | |
| JPS59221115A (en) | Clock signal switching circuit | |
| EP1397804B1 (en) | High-speed zero phase restart of a multiphase clock | |
| JPH04345967A (en) | System and circuit for fetching synchronizing data | |
| KR100186394B1 (en) | Bit Clock Recovery Device of Optical Disk System | |
| JPH0352168A (en) | Phase error detection circuit | |
| JP2636349B2 (en) | Phase control circuit | |
| JPH039180Y2 (en) | ||
| JPH02132682A (en) | Data demodulation circuit for disk device | |
| JP4004149B2 (en) | Magnetic playback device | |
| JP2565103B2 (en) | Output circuit | |
| KR840001041Y1 (en) | Voice and text signal control circuit of cassette recorder | |
| JPS61285523A (en) | Clock switching circuit | |
| JPH0236630A (en) | Bit phase synchronization circuit | |
| JPH04157924A (en) | PLL circuit | |
| JPS62122325A (en) | phase locked loop circuit | |
| JPH01155717A (en) | digital phase synchronization circuit | |
| JPH0497620A (en) | Phase synchronizing circuit | |
| JPS6058716A (en) | phase comparator |