JPS63204836A - Clock crossover circuit - Google Patents

Clock crossover circuit

Info

Publication number
JPS63204836A
JPS63204836A JP62036351A JP3635187A JPS63204836A JP S63204836 A JPS63204836 A JP S63204836A JP 62036351 A JP62036351 A JP 62036351A JP 3635187 A JP3635187 A JP 3635187A JP S63204836 A JPS63204836 A JP S63204836A
Authority
JP
Japan
Prior art keywords
clock
data
output
rising edge
falling edge
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
JP62036351A
Other languages
Japanese (ja)
Inventor
Takeshi Yonekura
健 米倉
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 JP62036351A priority Critical patent/JPS63204836A/en
Publication of JPS63204836A publication Critical patent/JPS63204836A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To prevent unstable operation in case of clock crossover by using a 1st clock so as to detect the leading edge and the trailing edge of an input data, converting the result into an output synchronously with a 2nd clock and then using the converted output so as to reproduce a data synchronously with the 2nd clock. CONSTITUTION:The 1st clock is used so as to detect the leading edge and the trailing edge of the input data at a leading edge/trailing edge detection means 9. Then the two detection outputs are given to a leading edge clock crossover means 10 and a trailing edge clock crossover means 11 to convert them into the detection output synchronously with the 2nd clock. Then the detection output converted by the data reproduction means 12 is used to reproduce the data synchronously with the 2nd clock. Since no intermediate clock (CK) is used in this way, the possibility of unstable operation in case of clock crossover is improved.

Description

【発明の詳細な説明】 〔概要〕 クロック乗り換え回路において、入力データの立ち上り
エツジと立ち下りエツジとを第1のクロックを用いて立
ち上りエツジ/立ち下りエツジ検出手段で検出し、この
2つの検出出力を第2のクロックに同期した出力に変換
した後、この変換出力を用いて第2のクロックに同期し
たデータを再生する様にして、クロック乗り換えの際の
不安定動作の可能性を改善したものである。
[Detailed Description of the Invention] [Summary] In a clock switching circuit, a rising edge and a falling edge of input data are detected by a rising edge/falling edge detection means using a first clock, and these two detection outputs are After converting the data into an output synchronized with the second clock, this converted output is used to reproduce data synchronized with the second clock, thereby improving the possibility of unstable operation when switching clocks. It is.

〔産業上の利用分野〕[Industrial application field]

本発明はクロック乗り換え回路の改良に関するものであ
る。
The present invention relates to improvements in clock switching circuits.

第4図はクロック乗り換え回路接続図を示す。FIG. 4 shows a clock switching circuit connection diagram.

図において、第1の装置と第2の装置との間でデータの
受は渡しを行う際、2つの装置が同一周期であるが、互
いに位相がずれている別系統のグロックCK−1,CK
−2を用いている場合、クロック乗り換え回路で第1の
装置のクロックCK−1に同期したデータを第2の装置
のクロックCK−2に同期したデータに変換(これをク
ロック乗り換えと云う)して第2の装置に送出する。
In the figure, when receiving and passing data between the first device and the second device, the two devices have the same period, but the Glock CK-1, CK of different systems are out of phase with each other.
-2, the clock switching circuit converts data synchronized with the clock CK-1 of the first device into data synchronized with the clock CK-2 of the second device (this is called clock switching). and sends it to the second device.

この時、クロ、/り乗り換え動作が不安定になる可能性
を減少することが必要である。
At this time, it is necessary to reduce the possibility that the switching operation becomes unstable.

〔従来の技術) 第5図は従来例のブロック図、第6図は第5図のタイム
チャートで、左側の符号は第5図中の同じ符号の部分の
波形を示す。以下、第6図を参照して第5図の動作を説
明する。
[Prior Art] FIG. 5 is a block diagram of a conventional example, and FIG. 6 is a time chart of FIG. 5. The symbols on the left side indicate the waveforms of the portions with the same symbols in FIG. The operation shown in FIG. 5 will be explained below with reference to FIG.

先ず、Dタイプフリップフロップ(以下、 D−FFと
省略する)1に第6図−■、■に示す様な書き込みクロ
ック(以下、 W−CKと省略する)とデータとが加え
られるので、ここから第6図−■に示す様な1ビツトシ
フトしたデータをD−FF7に送出する。
First, a write clock (hereinafter abbreviated as W-CK) and data as shown in Figure 6-■ and ■ are applied to the D-type flip-flop (hereinafter abbreviated as D-FF) 1. Then, the data shifted by 1 bit as shown in FIG. 6-2 is sent to the D-FF7.

