JPH0650855B2 - Digital signal phase difference absorption circuit - Google Patents
Digital signal phase difference absorption circuitInfo
- Publication number
- JPH0650855B2 JPH0650855B2 JP60038539A JP3853985A JPH0650855B2 JP H0650855 B2 JPH0650855 B2 JP H0650855B2 JP 60038539 A JP60038539 A JP 60038539A JP 3853985 A JP3853985 A JP 3853985A JP H0650855 B2 JPH0650855 B2 JP H0650855B2
- Authority
- JP
- Japan
- Prior art keywords
- latch
- control signal
- output
- signal
- gate
- 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.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/062—Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、システムのクロックの周波数が全く同一で
も、異なる位相で動作している2個のディジタルシステ
ム同士のデータの受け渡しのために適用されるディジタ
ル信号の位相差吸収回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is applied to transfer data between two digital systems operating in different phases even if the system clock frequencies are exactly the same. The present invention relates to a phase difference absorption circuit for digital signals.
この発明は、入力ディジタルデータとこの入力ディジタ
ルデータに同期した外部クロックが入力され、上部外部
クロックと周波数が等しい内部クロックに同期した出力
ディジタルデータを形成するようにしたディジタル信号
の位相差吸収回路において、ラッチとゲート回路とを複
数組縦続接続し、複数個のラッチの中で対応するものが
ラッチ動作を行う時にオフとなるように、ゲート回路を
制御することにより、メモリを使用せずに、ディジタル
信号の位相差を吸収するようにしたものである。The present invention provides a phase difference absorption circuit for a digital signal, which receives input digital data and an external clock synchronized with the input digital data and forms output digital data synchronized with an internal clock having the same frequency as the upper external clock. , By connecting a plurality of sets of latches and gate circuits in cascade, and controlling the gate circuits so that the corresponding one of the plurality of latches is turned off when performing a latch operation, without using a memory, It is designed to absorb the phase difference between digital signals.
ディジタル機器例えばディジタルビデオ信号処理機器の
間のデータ転送について、第5図及び第6図を参照して
説明する。Data transfer between digital devices such as digital video signal processing devices will be described with reference to FIGS.
第5図に示すように、2個のディジタルシステム71及
び72の間でデータの受け渡しを行う場合、テータと共
にクロックがシステム71から72に伝送される。シス
テム71を動かしているクロックCK1とシステム72
を動かしているクロックCK2とは、互いに同一の周波
数で位相が異なっているものとする。As shown in FIG. 5, when data is transferred between the two digital systems 71 and 72, a clock is transmitted from the systems 71 to 72 together with the data. Clock CK1 running system 71 and system 72
It is assumed that the clock CK2, which is used for moving the clocks, has the same frequency but different phase.
システム72は、システム71から送られてきたデータ
をシステム72のクロックにより単純にラッチすること
ができない。そこで、クロックCK2を代わりにデータ
と共に送られてきたクロックCK1でシステム72を動
かせば、データは、ミスラッチされることなくシステム
72にデータが受け渡される。The system 72 cannot simply latch the data sent from the system 71 with the clock of the system 72. Therefore, if the system 72 is moved by the clock CK1 sent together with the data instead of the clock CK2, the data is delivered to the system 72 without being mis-latched.
しかしながら、送られてきたクロックCK1をシステム
72のクロックとして使用すると、次の問題点が発生す
る。However, when the transmitted clock CK1 is used as the clock of the system 72, the following problems occur.
第1に、クロックCK1が長距離伝送される途中で、デ
ータとの干渉によって、クロックにジッターが多くな
り、誤動作が発生する。第2に、システムの段数が増加
すると、クロックの波形が劣化して、クロックパルス幅
を整形する必要が生じる。Firstly, during the long-distance transmission of the clock CK1, interference with data causes a lot of jitter in the clock, resulting in malfunction. Secondly, as the number of stages of the system increases, the waveform of the clock deteriorates and it becomes necessary to shape the clock pulse width.
更に、上述の問題点が解決されたとしても、第6図に示
す接続の場合には、対応することができない。第6図で
は、システム81からシステム82及び83の夫々にデ
ータ及びクロックが伝送され、これらのシステム82及
び83からシステム84にデータ及びクロックが伝送さ
れる接続が示されている。Further, even if the above-mentioned problems are solved, the connection shown in FIG. 6 cannot be dealt with. FIG. 6 shows a connection in which data and clocks are transmitted from the system 81 to the systems 82 and 83, respectively, and data and clocks are transmitted from these systems 82 and 83 to the system 84.
この接続において、一般にシステム81からシステム8
2へのケーブルの距離とシステム81からシステム83
へのケーブルの距離が異なったものとなる。従って、シ
ステム82及びシステム83において、受け取られたク
ロックの位相が異なる。この位相が異なるクロックによ
り、システム82及び83が動作するので、システム8
2及びシステム83の夫々から発生するクロックも、互
いに異なる位相となる。その結果、システム84は、シ
ステム82とシステム83とのどちらのクロックをシス
テムクロックとして使用すれば良いか決定できない。In this connection, generally system 81 to system 8
2 cable distance and system 81 to system 83
The distance of the cable to will be different. Therefore, the phases of the received clocks are different in system 82 and system 83. Since the systems 82 and 83 are operated by the clocks having different phases, the system 8
2 and the clocks generated from the system 83 have phases different from each other. As a result, system 84 cannot determine which clock, system 82 or system 83, should be used as the system clock.
従来では、第6図に示すディジタル機器の接続の場合に
は、各システムが自分自身でジッターのない安定なクロ
ックで動作できるようしていた。このために、システム
のデータ入力部にFIFOメモリのような非同期でリー
ド/ライトできるメモリを設け、外部のシステムクロッ
クと内部のシステムクロックとの相対的位相差を吸収し
ていた。Conventionally, in the case of the connection of the digital equipment shown in FIG. 6, each system was allowed to operate by itself with a stable clock without jitter. Therefore, a memory such as a FIFO memory capable of asynchronous read / write is provided in the data input section of the system to absorb the relative phase difference between the external system clock and the internal system clock.
サンプリング周波数が14MHzのような高速のデータ例
えばディジタルビデオ信号の場合には、メモリを2個並
列化して、位相差吸収用のメモリを構成する必要があっ
た。従って、回路規模が増大する欠点があった。In the case of high-speed data such as a digital video signal having a sampling frequency of 14 MHz, it is necessary to parallelize two memories to form a phase difference absorbing memory. Therefore, there is a drawback that the circuit scale increases.
従って、この発明の目的は、メモリを使用せずに、外部
クロックと内部クロックとの位相差を吸収することがで
きる位相差吸収回路を提供することにある。この発明
は、ディジタルビデオ信号のような高速のデータの場合
でも、回路規模が小さな位相差吸収回路を実現すること
ができる。Therefore, an object of the present invention is to provide a phase difference absorbing circuit that can absorb the phase difference between an external clock and an internal clock without using a memory. The present invention can realize a phase difference absorption circuit having a small circuit scale even in the case of high-speed data such as a digital video signal.
この発明は、入力デイジタルデータとこの入力デイジタ
ルデータに同期した外部クロックCKWが入力され、外
部クロツクCKWと周波数が等しい内部クロツクCKR
に同期した出力デイジタルデータを形成するようにした
デイジタル信号の位相差吸収回路において、 入力データが並列的に供給される、少なくとも3個のラ
ッチ手段(3〜6)と、 外部クロックCKWからラッチ手段(3〜6)に順次入
力データをラッチするための外部クロツクCKWに同期
した、ラッチ手段(3〜6)の個数分の相のラッチ制御
信号を形成する手段(7,9,10)と、 ラッチ手段(3〜6)の各々の出力が供給され、ゲート
制御信号により、内部クロツクCKRの1周期ずつ順次
オンするゲート手段(23〜26)と、 ラッチ制御信号の何れか1つである第1のラッチ制御信
号と、この第1のラッチ制御信号を内部クロツクCKR
又は外部クロツクCKWの1/2周期分位相を変化させ
た第2のラッチ制御信号とのいずれかを、選択信号に基
づいて選択する手段(31)と、 選択手段(31)によって選択された信号にジッターが
存在するかを検出するジッター検出手段と、 ジッターが検出された場合は第2のラッチ制御信号を選
択し、ジッターが検出されない場合は第1のラッチ制御
信号選択することを指示する選択信号を生成する手段
(50,51)と、 選択手段(31)によって選択されたラッチ制御信号を
内部クロツクCKRと同期して遅延させ、ゲート手段と
対応するラッチ手段(3〜6)がラッチ動作を行う時に
オフとなるように、ゲート手段を制御するゲート制御信
号を発生する手段(42,27)とを備え、 ジッター検出手段は、 複数個のシフトレジスタ(41,42,43)と、 複数個のシフトレジスタ(41,42,43)の入力端
子間に設けられた、選択されたラッチ制御信号を、内部
クロツクCKRの周期より充分短い時間遅延する遅延手
段(35〜36)と、 複数個のシフトレジスタ(41,42,43)のそれぞ
れにおいて、異なる段の出力をそれぞれ比較する比較手
段(47,48,49)とからなることを特徴とするデ
イジタル信号の位相差吸収回路である。According to the present invention, the input digital data and the external clock CKW synchronized with the input digital data are input, and the internal clock CKR having the same frequency as the external clock CKW.
In a phase difference absorption circuit for digital signals that is adapted to form output digital data in synchronization with the above, at least three latch means (3 to 6) to which input data are supplied in parallel, and latch means from the external clock CKW. Means (7, 9, 10) for forming latch control signals in phases corresponding to the number of latch means (3-6) in synchronism with an external clock CKW for sequentially latching input data at (3-6); Each of the latch means (3 to 6) is supplied with the output of the gate means (23 to 26) which sequentially turns on one cycle of the internal clock CKR by the gate control signal, and one of the latch control signals. 1 latch control signal and this first latch control signal
Alternatively, a means (31) for selecting either the second latch control signal whose phase is changed by 1/2 cycle of the external clock CKW based on the selection signal, or the signal selected by the selection means (31). Jitter detection means for detecting whether or not jitter is present, and selection for instructing to select the second latch control signal if jitter is detected, and select the first latch control signal if jitter is not detected. The signal generating means (50, 51) and the latch control signal selected by the selecting means (31) are delayed in synchronization with the internal clock CKR, and the latch means (3 to 6) corresponding to the gate means perform the latch operation. And a means (42, 27) for generating a gate control signal for controlling the gate means so that the jitter detecting means is turned off when performing the shift detection. The selected latch control signal provided between the input terminals of the shifter (41, 42, 43) and the shift registers (41, 42, 43) is delayed for a time sufficiently shorter than the cycle of the internal clock CKR. It is characterized by comprising delay means (35-36) and comparison means (47, 48, 49) for comparing outputs of different stages in each of the plurality of shift registers (41, 42, 43). This is a phase difference absorption circuit for digital signals.
ラッチ制御信号のタイミングを規定する信号からゲート
制御信号を発生させる。このゲート制御信号は、ラッチ
制御信号に対して所定の位相差を持つようにされる。従
って、ラッチ手段3〜6がラッチ動作を行っている時
に、対応するゲート手段がオンすることが防止される。A gate control signal is generated from a signal that defines the timing of the latch control signal. The gate control signal has a predetermined phase difference with respect to the latch control signal. Therefore, when the latch means 3 to 6 are performing the latch operation, the corresponding gate means is prevented from turning on.
以下、この発明の一実施例について図面を参照して説明
する。An embodiment of the present invention will be described below with reference to the drawings.
第1図において、INDATAと表された入力端子1に
例えば8ビット並列の入力データが供給される。第1図
において、CKWが入力データと共に供給される外部ク
ロックを示し、CKRがデータを受け取るシステム側の
内部クロックを示す。入力データがラッチ2に供給さ
れ、外部クロックCKWにより順次ラッチされる。In FIG. 1, for example, 8-bit parallel input data is supplied to the input terminal 1 represented by INDATA. In FIG. 1, CKW represents an external clock supplied together with input data, and CKR represents an internal clock on the system side which receives the data. Input data is supplied to the latch 2 and sequentially latched by the external clock CKW.
ラッチ2の出力側に4個のラッチ3,4,5,6が並列
に設けられている。これらのラッチ3〜6には、外部ク
ロックCKW及びシフトレジスタ7からのクロックイネ
ーブル信号が供給される。シフトレジスタ7には、マル
チプレクサ8の出力信号が入力として供給される。On the output side of the latch 2, four latches 3, 4, 5, 6 are provided in parallel. An external clock CKW and a clock enable signal from the shift register 7 are supplied to these latches 3 to 6. The output signal of the multiplexer 8 is supplied to the shift register 7 as an input.
マルチプレクサ8の一方の入力端子にNANDゲート1
0の出力信号が供給される。NANDゲート10には、
2ビットのカウンタ9の並列出力が供給される。カウン
タ9は、外部クロックCKWを計数するもので、NAN
Dゲート10の出力には、4クロック毎に‘L ’(ロー
レベル)となるパルスが発生する。マルチプレクサ8の
他方の入力端子には、SWINで示す入力端子12から
のクロックがラッチ11を介して供給される。NAND gate 1 is connected to one input terminal of multiplexer 8.
An output signal of 0 is provided. The NAND gate 10 has
The parallel output of the 2-bit counter 9 is supplied. The counter 9 counts the external clock CKW, and the NAN
At the output of the D gate 10, a pulse that becomes'L '(low level) is generated every four clocks. The clock from the input terminal 12 indicated by SWIN is supplied to the other input terminal of the multiplexer 8 via the latch 11.
シフトレジスタ7には、外部クロックCKWがシフトパ
ルスとして供給され、その4個の出力には、外部クロッ
クCKWの1周期ずつ順次‘L ’となるクロックイネー
ブル信号が発生する。このクロックイネーブル信号の夫
々がラッチ3〜6に供給される。クロックイネーブル信
号の‘L ’の期間にのみ、ラッチ3〜6の夫々が入力デ
ータをラッチすることができる。また、シフトレジスタ
7からラッチ4に供給されるクロックイネーブル信号が
ラッチ15を介してSWOTで示される出力端子16に
取り出される。An external clock CKW is supplied to the shift register 7 as a shift pulse, and a clock enable signal which becomes “L” sequentially is generated at each of four outputs of the external clock CKW. Each of the clock enable signals is supplied to the latches 3-6. Each of the latches 3 to 6 can latch the input data only during the period of “L” of the clock enable signal. Further, the clock enable signal supplied from the shift register 7 to the latch 4 is taken out to the output terminal 16 indicated by SWOT via the latch 15.
ラッチ3〜6の夫々の出力側にゲート回路23,24,
25,26が設けられる。これらのゲート回路23〜2
6には、シフトレジスタ27からのアウトプットコント
ロール信号が供給される。ゲート回路23〜26は、ア
ウトプットコントロール信号が‘L ’の時にのみオンと
なる。シフトレジスタ27には、内部クロックCKRが
シフトパルスとして供給され、内部クロックCKRと同
期してアウトプットコントロール信号が形成される。Gate circuits 23 and 24 are provided on the output side of the latches 3 to 6, respectively.
25 and 26 are provided. These gate circuits 23-2
An output control signal from the shift register 27 is supplied to 6. The gate circuits 23 to 26 are turned on only when the output control signal is'L '. An internal clock CKR is supplied to the shift register 27 as a shift pulse, and an output control signal is formed in synchronization with the internal clock CKR.
シフトレジスタ27からゲート回路24に供給されるア
ウトプットコントロール信号がラッチ28を介してSR
OTで示す出力端子29に取り出される。ゲート回路2
3〜26の出力データがラッチ22に供給され、内部ク
ロックCKRにより順次ラッチされる。このラッチ22
から出力データがOTDATAで示す出力端子21に取
り出される。The output control signal supplied from the shift register 27 to the gate circuit 24 is SR via the latch 28.
It is taken out to the output terminal 29 indicated by OT. Gate circuit 2
Output data 3 to 26 are supplied to the latch 22 and sequentially latched by the internal clock CKR. This latch 22
Output data is taken out to the output terminal 21 indicated by OTDATA.
ゲート回路23〜26の夫々がオンになるタイミング
は、各ゲート回路と対応しているラッチがラッチ動作を
行っている期間を避ける必要がある。つまり、ラッチ2
2が変化の途中のデータを受け取るのを防ぐためであ
る。例えばラッチ3がラッチしている期間では、時間的
に最も離れたゲート回路25がオンするように制御され
る。ラッチ動作を行っているラッチとオンになるゲート
回路との関係は、下記のように示される。The timing at which each of the gate circuits 23 to 26 is turned on needs to avoid a period during which a latch corresponding to each gate circuit is performing a latch operation. That is, latch 2
This is to prevent 2 from receiving data in the process of changing. For example, during the period in which the latch 3 is latching, the gate circuit 25 that is farthest away in time is controlled to be turned on. The relationship between the latch performing the latch operation and the gate circuit turned on is shown as follows.
(ラッチ) →3→4→5→6→3→4・・ (ゲート回路)→25→26→23→24→25→26・・ 上述のように、ラッチ3〜6のラッチ動作と所定の時間
関係でゲート回路23〜26がオンするように制御され
る。この制御を行うためには、シフトレジスタ27で発
生するアウトプットコントロール信号のタイミングがシ
フトレジスタ7で発生するクロックイネーブル信号のタ
イミングと所定の関係を持つように規定される。(Latch) → 3 → 4 → 5 → 6 → 3 → 4 ... (Gate circuit) → 25 → 26 → 23 → 24 → 25 → 26 .. The gate circuits 23 to 26 are controlled to turn on due to the time relationship. In order to perform this control, the timing of the output control signal generated by the shift register 27 is defined to have a predetermined relationship with the timing of the clock enable signal generated by the shift register 7.
NANDゲート10の出力信号がラッチ14を介してマ
ルチプレクサ31の一方の入力端子に供給される。これ
と共に、ラッチ14の出力信号がラッチ32を介してマ
ルチプレクサ31の他方の入力端子に供給される。ラッ
チ32には、インバータ33を介された内部クロックC
KRが供給される。マルチプレクサ31は、後述のJK
フリップフロップ51の出力により制御される。The output signal of the NAND gate 10 is supplied to one input terminal of the multiplexer 31 via the latch 14. At the same time, the output signal of the latch 14 is supplied to the other input terminal of the multiplexer 31 via the latch 32. The latch 32 has an internal clock C via an inverter 33.
KR is supplied. The multiplexer 31 is a JK described later.
It is controlled by the output of the flip-flop 51.
ラッチ32にインバータ33を介して外部クロックCK
Wを供給するようにしても良い。An external clock CK is sent to the latch 32 via an inverter 33.
W may be supplied.
マルチプレクサ31の出力がシフトレジスタ41に供給
されると共に、インバータ34,35,36,37の直
列接続に供給される。インバータ34〜37は、遅延回
路を構成し、インバータ35及び36の接続点の出力信
号がシフトレジスタ42の入力端子に供給される。イン
バータ37の出力信号がシフトレジスタ43の入力端子
に供給される。The output of the multiplexer 31 is supplied to the shift register 41 and the inverters 34, 35, 36, 37 connected in series. The inverters 34 to 37 form a delay circuit, and the output signal of the connection point of the inverters 35 and 36 is supplied to the input terminal of the shift register 42. The output signal of the inverter 37 is supplied to the input terminal of the shift register 43.
これらのシフトレジスタ41,42,43には、シフト
パルスとして内部クロックCKRが供給される。この内
部クロックCKRにより、マルチプレクサ31の出力が
ラッチされて、シフトレジスタ41,42,43に取り
込まれる。An internal clock CKR is supplied as a shift pulse to these shift registers 41, 42 and 43. The output of the multiplexer 31 is latched by the internal clock CKR and taken into the shift registers 41, 42, 43.
シフトレジスタ42の第2段目の出力がマルチプレクサ
30の一方の入力端子に供給される。マルチプレクサ3
0の他方の入力端子には、SRINで示す入力端子38
からのパルス信号がラッチ39を介して供給される。マ
ルチプレクサ30の出力信号がシフトレジスタ27に供
給される。The output of the second stage of the shift register 42 is supplied to one input terminal of the multiplexer 30. Multiplexer 3
The other input terminal of 0 is the input terminal 38 indicated by SRIN.
Is supplied via the latch 39. The output signal of the multiplexer 30 is supplied to the shift register 27.
マルチプレクサ8及び30の状態がMDで示す端子13
からのモード設定信号により制御される。このモード設
定信号は、データの並列ビット数が8ビットで、第1図
に示す構成を単独で使用する時と、データの並列ビット
数が8ビットより多くなり、第1図に示す構成を並列接
続する時とを切り替えるための信号である。並列接続の
第2番目以降の単位構成として、第1図に示す回路が使
用される時には、マルチプレクサ8及び30の夫々が端
子12及び38からの信号を選択するようになされる。The terminal 13 in which the states of the multiplexers 8 and 30 are indicated by MD
It is controlled by the mode setting signal from. This mode setting signal has a data parallel bit number of 8 bits, and when the configuration shown in FIG. 1 is used independently and when the data parallel bit number is more than 8 bits, the configuration shown in FIG. This is a signal for switching between when connecting and when connecting. When the circuit shown in FIG. 1 is used as the second and subsequent unit configurations of the parallel connection, the multiplexers 8 and 30 respectively select the signals from the terminals 12 and 38.
前述のシフトレジスタ41及び42の初段の出力がEX
−ORゲート44に供給される。シフトレジスタ41及
び43の初段の出力がEX−ORゲート45に供給され
る。シフトレジスタ42及び43の初段の出力がEX−
ORゲート46に供給される。インバータ34〜37に
よる遅延時間は、僅かなものであり、ラッチ14の出力
は、外部クロックCKWに同期している。従って、EX
−ORゲート44,45,46の中で、2つの入力が不
一致となり、その出力が‘H ’(ハイレベル)となるE
X−ORゲートが在る時には、外部クロックCKWと内
部クロックCKRとの位相が極めて近接しており、シフ
トレジスタ42がマルチプレクサ31の出力のラッチ動
作を誤るおそれがあることを意味している。The output of the first stage of the shift registers 41 and 42 is EX.
-Is supplied to the OR gate 44. The output of the first stage of the shift registers 41 and 43 is supplied to the EX-OR gate 45. The output of the first stage of the shift registers 42 and 43 is EX-
It is supplied to the OR gate 46. The delay time due to the inverters 34 to 37 is short, and the output of the latch 14 is synchronized with the external clock CKW. Therefore, EX
-E In the OR gates 44, 45, 46, the two inputs do not match and their outputs are'H '(high level).
When the X-OR gate is present, the phases of the external clock CKW and the internal clock CKR are extremely close to each other, which means that the shift register 42 may erroneously latch the output of the multiplexer 31.
また、シフトレジスタ41,42,43の夫々の初段の
出力と夫々の第5段目の出力とがEX−ORゲート4
7,48,49に供給される。マルチプレクサ31から
の信号は、クロックの4周期毎に‘L ’となる信号であ
るから、この信号に全くジッターが無いものとすれば、
各シフトレジスタ41,42,43の初段の出力と第5
段目の出力とが同一となり、EX−ORゲート47,4
8,49の各出力が‘L ’となる。Further, the output of the first stage of each of the shift registers 41, 42 and 43 and the output of each of the fifth stage of each of the shift registers 41, 42 and 43 are the EX-OR gate 4.
7,48,49. Since the signal from the multiplexer 31 is a signal that becomes'L 'every four clock cycles, if there is no jitter in this signal,
The first stage output of each shift register 41, 42, 43 and the fifth
The output of the second stage becomes the same, and the EX-OR gates 47, 4
Each output of 8 and 49 becomes'L '.
しかし、外部クロックCKWと内部クロックCKRとの
位相が近く且つジッターが在る場合には、各シフトレジ
スタ41,42,43の初段の出力と第5段目の出力と
が一致しなくなり、EX−ORゲート47,48,49
の少なくとも一の出力が‘H ’となる。6個のEX−O
Rゲート44〜49の各出力がORゲート50に供給さ
れる。However, when the phases of the external clock CKW and the internal clock CKR are close to each other and there is jitter, the output of the first stage of each shift register 41, 42, 43 does not match the output of the fifth stage, and EX- OR gates 47, 48, 49
At least one output of is'H '. 6 EX-O
The outputs of the R gates 44 to 49 are supplied to the OR gate 50.
ORゲート50の出力がJKフリップフロップ51のJ
入力端子に供給され、ORゲート50の出力の反転信号
がJKフリップフロップ51のK入力端子に供給され
る。JKフリップフロップ51のクロック端子には、内
部クロックCKRが供給される。ORゲート50の出力
が‘H ’の時に、(J=‘H ’,K=‘L ’)となり、
JKフリップフロップ51の出力が内部クロックCKR
と同期して以前の状態と反転する。ORゲート50の出
力が‘L ’の時には、(J=‘L ’,K=‘H ’)とな
り、JKフリップフロップ51の出力は、以前の状態の
ままである。このJKフリップフロップ51の出力によ
って、マルチプレクサ31が制御される。The output of the OR gate 50 is the J of the JK flip-flop 51.
The inverted signal of the output of the OR gate 50, which is supplied to the input terminal, is supplied to the K input terminal of the JK flip-flop 51. The internal clock CKR is supplied to the clock terminal of the JK flip-flop 51. When the output of the OR gate 50 is'H ', (J =' H ', K =' L '),
The output of the JK flip-flop 51 is the internal clock CKR.
Invert from the previous state in synchronization with. When the output of the OR gate 50 is'L ', (J =' L ', K =' H '), and the output of the JK flip-flop 51 remains in the previous state. The multiplexer 31 is controlled by the output of the JK flip-flop 51.
従って、マルチプレクサ31がラッチ14の出力を選択
している状態で、外部クロックCKWと内部クロックC
KRの位相が接近して、ORゲート50の出力が‘H ’
となると、JKフリップフロップ51の出力が反転す
る。これにより、マルチプルクサ31の出力に発生する
パルス信号は、内部クロックCKRの1/2周期、位相が
シフトされたものとなる。従って、内部クロックCKR
と外部クロックCKWの位相が接近している時には、シ
フトレジスタ27に供給されるパルスの位相が内部クロ
ックCKRの1/2周期、強制的に変化される。この場
合、ラッチ32には、外部クロックCKWを供給しても
良い。Therefore, with the multiplexer 31 selecting the output of the latch 14, the external clock CKW and the internal clock C
The phase of KR approaches and the output of OR gate 50 becomes'H '.
Then, the output of the JK flip-flop 51 is inverted. As a result, the pulse signal generated at the output of the multiplexer 31 has its phase shifted by 1/2 cycle of the internal clock CKR. Therefore, the internal clock CKR
When the phase of the external clock CKW is close to that of the external clock CKW, the phase of the pulse supplied to the shift register 27 is forcibly changed by 1/2 cycle of the internal clock CKR. In this case, the latch 32 may be supplied with the external clock CKW.
上述のこの発明の一実施例について、第2図及び第3図
を参照してその動作を説明する。The operation of the above-described embodiment of the present invention will be described with reference to FIGS. 2 and 3.
第2図は、外部クロックCKW(第2図A)と内部クロ
ックCKR(第2図F)との位相が離れている場合、例
えば180 度位相が異なる時の動作を示す。第2図Bは、
NANDゲート10の出力信号を示す。NANDゲート
10の出力信号は、外部クロックCKWの4周期毎に
‘L ’となる。FIG. 2 shows the operation when the external clock CKW (FIG. 2A) and the internal clock CKR (FIG. 2F) are out of phase, for example, when the phases are different by 180 degrees. FIG. 2B shows
The output signal of the NAND gate 10 is shown. The output signal of the NAND gate 10 becomes'L 'every four cycles of the external clock CKW.
NANDゲート10の出力信号がマルチプレクサ8を介
してシフトレジスタ7に供給され、このシフトレジスタ
7の4個の出力端子に第2図Cに示すように、4相のク
ロックイネーブル信号が発生する。従って、ラッチ2か
らの入力データS0,S1,S2,S3,S4,S5,・・・・が第
2図Dに示すように、ラッチ3,4,5,6に順にラッ
チされる。The output signal of the NAND gate 10 is supplied to the shift register 7 via the multiplexer 8, and four-phase clock enable signals are generated at the four output terminals of the shift register 7 as shown in FIG. 2C. Therefore, the input data S0, S1, S2, S3, S4, S5, ... From the latch 2 are sequentially latched in the latches 3, 4, 5, 6 as shown in FIG. 2D.
第2図Eは、ラッチ14にラッチされたNANDゲート
10の出力信号を示す。第2図に示すように、外部クロ
ックCKWと内部クロックCKRとの位相差が大きい時
には、マルチプレクサ32がラッチ14の出力信号(第
2図E)を選択する。FIG. 2E shows the output signal of the NAND gate 10 latched by the latch 14. As shown in FIG. 2, when the phase difference between the external clock CKW and the internal clock CKR is large, the multiplexer 32 selects the output signal of the latch 14 (E in FIG. 2).
ラッチ14の出力信号がインバータ34,35を介して
シフトレジスタ42に供給され、このシフトレジスタ4
2の初段及び2段目に第2図Gに示す出力信号が発生す
る。The output signal of the latch 14 is supplied to the shift register 42 via the inverters 34 and 35, and the shift register 4
The output signal shown in FIG. 2G is generated in the first and second stages of No.2.
シフトレジスタ42の2段目の出力信号がマルチプレク
サ30を介してシフトレジスタ27に供給される。従っ
て、このシフトレジスタ27から第2図Hに示す4相の
アウトプットコントロール信号が発生する。このアウト
プットコントロール信号の各相がゲート回路23〜26
に供給される。ゲート回路23〜26の出力信号がラッ
チ22によりラッチされ、第2図Iに示すラッチ22の
出力信号が出力端子21に取り出される。The output signal of the second stage of the shift register 42 is supplied to the shift register 27 via the multiplexer 30. Therefore, the four-phase output control signals shown in FIG. 2H are generated from the shift register 27. Each phase of this output control signal is applied to the gate circuits 23 to 26.
Is supplied to. The output signals of the gate circuits 23 to 26 are latched by the latch 22, and the output signal of the latch 22 shown in FIG.
例えばゲート回路23には、第2図H中で、一番上に
記載されたアウトプットコントロール信号が供給され、
このアウトプットコントロール信号の‘L ’の期間にオ
ンとなる。この時に、ゲート回路23の出力には、ラッ
チ3からの入力データ例えばS0 が取り出される。この
期間は、第2図Dに示すように、ラッチ5が入力ゲータ
S2 をラッチする期間と対応している。For example, in the gate circuit 23, at the top in FIG.
Is supplied with the listed output control signals,
It is turned on during the'L 'period of this output control signal. At this time, the input data from the latch 3, for example, S0, is taken out from the output of the gate circuit 23. This period corresponds to the period in which the latch 5 latches the input gater S2, as shown in FIG. 2D.
第3図は、外部クロックCKW(第3図A)と内部クロ
ックCKR(第3図F)との位相が極めて近い場合の動
作を示す。第2図B,第2図C,第2図D,第2図Eの
夫々と同様に、第3図B,第3図C,第3図D,第3図
Eの夫々は,NANDゲート10の出力信号、シフトレ
ジスタ7の4個の出力端子に発生する4相のクロックイ
ネーブル信号、ラッチ3,4,5,6の出力信号、ラッ
チ14にラッチされたNANDゲート10の出力信号を
示す。また、第3図Gは、ラッチ32の出力信号を示
す。ラッチ32の出力信号は、内部クロックCKRの1/
2周期の遅れをラッチ14の出力信号に対して有する。FIG. 3 shows the operation when the external clock CKW (FIG. 3A) and the internal clock CKR (FIG. 3F) are very close in phase. Similarly to FIGS. 2B, 2C, 2D, and 2E, each of FIGS. 3B, 3C, 3D, and 3E has a NAND gate. 10 output signals, four-phase clock enable signals generated at the four output terminals of the shift register 7, output signals of the latches 3, 4, 5, 6 and the output signal of the NAND gate 10 latched by the latch 14. . Further, FIG. 3G shows an output signal of the latch 32. The output signal of the latch 32 is 1 / the internal clock CKR.
It has a delay of two cycles with respect to the output signal of the latch 14.
第3図に示すように、外部クロックCKWと内部クロッ
クCKRとの位相差が極めて小さい時には、マルチプレ
クサ31がラッチ32の出力信号(第3図G)を選択す
る。As shown in FIG. 3, when the phase difference between the external clock CKW and the internal clock CKR is extremely small, the multiplexer 31 selects the output signal of the latch 32 (G in FIG. 3).
マルチプレクサ31の出力信号がインバータ34,35
を介してシフトレジスタ42に供給され、このシフトレ
ジスタ42の初段及び2段目に第3図Hに示す出力信号
が発生する。The output signal of the multiplexer 31 is the inverters 34 and 35.
To the shift register 42, and the output signal shown in FIG. 3H is generated at the first stage and the second stage of the shift register 42.
シフトレジスタ42の2段目の出力信号がマルチプレク
サ30を介してシフトレジスタ27に供給される。従っ
て、このシフトレジスタ27から第3図Iに示す4相の
アウトプットコントロール信号が発生する。このアウト
プットコントロール信号の各相がゲート回路23〜26
に供給される。ゲート回路23〜26の出力信号がラッ
チ22によりラッチされ、第3図Jに示すラッチ22の
出力信号が出力端子21に取り出される。The output signal of the second stage of the shift register 42 is supplied to the shift register 27 via the multiplexer 30. Therefore, the four-phase output control signals shown in FIG. 3I are generated from the shift register 27. Each phase of this output control signal is applied to the gate circuits 23 to 26.
Is supplied to. The output signals of the gate circuits 23 to 26 are latched by the latch 22, and the output signal of the latch 22 shown in FIG. 3J is taken out to the output terminal 21.
例えばゲート回路23には、第3図Iで一番上に記載さ
れたアウトプットコントロール信号が供給され、このア
ウトプットコントロール信号の‘L ’の期間にオンとな
る。この時に、ゲート回路23の出力には、ラッチ3か
らの入力データS0 が取り出される。この期間は、第3
図Dに示すように、ラッチ5が入力データS2 をラッチ
し始める期間と対応している。For example, the gate circuit 23 is supplied with the output control signal described at the top in FIG. 3I, and is turned on during the'L 'period of this output control signal. At this time, the input data S0 from the latch 3 is taken out from the output of the gate circuit 23. This period is the third
As shown in FIG. D, this corresponds to the period in which the latch 5 starts to latch the input data S2.
上述のように、外部クロックCKWと内部クロックCK
Rの相対位相が近接している場合と、離れている場合と
の何れの場合でも、ラッチ22は、データを確実にラッ
チすることができる。As described above, the external clock CKW and the internal clock CK
The latch 22 can reliably latch the data regardless of whether the relative phases of R are close to each other or separated from each other.
この発明の一実施例は、並列ビット数が8ビットより多
い入力データの処理にも対応できる構成とされている。
第4図は、入力データの並列ビット数が32ビットの場
合の構成を示す。第4図において、61,62,63,
64の夫々で示すブロックは、第1図と同様の位相差吸
収回路である。One embodiment of the present invention has a configuration capable of processing input data having a parallel bit number of more than 8 bits.
FIG. 4 shows the configuration when the number of parallel bits of input data is 32 bits. In FIG. 4, 61, 62, 63,
Blocks indicated by 64 are phase difference absorption circuits similar to those in FIG.
位相差吸収回路61には、入力データの例えば上位の8
ビットが供給される。入力データの下位側の8ビットず
つが位相差吸収回路62,63,64の夫々の入力端子
に供給される。位相差吸収回路61からのクロックイネ
ーブル信号と関連するタイミング信号及びアウトプット
コントロール信号と関連するタイミング信号が位相差吸
収回路62に供給される。同様に、位相差吸収回路62
から63にこれらのタイミング信号が供給され、位相差
吸収回路63から64にこれらのタイミング信号が供給
される。In the phase difference absorption circuit 61, for example, the upper 8
Bits are provided. The lower 8 bits of the input data are supplied to the respective input terminals of the phase difference absorption circuits 62, 63, 64. The timing signal related to the clock enable signal from the phase difference absorption circuit 61 and the timing signal related to the output control signal are supplied to the phase difference absorption circuit 62. Similarly, the phase difference absorption circuit 62
To 63 are supplied with these timing signals, and the phase difference absorption circuits 63 to 64 are supplied with these timing signals.
また、位相差吸収回路61のモード設定信号が‘L ’と
され、位相差吸収回路61内のマルチプレクサ8及び3
0が内部で発生した信号を選択する状態に設定される。
他の位相差吸収回路62,63,64の夫々のモード設
定信号が‘H ’とされ、これらの位相差吸収回路内のマ
ルチプレクサ8及び30が他の位相差吸収回路からのタ
イミング信号を選択する状態に設定される。Further, the mode setting signal of the phase difference absorption circuit 61 is set to “L”, and the multiplexers 8 and 3 in the phase difference absorption circuit 61 are set.
A 0 is set to select the internally generated signal.
The mode setting signals of the other phase difference absorbing circuits 62, 63, 64 are set to "H", and the multiplexers 8 and 30 in these phase difference absorbing circuits select the timing signal from the other phase difference absorbing circuits. Set to state.
つまり、位相差吸収回路61の動作タイミングを基準と
して他の位相差吸収回路62,63,64が同一のタイ
ミングで動作することになる。位相差吸収回路の外部か
らの信号の入力端子及び外部への信号の出力端子には、
遅延補償のために、夫々ラッチ11,15,28,39
が設けられている。各位相差吸収回路61〜64の8ビ
ットの出力データは、32ビットの出力データにまとめ
られて出力される。That is, the other phase difference absorption circuits 62, 63, 64 operate at the same timing with reference to the operation timing of the phase difference absorption circuit 61. The input terminal of the signal from the outside of the phase difference absorption circuit and the output terminal of the signal to the outside,
Latches 11, 15, 28, 39 are provided for delay compensation, respectively.
Is provided. The 8-bit output data of each of the phase difference absorption circuits 61 to 64 is collected and output as 32-bit output data.
この発明に依れば、メモリを使用せずに、非同期のシス
テム間で、ディジタル信号の受け渡しを行うことができ
る。従って、ディジタルビデオ信号のように、高速のデ
ータを処理する時に、バッファメモリを使用するのと異
なり、回路規模が大きくなることを防止することができ
る。また、この発明は、外部クロックCKW自身ではな
く、ラッチ制御信号(上述の実施例では、4周期毎に
‘L ’となるラッチ制御信号)に基づいてジッターを検
出するので、外部クロックCKWの1周期内の短い周期
のジッターの場合でも、4周期分の長さで検出すること
によって、確実にこれを検出することができる。さら
に、ジッター検出のために、複数のシフトレジスタを設
け、その入力端子にクロックの周期よりも充分短い遅延
回路を挿入し、各シフトレジスタの異なる段の出力をそ
れぞれ比較する比較手段を設けているので、ラッチして
いる最中のラッチと対応するゲートを開くことによっ
て、変化途中のデータを受け取ることを確実に防止する
ことができる。According to the present invention, digital signals can be transferred between asynchronous systems without using a memory. Therefore, unlike the case where the buffer memory is used when processing high-speed data such as a digital video signal, it is possible to prevent the circuit scale from increasing. Further, according to the present invention, the jitter is detected not based on the external clock CKW itself but on the latch control signal (in the above embodiment, the latch control signal becomes "L" every four cycles). Even in the case of a short period jitter within a period, it is possible to reliably detect this by detecting the period of four cycles. Further, for detecting the jitter, a plurality of shift registers are provided, a delay circuit sufficiently shorter than the clock period is inserted in the input terminal thereof, and a comparison means for comparing outputs of different stages of each shift register is provided. Therefore, by opening the gate corresponding to the latch which is being latched, it is possible to reliably prevent the data in the process of being changed.
第1図はこの発明の一実施例のブロック図、第2図及び
第3図はこの発明の一実施例の動作説明のためのタイム
チャート、第4図はこの発明を32ビット並列のデータ
の処理に適用した時のブロック図、第5図及び第6図は
従来のディジタル信号の位相差吸収回路の説明のための
ブロック図である。 図面における主要な符号の説明 1:データの入力端子、3,4,5,6:ラッチ、7,
27,41,42,43:シフトレジスタ、8,30,
31:マルチプレクサ、21:データの出力端子、2
3,24,25,26:ゲート回路。FIG. 1 is a block diagram of one embodiment of the present invention, FIGS. 2 and 3 are time charts for explaining the operation of one embodiment of the present invention, and FIG. 5 and 6 are block diagrams when applied to processing, and are block diagrams for explaining a conventional phase difference absorption circuit for digital signals. Description of main symbols in the drawings 1: Data input terminal, 3, 4, 5, 6: Latch, 7,
27, 41, 42, 43: shift register, 8, 30,
31: multiplexer, 21: data output terminal, 2
3, 24, 25, 26: Gate circuits.
Claims (1)
ルデータに同期した外部クロックが入力され、上記外部
クロツクと周波数が等しい内部クロツクに同期した出力
デイジタルデータを形成するようにしたデイジタル信号
の位相差吸収回路において、 上記入力データが並列的に供給される、少なくとも3個
のラッチ手段と、 上記外部クロックから上記ラッチ手段に順次上記入力デ
ータをラッチするための上記外部クロツクに同期した、
上記ラッチ手段の個数分の相のラッチ制御信号を形成す
る手段と、 上記ラッチ手段の各々の出力が供給され、ゲート制御信
号により、上記内部クロツクの1周期ずつ順次オンする
ゲート手段と、 上記ラッチ制御信号の何れか1つである第1のラッチ制
御信号と、この第1のラッチ制御信号を上記内部クロツ
ク又は上記外部クロツクの1/2周期分位相を変化させ
た第2のラッチ制御信号とのいずれかを、選択信号に基
づいて選択する手段と、 上記選択手段によって選択された信号にジッターが存在
するかを検出するジッター検出手段と、 上記ジッターが検出された場合は上記第2のラッチ制御
信号を選択し、上記ジッターが検出されない場合は上記
第1のラッチ制御信号選択することを指示する上記選択
信号を生成する手段と、 上記選択手段によって選択されたラッチ制御信号を上記
内部クロツクと同期して遅延させ、上記ゲート手段と対
応する上記ラッチ手段がラッチ動作を行う時にオフとな
るように、上記ゲート手段を制御する上記ゲート制御信
号を発生する手段とを備え、 上記ジッター検出手段は、 複数個のシフトレジスタと、 上記複数個のシフトレジスタの入力端子間に設けられ
た、上記選択されたラッチ制御信号を、上記内部クロツ
クの周期より充分短い時間遅延する遅延手段と、 上記複数個のシフトレジスタのそれぞれにおいて、異な
る段の出力をそれぞれ比較する比較手段とからなること
を特徴とするデイジタル信号の位相差吸収回路。1. A phase difference absorption circuit for a digital signal, wherein input digital data and an external clock synchronized with the input digital data are input to form output digital data synchronized with an internal clock having the same frequency as the external clock. In at least three latch means for supplying the input data in parallel, and in synchronization with the external clock for sequentially latching the input data from the external clock to the latch means,
Means for forming latch control signals of phases corresponding to the number of the latch means, gate means for supplying each output of the latch means and sequentially turning on one cycle of the internal clock by the gate control signal, and the latch A first latch control signal, which is one of the control signals, and a second latch control signal obtained by changing the phase of the first latch control signal by 1/2 cycle of the internal clock or the external clock. Means for selecting any one of the above based on a selection signal, a jitter detecting means for detecting whether or not there is jitter in the signal selected by the selecting means, and the second latch when the jitter is detected. A control signal selecting means for generating the selection signal for instructing selection of the first latch control signal if the jitter is not detected; The gate control signal for delaying the latch control signal selected by the stage in synchronism with the internal clock so as to turn off when the latch means corresponding to the gate means performs a latch operation. The jitter detecting means is provided with a plurality of shift registers and the selected latch control signal provided between the input terminals of the plurality of shift registers, the internal clock cycle A phase difference absorption circuit for digital signals, comprising: delay means for delaying a sufficiently shorter time; and comparison means for comparing outputs of different stages in each of the plurality of shift registers.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60038539A JPH0650855B2 (en) | 1985-02-27 | 1985-02-27 | Digital signal phase difference absorption circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60038539A JPH0650855B2 (en) | 1985-02-27 | 1985-02-27 | Digital signal phase difference absorption circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61198842A JPS61198842A (en) | 1986-09-03 |
| JPH0650855B2 true JPH0650855B2 (en) | 1994-06-29 |
Family
ID=12528085
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60038539A Expired - Lifetime JPH0650855B2 (en) | 1985-02-27 | 1985-02-27 | Digital signal phase difference absorption circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0650855B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5524295B2 (en) * | 1972-02-29 | 1980-06-27 | ||
| JPS5856886B2 (en) * | 1979-04-06 | 1983-12-17 | 沖電気工業株式会社 | Bit phase synchronization circuit |
-
1985
- 1985-02-27 JP JP60038539A patent/JPH0650855B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61198842A (en) | 1986-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4970405A (en) | Clock selection circuit for selecting one of a plurality of clock pulse signals | |
| US6166963A (en) | Dual port memory with synchronized read and write pointers | |
| US4965884A (en) | Data alignment method and apparatus | |
| KR100540487B1 (en) | Data output control circuit | |
| KR20050085801A (en) | Slave qdr2 compliant coprocessor | |
| JPH0220173B2 (en) | ||
| KR20020002526A (en) | A register controlled DLL using ring delay and counter | |
| US6943595B2 (en) | Synchronization circuit | |
| KR100448707B1 (en) | Clock and data recovery circuit and method | |
| KR100711131B1 (en) | Data transfer apparatus for system having plural clock domains | |
| JP2003208400A (en) | Clock switching circuit | |
| JPH0650855B2 (en) | Digital signal phase difference absorption circuit | |
| US4789959A (en) | Delay circuit for a real time clock | |
| KR100223026B1 (en) | Synchronizing circuit | |
| US6150861A (en) | Flip-flop | |
| JP2702257B2 (en) | Bit phase synchronization circuit | |
| JP2783495B2 (en) | Clock transfer circuit | |
| JPH0650856B2 (en) | Digital signal latch circuit | |
| KR100429867B1 (en) | Output Buffer for Double Data Rate Semiconductor Devices | |
| KR20010006850A (en) | Improved skew pointer generation | |
| JP2000353939A (en) | Clock signal synchronous flip flop circuit | |
| KR930007593Y1 (en) | Device I / O Interface Circuit | |
| KR19980050372A (en) | Clock generator for data transmission synchronization | |
| JPS6111803Y2 (en) | ||
| KR100437833B1 (en) | clock signal switch circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |