JPH08316944A - Phase adjustment circuit - Google Patents

Phase adjustment circuit

Info

Publication number
JPH08316944A
JPH08316944A JP7118738A JP11873895A JPH08316944A JP H08316944 A JPH08316944 A JP H08316944A JP 7118738 A JP7118738 A JP 7118738A JP 11873895 A JP11873895 A JP 11873895A JP H08316944 A JPH08316944 A JP H08316944A
Authority
JP
Japan
Prior art keywords
data
input
signal
counter
delay amount
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
JP7118738A
Other languages
Japanese (ja)
Inventor
Shinji Sato
慎二 佐藤
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP7118738A priority Critical patent/JPH08316944A/en
Publication of JPH08316944A publication Critical patent/JPH08316944A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: To provide the phase adjustment circuit having a simple configuration which controls the phase delay of input data by external control data. CONSTITUTION: This adjustment circuit consists of a synchronous self-load counter 10 operated synchronously with an input clock 22, a latch circuit 12 which latches delay extent control data 20, a comparator 11 which compares output data 23 of the counter 10 and delay extent control data 20 with each other, and a FIFO memory 13. The extent of delay of an input data signal 26 is set by delay extent control data 20 and a delay extent control data latch signal 21; and when this set value coincides with counted data of the counter 10, the comparator 11 generates a comparison count signal 25 to input it to the FIFO memory 13 and resets counted data of the counter 10. Thus, the input data signal 26 is delayed in the FIFO memory 13 by the set extent of delay and is outputted to the outside as an output data signal 27.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば伝送装置に搭載
される電子回路基板の検査技術に係り、特に、検査対象
回路内クロックに同期した入力データ信号の位相を適宜
遅延させ、該クロックに同期したデータ信号を出力させ
る位相調整回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for inspecting an electronic circuit board mounted on, for example, a transmission device, and more particularly, it delays a phase of an input data signal synchronized with a clock in a circuit to be inspected as appropriate. The present invention relates to a phase adjustment circuit that outputs a synchronized data signal.

【0002】[0002]

【従来の技術】従来のこの種の位相調整回路として、入
力クロックに同期して動作する多段接続シフトレジスタ
に、該クロックに同期した入力データ信号を入力し、多
段シフトレジスタの任意の出力タップに出力線を接続す
ることで任意の位相遅延量をもったデータ信号を出力す
る構成のもの(以下、従来例1)が知られている。ま
た、入力クロックに同期動作する同期式カウンタと、入
力データ信号を遅延させるためのスタティックメモリ
と、同期式カウンタ出力を用い、書込アドレスと書込制
御信号を作成する書込側信号発生器と、同期式カウンタ
出力を用い、読出アドレスと読出制御信号を作成する読
出側信号発生器とで構成し、書込/読出のアドレス値の
差で出力データ信号の位相を遅延させるもの(以下、従
来例2)も知られている。
2. Description of the Related Art As a conventional phase adjusting circuit of this type, an input data signal synchronized with a clock is input to a multi-stage connection shift register which operates in synchronization with an input clock, and is input to an arbitrary output tap of the multi-stage shift register. There is known a configuration (hereinafter referred to as Conventional Example 1) that outputs a data signal having an arbitrary phase delay amount by connecting an output line. Also, a synchronous counter that operates in synchronization with the input clock, a static memory for delaying the input data signal, and a write-side signal generator that creates a write address and a write control signal by using the output of the synchronous counter. , Which uses a synchronous counter output and is composed of a read address and a read-side signal generator that creates a read control signal, and delays the phase of the output data signal by the difference between the write / read address values (hereinafter, the conventional Example 2) is also known.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、各従来
例には以下のような問題点があった。従来例1の場合、
多段シフトレジスタの任意の出力タップに出力線を接続
することで任意の位相遅延量をもった出力データ信号を
出力するため、位相遅延量を変える度に出力線を変更し
なければならない。また、位相遅延量が大きくなった
り、入出力データ信号幅が多くなるにつれて回路規模が
大きくなる。従来例2の場合は、書込側および読出側の
信号発生器で各々制御信号を作成すると共に書込/読出
アドレスのアドレス差に基づいて出力データ信号の位相
を遅延させているため、専用の回路が複数必要となり、
回路規模が大きく且つ複雑になる。
However, each conventional example has the following problems. In the case of Conventional Example 1,
Since an output data signal having an arbitrary phase delay amount is output by connecting the output line to an arbitrary output tap of the multi-stage shift register, the output line must be changed every time the phase delay amount is changed. Further, the circuit scale increases as the phase delay amount increases and the input / output data signal width increases. In the case of the conventional example 2, since the control signals are respectively generated by the signal generators on the write side and the read side, and the phase of the output data signal is delayed based on the address difference between the write / read addresses, a dedicated signal generator is used. Multiple circuits are required,
The circuit scale becomes large and complicated.