次に、D−FF 2は−CKの立ち上りでD端子に加え
られている1を取り込んでANDゲート4に加え、D−
FF 3は第6図−■に示す様な読み出しクロック(以
下、 R−CKと省略する)の立ち上りでD端子に加え
られている1を取り込んで同じ< ANDゲート4に加
える。
Next, D-FF 2 takes in the 1 added to the D terminal at the rising edge of -CK and adds it to the AND gate 4.
The FF 3 takes in the 1 applied to the D terminal at the rising edge of the read clock (hereinafter abbreviated as R-CK) as shown in FIG.

そこで、入力が共に1の時、このANDゲート4の出力
1がインバータ(以下、 INVと省略する)5を介し
てD−FF2,3のCLR端子に加えられるのでこの2
つのD−FFはクリアされる。
Therefore, when both inputs are 1, the output 1 of this AND gate 4 is applied to the CLR terminals of D-FFs 2 and 3 via an inverter (hereinafter abbreviated as INV) 5.
The two D-FFs are cleared.

しかし、1の取り込み、クリアはW−CKとR−CKの
立ち上り毎に行われるので、第6図−■、■に示す様な
波形がANDゲート4に加えられ、ここから第6図−■
に示す波形(以下、これを中間CKと云う)がバッファ
6を介してD−FF 7のCK端子に加えられる。
However, since 1 is captured and cleared at each rising edge of W-CK and R-CK, the waveforms shown in Figure 6-■ and ■ are applied to the AND gate 4, and from there the waveforms shown in Figure 6-■
A waveform shown in (hereinafter referred to as intermediate CK) is applied to the CK terminal of the D-FF 7 via the buffer 6.

この為、W−GKに同期した上記のデータが第6図−■
に示す様に中間GKに同期したデータに変換されてD−
FF 8のD端子に加えられるが、ここのCK端子には
R−CKが加えられているので第6図−[相]に示す様
にR−Cにで打ち抜かれて!?−CKに同期したデータ
が得られ、クロックの乗り換えが終了する。
For this reason, the above data synchronized with W-GK is shown in Figure 6-■
As shown in the figure, the data is converted to data synchronized with the intermediate GK.
It is added to the D terminal of FF 8, but since R-CK is added to the CK terminal here, it is punched out to R-C as shown in Figure 6 - [Phase]! ? -Data synchronized with CK is obtained, and clock switching is completed.

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

一般に、 CKの幅は使用素子により規定が設けられて
いるので、上記の中間GKの幅も規定を満足する様にI
NV 5を例えば複数段従属接続してクリアのタイミン
グをシフトして遅延を与えている。
In general, the width of the CK is regulated depending on the device used, so the width of the intermediate GK mentioned above must also be adjusted so that it satisfies the regulations.
For example, a plurality of NV5s are connected in a cascade manner, and the clearing timing is shifted to provide a delay.

しかし、例えば回路規模を小さくする為に遅延を小さく
してクロックの幅を狭くした時、D−PF 7の動作が
不安定になることがあると云う問題点がある。
However, there is a problem that, for example, when the delay is reduced and the clock width is narrowed in order to reduce the circuit scale, the operation of the D-PF 7 may become unstable.

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

上記の問題点は第1図に示すクロック乗り換え回路によ
り解決される。
The above problem is solved by the clock switching circuit shown in FIG.

9は第1のクロックに同期したデータの立ち上りエツジ
及び立ち下りエツジを検出する立ち上りエツジ/立ち下
りエツジ検出手段で、10.11は該立ち上りエツジ/
立ち下りエツジ検出手段よりの出力を第2のクロックに
同期した出力に変換する立ち上りエツジクロック乗り換
え手段及び立ち下りエツジクロック乗り換え手段である
9 is a rising edge/falling edge detection means for detecting the rising edge and falling edge of data synchronized with the first clock; 10.11 is a rising edge/falling edge detection means for detecting the rising edge/falling edge of data synchronized with the first clock;
These are rising edge clock switching means and falling edge clock switching means for converting the output from the falling edge detection means into an output synchronized with the second clock.

又、12は該立ち上りエツジクロック乗り換え手段と立
ち下りエツジクロツタ乗り換え手段の出力とを用いて、
該第2のクロックに同期したデータを再生するデータ再
生手段である。
Further, 12 uses the output of the rising edge clock switching means and the falling edge clock switching means,
This is data reproducing means for reproducing data synchronized with the second clock.

〔作用〕[Effect]