【0004】本発明の課題は、かかる問題点を解消し、
回路の変更を要さずに、しかも調整量の如何を問わずに
外部制御により入出力データの位相を調整できる位相調
整回路を提供することにある。
An object of the present invention is to solve the above problems,
An object of the present invention is to provide a phase adjustment circuit that can adjust the phase of input / output data by external control without changing the circuit and regardless of the adjustment amount.

【0005】[0005]

【課題を解決するための手段】本発明が提供する位相調
整回路は、入力クロックのクロック数を計数する同期式
自己ロードカウンタと、入力された遅延量データ及び前
記カウンタの計数データを比較して両者が一致したとき
に比較結果信号を生成するとともに該比較結果信号で前
記カウンタの計数データをリセットする比較器と、一の
比較結果信号の入力タイミングで入力データを取り込
み、次の比較結果信号の入力タイミングで該入力データ
を出力するFIFOメモリと、を備えて成る。遅延量デ
ータの入力タイミングが問題になる場合は、上記構成に
加え、さらに前記遅延量データを一時保持するととも
に、保持中の遅延量データを所定タイミングで前記比較
器に導くラッチ回路を備える。
The phase adjusting circuit provided by the present invention compares the input delay amount data and the count data of the counter with a synchronous self-load counter for counting the number of clocks of an input clock. A comparator that generates a comparison result signal when both match and resets the count data of the counter with the comparison result signal, and captures input data at the input timing of one comparison result signal, and outputs the next comparison result signal. And a FIFO memory that outputs the input data at the input timing. When the input timing of the delay amount data becomes a problem, in addition to the above configuration, a latch circuit for temporarily holding the delay amount data and guiding the held delay amount data to the comparator at a predetermined timing is provided.

【0006】[0006]

【作用】本発明ではFIFOメモリに入力される入力デ
ータの出力タイミング(位相遅延量)を同期式自己ロー
ドカウンタの計数データと外部入力される遅延量データ
との比較結果に基づいて調整する。すなわち上記カウン
タでクロック数を計数し、その計数データと遅延量デー
タとを比較器で比較する。遅延量データの入力タイミン
グが問題になる場合はラッチ回路を経由して遅延量デー
タを比較器に入力する。そしてカウンタの計数データが
遅延量データに合致したときは比較結果信号を生成し、
これをFIFOメモリの例えばリセット端子に入力する
とともにカウンタのリセット端子に入力する。これによ
りカウンタはリセットされ、新たに計数を開始する。比
較器はこの新たな計数データが遅延量データと合致した
ときは比較結果信号を再度生成する。これを繰り返す。
FIFOメモリでは、ある比較結果信号の入力タイミン
グで入力データを取り込み、次の比較結果信号の入力タ
イミングで該入力データを出力する。このようにして入
力データの位相遅延量を外部から入力される遅延量デー
タによって任意に変える。
According to the present invention, the output timing (phase delay amount) of the input data input to the FIFO memory is adjusted based on the comparison result between the count data of the synchronous self-load counter and the delay amount data externally input. That is, the number of clocks is counted by the counter, and the count data and the delay amount data are compared by the comparator. When the input timing of the delay amount data is a problem, the delay amount data is input to the comparator via the latch circuit. When the count data of the counter matches the delay amount data, a comparison result signal is generated,
This is input to, for example, the reset terminal of the FIFO memory and the reset terminal of the counter. As a result, the counter is reset and a new count is started. The comparator regenerates the comparison result signal when the new count data matches the delay amount data. Repeat this.
The FIFO memory takes in the input data at the input timing of a certain comparison result signal and outputs the input data at the input timing of the next comparison result signal. In this way, the phase delay amount of the input data is arbitrarily changed according to the delay amount data input from the outside.

【0007】[0007]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1は、本発明の一実施例に係る位相調整
回路の構成図である。この位相調整回路は、同期式自己
ロードカウンタ10と、比較器11と、ラッチ回路12
と、FIFO(first in first out)メモリ13とを基
本構成としている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram of a phase adjustment circuit according to an embodiment of the present invention. This phase adjustment circuit includes a synchronous self-load counter 10, a comparator 11, and a latch circuit 12.
And a FIFO (first in first out) memory 13 as basic configurations.

【0008】カウンタ10は、入力クロック22に同期
動作するものであり、ラッチ回路12は、ラッチタイミ
ングを決するタイミング信号であるラッチ信号21で遅
延量制御データ20(遅延量を決するための制御デー
タ、以下同じ)をラッチするものである。比較器11
は、カウンタ10の出力データ23とラッチ回路12か
ら出力されるラッチデータ24とを比較して合致すると
きに比較結果信号(リセットパルス)25を生成するも
のである。
The counter 10 operates in synchronization with the input clock 22, and the latch circuit 12 uses the latch signal 21 which is a timing signal for determining the latch timing to control the delay amount control data 20 (control data for determining the delay amount, The same shall apply hereinafter). Comparator 11
Is for generating a comparison result signal (reset pulse) 25 when the output data 23 of the counter 10 and the latch data 24 output from the latch circuit 12 are compared and coincident with each other.

【0009】FIFOメモリ13は、比較器11から入
力される比較結果信号25と入力クロック22とにより
データ遅延を行うものである。このFIFOメモリ13
は、データ入力、データ出力、リセットライト入力、リ
セットリード入力、ライトイネーブル入力、リードイネ
ーブル入力、ライトクロック入力、リードクロック入力
の各入出力端子で構成される一般的なFIFOメモリで
あり、ライトイネーブル入力とリードイネーブル入力が
イネーブル状態のときに書込/読出が実行でき、リセッ
トライト入力とリセットリード入力でFIFOメモリ1
3内の書込アドレスポインタと、読出アドレスポイント
がそれぞれ0番地にリセットされる。リセットライト後
の最初のライトクロック入力で、データ入力がFIFO
メモリ13上の0番地に書き込まれ、リセットリード入
力後の最初のリードリセット入力で、0番地からデータ
出力の読み出しが行われる。リセットライト入力とリセ
ットリード入力が同時に入力された場合は、書込/読出
動作による内部遅延が生じるために、同一時間内で入力
データが書込と同時に読み出されることはない。この場
合、最初のリセット入力の時間で書込が行われたデータ
は、次のリセット入力の時間で読み出される。
The FIFO memory 13 delays data by the comparison result signal 25 input from the comparator 11 and the input clock 22. This FIFO memory 13
Is a general FIFO memory composed of input / output terminals for data input, data output, reset write input, reset read input, write enable input, read enable input, write clock input, and read clock input. Writing / reading can be executed when the input and read enable inputs are enabled, and the FIFO memory 1 can be executed by the reset write input and the reset read input.
The write address pointer and the read address point in 3 are reset to address 0 respectively. First write clock input after reset write, data input is FIFO
The data output is read from the address 0 at the first read reset input after the reset read input, which is written in the address 0 on the memory 13. When the reset write input and the reset read input are input at the same time, the input data is not read at the same time as the writing because of an internal delay due to the write / read operation. In this case, the data written at the time of the first reset input is read at the time of the next reset input.