本発明は人力データの立ち上りエツジと立ち下りエツジ
とを第1のクロックを用いて立ち上りエツジ/立ち下り
エツジ検出手段9で検出し、この2つの検出出力を立ち
上りエツジクロック乗り換え手段10.立ち下りエツジ
クロツタ乗り換え手段11で第2のクロックに同期した
検出出力に変換した後、データ再生手段12で変換した
検出出力を用いて第2のクロックに同期したデータを再
生する様にした。即ち、中間CKを使用しないので、ク
ロック乗り換えの際の動作の不安定動作の可能性は改善
される。
In the present invention, a rising edge and a falling edge of human data are detected by a rising edge/falling edge detection means 9 using a first clock, and these two detection outputs are detected by a rising edge clock switching means 10. After converting the detection output into a detection output synchronized with the second clock by a falling edge switching means 11, the data reproduction means 12 uses the converted detection output to reproduce data synchronized with the second clock. That is, since the intermediate CK is not used, the possibility of unstable operation at the time of clock switching is improved.

〔実施例〕〔Example〕

第2図は本発明の実施例のブロック図、第3図は第2図
のタイムチャートで、左側の符号は第2図中の同じ符号
の部分の波形を示す。尚、D−FF91〜93は立ち上
りエツジ/立ち下りエツジ検出手段9の構成部分を、D
−FF 101は立ち上りエツジクロック乗り換え手段
10. D−FF 111は立ち下りエツジクロック乗
り換え手段11の構成部分を、JK−FF121はデー
タ再生手段12の構成部分である。
FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a time chart of FIG. 2, where the symbols on the left indicate the waveforms of the portions with the same symbols in FIG. Incidentally, D-FFs 91 to 93 are the constituent parts of the rising edge/falling edge detection means 9;
-FF 101 is a rising edge clock switching means 10. The D-FF 111 is a component of the falling edge clock switching means 11, and the JK-FF 121 is a component of the data reproducing means 12.

以下、W−CKを第1のクロック、 R−GKを第2の
クロックとして第3図を参照しながら第2図の動作を説
明する。
The operation of FIG. 2 will be described below with reference to FIG. 3, with W-CK as the first clock and R-GK as the second clock.