【0010】入力データ26に対し、出力データ27を
任意の位相で出力させるため、本実施例では、任意の遅
延量xを遅延量制御データ20により予めラッチ回路1
2に設定しておく。そしてラッチ回路12の出力データ
24とカウンタ10の出力データ23とが合致したとき
に比較結果信号25を生成し、これを書込及び読出リセ
ット信号、及びカウンタ10の外部ロード信号とするこ
とで、入力データ26が遅延量x分だけ遅延し、FIF
Oメモリ13のデータ出力端子より出力データ27とし
て出力されるようにしている。
In order to output the output data 27 with respect to the input data 26 in an arbitrary phase, in the present embodiment, the arbitrary delay amount x is preliminarily set by the delay amount control data 20.
Set to 2. Then, when the output data 24 of the latch circuit 12 and the output data 23 of the counter 10 match, a comparison result signal 25 is generated, and this is used as a write and read reset signal and an external load signal of the counter 10, The input data 26 is delayed by the delay amount x, and the
The output data 27 is output from the data output terminal of the O memory 13.

【0011】なお、ラッチ回路12は、外部からの遅延
量制御データ20の入力に対する誤動作を防止するため
のものなので、動作中に遅延量制御データ20の論理に
変化がない場合は、これを省略することもできる。
The latch circuit 12 is provided to prevent malfunction of the delay amount control data 20 input from the outside. Therefore, if the logic of the delay amount control data 20 does not change during operation, this is omitted. You can also do it.

【0012】次に、図2を参照して本実施例の位相調整
回路の動作を説明する。図2は、遅延量xを”3”とし
た場合のタイムチャートであり、本実施例の基本動作の
みを説明するため、位相調整回路の信号遅延、セットア
ップ時間、ホールド時間、信号線幅(1〜n,1〜
m)、入出力信号線幅(1〜k)、FIFOメモリ13
の容量、信号の極性等は無視してある。また、FIFO
メモリ13のライトイネーブル入力およびリードイネー
ブル入力については、本実施例がイネーブル状態で使用
することを前提としているので、図1の記述を省略して
いる。
Next, the operation of the phase adjustment circuit of this embodiment will be described with reference to FIG. FIG. 2 is a time chart when the delay amount x is “3”. To explain only the basic operation of this embodiment, the signal delay of the phase adjustment circuit, the setup time, the hold time, the signal line width (1 ~ N, 1
m), input / output signal line width (1 to k), FIFO memory 13
, The signal polarity, etc. are ignored. Also, the FIFO
The write enable input and the read enable input of the memory 13 are presumed to be used in the enabled state in this embodiment, so the description of FIG. 1 is omitted.

【0013】この例では、予め、遅延量制御データ20
と遅延量制御データラッチ信号21により遅延量をラッ
チ回路12に保持させる。入力クロック22に同期動作
するカウンタ10のカウンタ出力23と、ラッチ回路1
2の出力データ24を比較器11で比較し、両者が合致
したとき、すなわち遅延量”3”のときに比較結果信号
25(リセットパルス)を生成し、これをFIFOメモ
リ13に入力する。FIFOメモリ13は、周期的に入
力される上述の比較結果信号25(リセットライト、リ
セットリード)と入力クロック22(ライトクロック、
リードクロック)とのアンド条件を判定し、条件を満た
すとき、すなわち共にアクティブのときに入力データ信
号26の書込と読出を行う。そして、一周期前に書き込
まれた入力データをデータ出力端子から出力する。これ
により、遅延量制御データ20によって設定された遅延
量”3”分だけ入力データの位相が遅延してトランスペ
アレントな状態で外部に出力される。
In this example, the delay amount control data 20 is set in advance.
The delay amount is held in the latch circuit 12 by the delay amount control data latch signal 21. The counter output 23 of the counter 10 that operates in synchronization with the input clock 22 and the latch circuit 1
The output data 24 of No. 2 is compared by the comparator 11, and when they match each other, that is, when the delay amount is “3”, the comparison result signal 25 (reset pulse) is generated and input to the FIFO memory 13. The FIFO memory 13 has a comparison result signal 25 (reset write, reset read) and an input clock 22 (write clock,
The AND condition with the read clock) is determined, and when the condition is satisfied, that is, when both are active, writing and reading of the input data signal 26 are performed. Then, the input data written one cycle before is output from the data output terminal. As a result, the phase of the input data is delayed by the delay amount "3" set by the delay amount control data 20, and is output to the outside in a transparent state.

【0014】このように、本実施例では、外部から任意
の遅延量xを設定し、この遅延量xとクロックに対して
同期動作する同期式自己ロードカウンタ10の計数デー
タとを比較することで、任意の周期の比較結果信号25
を生成し、この比較結果信号25とFIFOメモリ13
とを用いて入出力データの遅延量を制御するようにした
ので、多段シフトレジスタを必要とした従来回路のよう
に位相遅延量を変える度に出力線を変更したり、位相遅
延量に応じて回路規模を変える必要がなくなる。
As described above, in this embodiment, an arbitrary delay amount x is set from the outside, and this delay amount x is compared with the count data of the synchronous self-load counter 10 that operates in synchronization with the clock. , Comparison result signal 25 of arbitrary cycle
To generate the comparison result signal 25 and the FIFO memory 13
Since the delay amount of input / output data is controlled by using and, the output line is changed every time the phase delay amount is changed like a conventional circuit that requires a multi-stage shift register, or the phase delay amount is changed according to the phase delay amount. There is no need to change the circuit scale.

【0015】また、FIFOメモリ13を用いているた
め、スタティックメモリを用いていた従来回路のように
書込信号/読出信号を発生するためのタイミング信号発
生器が不要となる。なお、本実施例では、入出力データ
26,27や遅延量制御データ20、およびカウンタ1
0から出力される計数データ23をパラレル表示(1〜
k,1〜n,1〜m)しているが、シリアルなものであ
って良いのは勿論である。
Further, since the FIFO memory 13 is used, the timing signal generator for generating the write signal / read signal unlike the conventional circuit using the static memory is unnecessary. In this embodiment, the input / output data 26 and 27, the delay amount control data 20, and the counter 1
Count data 23 output from 0 is displayed in parallel (1 to
k, 1-n, 1-m), but of course they may be serial ones.

【0016】[0016]

【発明の効果】以上の説明から明らかなように、本発明
によれば、回路構成を変更しなくとも外部からの遅延量
制御により入力データの位相をフレキシブルに調整する
ことができる効果がある。また、位相調整量、すなわち
遅延量の範囲が大きな場合であっても小規模な回路構成
にすることができる効果がある。
As is apparent from the above description, according to the present invention, the phase of input data can be flexibly adjusted by controlling the delay amount from the outside without changing the circuit configuration. Further, even if the range of the phase adjustment amount, that is, the delay amount is large, there is an effect that the circuit configuration can be made small.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係る位相調整回路の構成
図。
FIG. 1 is a configuration diagram of a phase adjustment circuit according to an embodiment of the present invention.

【図2】この実施例の位相調整回路において、遅延量
を”3”とした場合の動作例を示すタイミングチャー
ト。
FIG. 2 is a timing chart showing an operation example when the delay amount is “3” in the phase adjustment circuit of this embodiment.

【符号の説明】[Explanation of symbols]