先ず、第3図−■、■に示す様にW−(JとW−CKに
同期したデータとがD−FF 91のCK端子、D端子
に加えられると、第3図〜■、■に示す様に1ビツトシ
フトしたデータ及び反転したデータがクロックとしてD
−FF 92及び93のGK端子に加えられる。
First, as shown in Fig. 3-■, As shown, the data shifted by 1 bit and the inverted data are used as the clock D.
-Added to GK terminal of FF 92 and 93.

そこで、これらのクロックの立ち上りでD端子に加えら
れている1が取り込まれ、第3図−■。
Therefore, at the rising edge of these clocks, the 1 added to the D terminal is taken in, and as shown in FIG.

■に示す様にD−FF 92及び93のQ端子からlが
D−PF 101及び111のD端子に加えられるが、
これはCK端子に加えられているI?−CKで打ち抜か
れてQ端子より1が、Q端子より0が出力される。
As shown in (2), l is applied from the Q terminals of D-FFs 92 and 93 to the D terminals of D-PFs 101 and 111.
This is the I? added to the CK terminal. -CK is punched out, 1 is output from the Q terminal, and 0 is output from the Q terminal.

この為、D−PF 92.93は後者によりクリアされ
て第3図−■、■に示す様にQ端子が1からOになるが
、D−FF 91からの出力で上記の動作が繰り返され
る。
For this reason, D-PF 92.93 is cleared by the latter and the Q terminal changes from 1 to O as shown in Figure 3-■ and ■, but the above operation is repeated with the output from D-FF 91. .

又、前者はD−FF 92.93のクリアによりOにな
るが、これが繰り返されて第3図−■、■に示す様な出
力がJK−FF 121のJ端子とに端子に加えられる
。尚、ここのCK端子にはINV 122を介してR−
CKが加えられているので、第3図−0に示す様にR−
Cにに同期したデータが出力される。
The former becomes O by clearing D-FF 92.93, but this is repeated and outputs as shown in FIG. In addition, R- is connected to the CK terminal here via INV 122.
Since CK is added, R- as shown in Figure 3-0.
Data synchronized with C is output.

即ち、クロックの乗り換えの際には−GKとR−CKの
みを使用してこれを行っているので、不安定動作の可能
性が改善される。
That is, since only -GK and R-CK are used when changing the clock, the possibility of unstable operation is improved.

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

以上詳細に説明した様に本発明によれば不安定動作の可
能性が改善されると云う効果がある。
As described above in detail, the present invention has the effect of reducing the possibility of unstable operation.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例のブロック図、第3図は第2図
のタイムチャート、 第4図はクロック乗り換え回路接続図、第5図は従来例
のブロック図、 第6図は第5図のタイムチャートを示す。 図において、 9は立ち上りエツジ/立ち下りエツジ検出手段、10は
立ち上りエツジクロック乗り換え手段、11は立ち下り
エツジクロック乗り換え手段、12はデータ再生手段を
示す。 /1−火明へ沖y里フ”Dラフ図 、!p1図 /i′−党明の火砲含Joフ“′OソZ図77z図 ■ 7’ ン7t り賑8B’j’!、fLfB’1.41
崩 ■ ■
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 clock switching circuit connection diagram, and Fig. 5 is a conventional block diagram. An example block diagram, FIG. 6 shows the time chart of FIG. In the figure, 9 indicates rising edge/falling edge detection means, 10 indicates rising edge clock switching means, 11 indicates falling edge clock switching means, and 12 indicates data reproducing means. /1-To Ming to Okiyurifu" D rough diagram, !p1 diagram /i'-To Ming's cannon included Jof"'O so Z diagram 77z diagram■ 7' N7t ribusi 8B'j'! , fLfB'1.41
Collapse ■ ■

Claims (1)

【特許請求の範囲】 第1のクロックに同期したデータの立ち上りエッジ及び
立ち下りエッジを検出する立ち上りエッジ/立ち下りエ
ッジ検出手段(9)と、 該立ち上りエッジ/立ち下りエッジ検出手段よりの出力
を第2のクロックに同期した出力に変換する立ち上りエ
ッジクロック乗り換え手段及び立ち下りエッジクロック
乗り換え手段(10、11)と、該立ち上りエッジクロ
ック乗り換え手段と立ち下りエッジクロック乗り換え手
段の出力とを用いて、該第2のクロックに同期したデー
タを再生するデータ再生手段(12)とを有するクロッ
ク乗り換え回路。
[Claims] Rising edge/falling edge detection means (9) for detecting rising edges and falling edges of data synchronized with a first clock; and an output from the rising edge/falling edge detection means. Using a rising edge clock switching means and a falling edge clock switching means (10, 11) that convert into an output synchronized with a second clock, and the outputs of the rising edge clock switching means and falling edge clock switching means, A clock switching circuit comprising data reproducing means (12) for reproducing data synchronized with the second clock.
JP62036351A 1987-02-19 1987-02-19 Clock crossover circuit Pending JPS63204836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62036351A JPS63204836A (en) 1987-02-19 1987-02-19 Clock crossover circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62036351A JPS63204836A (en) 1987-02-19 1987-02-19 Clock crossover circuit

Publications (1)

Publication Number Publication Date
JPS63204836A true JPS63204836A (en) 1988-08-24

Family

ID=12467418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62036351A Pending JPS63204836A (en) 1987-02-19 1987-02-19 Clock crossover circuit

Country Status (1)

Country Link
JP (1) JPS63204836A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007525088A (en) * 2003-06-30 2007-08-30 レイセオン・カンパニー Self-aligned data path converter for multiple clock systems.

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007525088A (en) * 2003-06-30 2007-08-30 レイセオン・カンパニー Self-aligned data path converter for multiple clock systems.
JP4741484B2 (en) * 2003-06-30 2011-08-03 レイセオン カンパニー Self-aligned data path converter for multiple clock systems.

Similar Documents

Publication Publication Date Title
JP3467975B2 (en) Phase detection circuit
JPS62245814A (en) Pulse circuit
JPS6249737A (en) Clock signal reproduction layout
JP3380329B2 (en) Digital data arbitration device
JPS63204836A (en) Clock crossover circuit
JP3320469B2 (en) Data processing circuit layout
JPS59229779A (en) Series-parallel-series type integrated memory circuit
JPS63224514A (en) Duty control circuit
JPH0653945A (en) Data transferr circuit
JPS6395518A (en) Clock exchanging circuit
JPS61144931A (en) Multiplied sampling circuit
JPS63141164A (en) Data transfer circuit
JPH0328862B2 (en)
JPS62168439A (en) Clock reproduction circuit
JPH03131124A (en) Audio reproducing circuit
JPH0758732A (en) Bit buffer circuit
JPH0336812A (en) Synchronizing circuit
JPS62233944A (en) Timing extraction circuit
JPH02121518A (en) One-shot circuit
JPS6059632U (en) phase comparator
JPH1028036A (en) Duty correction circuit
JPS6040149U (en) Phase comparator for bit-synchronized PLL
JPH01146422A (en) Noise eliminating circuit
JPH0357529B2 (en)
JPS5811357U (en) Output circuit