10 カウンタ 11 比較器 12 ラッチ回路 13 FIFOメモリ 20 遅延量制御データ 21 遅延量制御データラッチ信号 22 クロック 23 カウンタ出力信号 24 ラッチ回路出力データ 25 比較結果信号 26 入力データ 27 出力データ 10 counter 11 comparator 12 latch circuit 13 FIFO memory 20 delay amount control data 21 delay amount control data latch signal 22 clock 23 counter output signal 24 latch circuit output data 25 comparison result signal 26 input data 27 output data

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力クロックのクロック数を計数する同
期式自己ロードカウンタと、入力された遅延量データ及
び前記カウンタの計数データを比較して両者が一致した
ときに比較結果信号を生成するとともに該比較結果信号
で前記カウンタの計数データをリセットする比較器と、
一の比較結果信号の入力タイミングで入力データを取り
込み、次の比較結果信号の入力タイミングで該入力デー
タを出力するFIFOメモリと、を備えて成る位相調整
回路。
1. A synchronous self-load counter that counts the number of clocks of an input clock and an input delay amount data and count data of the counter are compared to generate a comparison result signal when the two match. A comparator that resets the count data of the counter with a comparison result signal;
A phase adjustment circuit comprising: a FIFO memory that receives input data at the input timing of one comparison result signal and outputs the input data at the input timing of the next comparison result signal.
【請求項2】 前記遅延量データを一時保持するととも
に、保持中の遅延量データを所定タイミングで前記比較
器に導くラッチ回路を備えることを特徴とする請求項1
記載の位相調整回路。
2. A latch circuit for temporarily holding the delay amount data and guiding the held delay amount data to the comparator at a predetermined timing.
The described phase adjustment circuit.
JP7118738A 1995-05-17 1995-05-17 Phase adjustment circuit Pending JPH08316944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7118738A JPH08316944A (en) 1995-05-17 1995-05-17 Phase adjustment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7118738A JPH08316944A (en) 1995-05-17 1995-05-17 Phase adjustment circuit

Publications (1)

Publication Number Publication Date
JPH08316944A true JPH08316944A (en) 1996-11-29

Family

ID=14743853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7118738A Pending JPH08316944A (en) 1995-05-17 1995-05-17 Phase adjustment circuit

Country Status (1)

Country Link
JP (1) JPH08316944A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017030016A1 (en) * 2015-08-19 2017-02-23 ヤマハ株式会社 Content data delivery system and content data delivery method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017030016A1 (en) * 2015-08-19 2017-02-23 ヤマハ株式会社 Content data delivery system and content data delivery method
JP2017041713A (en) * 2015-08-19 2017-02-23 ヤマハ株式会社 Content data distribution system and content data distribution method
US11438400B2 (en) 2015-08-19 2022-09-06 Yamaha Corporation Content data delivery system, server, and content data delivery method

Similar Documents

Publication Publication Date Title
JP3856696B2 (en) Configurable synchronizer for double data rate synchronous dynamic random access memory
US6920080B2 (en) Methods for generating output control signals in synchronous semiconductor memory devices and related semiconductor memory devices
KR0167683B1 (en) Data output buffer control method for using high frequency action of motivated memory
US5864252A (en) Synchronous circuit with improved clock to data output access time
JP2641276B2 (en) Two-stage synchronizer
KR100617999B1 (en) Method and apparatus for data capture in a memory device
JPH08316944A (en) Phase adjustment circuit
US7676643B2 (en) Data interface device for accessing memory
JP2936807B2 (en) Integrated circuit
US6580660B1 (en) Circuit and method for synchronizing multiple digital data paths
JP3329221B2 (en) LSI test equipment
JPH1125030A (en) Bus extension control circuit
JPH09139730A (en) Elastic storage device
JPH01208791A (en) Semiconductor storage circuit
JPH0710042B2 (en) Timing signal generator
KR100495908B1 (en) Integrated circuit with improved output control signal and improved output control signal producing method
JP2580649B2 (en) Storage device control method
JP2507879Y2 (en) IC test equipment
JPH09135236A (en) Frame timing phase adjusting circuit
CA2249250A1 (en) System and method for compensating for delays of a signal in a component of a synchronous system
JPH0289300A (en) Semiconductor memory element
JPS6273171A (en) Logical waveform forming circuit
JPH04358397A (en) Semiconductor memory
JPH08153033A (en) Data transfer circuit
JPH04346083A (en) Timing generator