JP2001306491A - Circuit and method for transferring data between asynchronous systems - Google Patents

Circuit and method for transferring data between asynchronous systems

Info

Publication number
JP2001306491A
JP2001306491A JP2000126717A JP2000126717A JP2001306491A JP 2001306491 A JP2001306491 A JP 2001306491A JP 2000126717 A JP2000126717 A JP 2000126717A JP 2000126717 A JP2000126717 A JP 2000126717A JP 2001306491 A JP2001306491 A JP 2001306491A
Authority
JP
Japan
Prior art keywords
data
circuit
signal
output
transmission
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.)
Granted
Application number
JP2000126717A
Other languages
Japanese (ja)
Other versions
JP3536777B2 (en
Inventor
Hiroyasu Wakatsuki
洋康 若月
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP2000126717A priority Critical patent/JP3536777B2/en
Publication of JP2001306491A publication Critical patent/JP2001306491A/en
Application granted granted Critical
Publication of JP3536777B2 publication Critical patent/JP3536777B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To guarantee the normal transfer of data and also to improve the data transfer efficiency. SOLUTION: A circuit 16 is set at the same time when the data are set at a transmitting register 14. The transmitting register effective flags outputted from the circuit 16 are set at FF circuits 18-24 and 56-60 respectively, and the output signals of an FF circuit 58 are set at FF circuits 34-38. Five transmitting register set signals are outputted in response to the output signals of FF circuits 18-24, 36 and 38 respectively, and the data on the register 14 are set at a receiving register 54 in response to the output signals of FF circuits 58 and 60. One of those five reset signals is selected by the selection signal sent from a clock ratio detection circuit 66 and the circuit 16 is reset by the selected selection signal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、非同期系間データ転
送回路及び非同期系間データ転送方法に係り、詳しく
は、非同期で動作するデータバス等間での正常なデータ
の転送を保証しつつ、データを効率良く転送させ得る非
同期系間データ転送回路及び非同期系間データ転送方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asynchronous inter-system data transfer circuit and an inter-asynchronous data transfer method, and more particularly, to guaranteeing normal data transfer between data buses operating asynchronously. The present invention relates to an asynchronous data transfer circuit and an asynchronous data transfer method capable of efficiently transferring data.

【0002】[0002]

【従来の技術】コンピュータシステムの中には、それを
構成する回路間でデータを転送するのに複数のバスを備
えて構成されるものがある。そして、この形式のコンピ
ュータシステムにおいて、バス間でデータ転送を行うの
にバス間にバスブリッジ回路を設けてシステムを構成し
たものがある。例えば、中央処理装置と周辺装置とを接
続する周辺バスと、周辺装置の内部に設けられたローカ
ルバスとの間にバスブリッジ回路を設けて両バス間でデ
ータを転送する。
2. Description of the Related Art Some computer systems include a plurality of buses for transferring data between circuits constituting the computer system. In this type of computer system, there is a computer system in which a bus bridge circuit is provided between buses to transfer data between buses. For example, a bus bridge circuit is provided between a peripheral bus connecting the central processing unit and the peripheral device and a local bus provided inside the peripheral device, and data is transferred between the two buses.

【0003】このバスブリッジ回路を設ける理由は、周
辺バスとローカルバスとのバス仕様がそれぞれ異なり、
そのバス仕様の差違、例えば、各バスで用いられるクロ
ックの周波数の差違を吸収するためである。このような
技術的問題は、動作周波数が異なるレジスタ等間のデー
タ転送においても、生ずる。
The reason for providing this bus bridge circuit is that the bus specifications of the peripheral bus and the local bus are different from each other,
This is to absorb the difference in the bus specifications, for example, the difference in the frequency of the clock used in each bus. Such a technical problem also occurs in data transfer between registers having different operating frequencies.

【0004】例えば、図11に示すような送受信回路の
動作周波数、すなわち、クロック周波数が送信側と受信
側とで異なる場合の送信側回路部分のレジスタと受信側
回路部分のレジスタとの間でデータを転送する場合の非
同期系間データ転送回路100は、送信側回路部分10
2には、送信側レジスタ101と、送信側レジスタ有効
フラグ回路(フリップフロップ回路(FF))105
と、フリップフロップ回路107〜113と、アンド回
路115とが設けられ、受信側回路部分104には、受
信側レジスタ103と、フリップフロップ回路117〜
121と、アンド回路123と、受信側出力データ有効
フラグ回路(フリップフロップ回路)125とが設けら
れて構成される。
For example, when the operating frequency of the transmitting / receiving circuit as shown in FIG. 11, that is, the clock frequency is different between the transmitting side and the receiving side, data is transmitted between the register of the transmitting side circuit and the register of the receiving side circuit. The asynchronous inter-system data transfer circuit 100 for transferring the
2, a transmission-side register 101 and a transmission-side register valid flag circuit (flip-flop circuit (FF)) 105
, Flip-flop circuits 107 to 113, and an AND circuit 115 are provided, and the reception-side circuit portion 104 includes a reception-side register 103 and flip-flop circuits 117 to 117.
121, an AND circuit 123, and a receiving-side output data valid flag circuit (flip-flop circuit) 125 are provided.

【0005】送信側入力データは、データ送信要求信号
が送信側レジスタ101に入力されたときの送信側クロ
ックに応答して送信側レジスタ101にセットされる。
このセットと同時に、データ送信要求信号及び送信側ク
ロックに応答する送信側レジスタ有効フラグ回路105
がセットされ、送信側レジスタ有効フラグ106が送信
側レジスタ有効フラグ回路105から送出される。この
送信側レジスタ有効フラグ106は、また、データ送信
抑止信号としてデータ送出源へ供給される。データ送出
源は、送信側レジスタ有効フラグ106の送出が停止さ
れるまで、次のデータの送出が抑止される。
The transmission-side input data is set in the transmission-side register 101 in response to a transmission-side clock when a data transmission request signal is input to the transmission-side register 101.
Simultaneously with this setting, the transmission side register valid flag circuit 105 responding to the data transmission request signal and the transmission side clock
Is set, and the transmission side register valid flag 106 is sent out from the transmission side register valid flag circuit 105. The transmission-side register valid flag 106 is supplied to the data transmission source as a data transmission suppression signal. The transmission of the next data is suppressed until the transmission of the transmission-side register valid flag 106 is stopped.

【0006】送出された送信側レジスタ有効フラグ10
6は、該送信側レジスタ有効フラグ106の送出後の順
次の受信側クロックに応答してフリップフロップ回路1
17〜121が、順次セットされる。フリップフロップ
回路119,121の出力信号がアンド回路123に供
給される。アンド回路123から受信側レジスタセット
信号124が出力され、受信側レジスタ103に供給さ
れる。この供給後に受信側レジスタ103に印加される
受信側クロックに応答して送信側レジスタ101の出力
に現れているデータ101Aが受信側レジスタ103に
セットされる。
The transmitted-side register valid flag 10
6 is a flip-flop circuit 1 in response to the sequential reception clock after the transmission register valid flag 106 is transmitted.
17 to 121 are sequentially set. Output signals of the flip-flop circuits 119 and 121 are supplied to an AND circuit 123. The receiving-side register set signal 124 is output from the AND circuit 123 and supplied to the receiving-side register 103. Data 101A appearing at the output of the transmitting register 101 is set in the receiving register 103 in response to the receiving clock applied to the receiving register 103 after the supply.

【0007】このデータが受信側レジスタ103にセッ
トされてしまうまでの時間を生成するのに、フリップフ
ロップ回路107〜113及びアンド回路115が設け
られており、送信側入力データの受信側レジスタ103
へのセット完了時に、アンド回路115から送信側レジ
スタリセット信号が出力されて送信側レジスタ有効フラ
グ回路105がリセットされる。送信側レジスタ有効フ
ラグ回路105から送信側レジスタ有効フラグが送出さ
れなくなると、データ送出源は、送信側レジスタ有効フ
ラグによりそれまで抑止されていたデータの送出が解除
されて次のデータの送出が開始される。
Flip-flop circuits 107 to 113 and an AND circuit 115 are provided to generate the time until this data is set in the reception-side register 103, and the reception-side register 103 of the transmission-side input data is provided.
Upon completion of the setting, the transmission-side register reset signal is output from the AND circuit 115, and the transmission-side register valid flag circuit 105 is reset. When the transmission-side register validity flag circuit 105 stops transmitting the transmission-side register validity flag, the data transmission source cancels the transmission of the data that has been suppressed by the transmission-side register validity flag and starts transmitting the next data. Is done.

【0008】上述した送信側入力データの受信側レジス
タ103へのセットと同時に、受信側レジスタセツト信
号124及び受信側クロックに応答する受信側出力デー
タ有効フラグ回路125はセットされ、受信側出力デー
タ有効フラグが受信側出力データ有効フラグ回路125
から送出される。送出された受信側出力データ有効フラ
グは、受信側レジスタ103にセットされたデータを受
信する受信処理部に供給される。そして、受信処理完了
後に、受信側出力データ有効フラグ回路125は、図示
しないデータ受信完了信号発生回路から転送されて来る
データ受信完了信号によってリセットされ、受信処理部
は次の受信データの受信待機に入る。
Simultaneously with the setting of the transmission-side input data in the reception-side register 103, the reception-side register set signal 124 and the reception-side output data valid flag circuit 125 responding to the reception-side clock are set, and the reception-side output data validity is set. The flag is the output data valid flag circuit 125 on the receiving side.
Sent from. The transmitted reception-side output data valid flag is supplied to the reception processing unit that receives the data set in the reception-side register 103. After the reception process is completed, the reception-side output data valid flag circuit 125 is reset by a data reception completion signal transferred from a data reception completion signal generation circuit (not shown), and the reception processing unit waits for reception of the next reception data. enter.

【0009】このような非同期系間データ転送回路とし
て、図12に示す回路が知られている。図11に示す非
同期系間データ転送回路100は、送信側レジスタリセ
ット信号を生成する信号源を送信側回路部分102に置
いた回路であるのに対して、図12に示す非同期系間デ
ータ転送回路200は、送信側レジスタリセット信号を
生成する信号源を受信側回路部分204に置いたハンド
シェイク方式の非同期系間データ転送回路であり、その
他の構成、動作は、図11に示す非同期系間データ転送
回路100とほぼ同じである。すなわち、送信側レジス
タリセット信号を生成するのに、受信側回路部分204
のフリップフロップ217の出力信号をフリップフロッ
プ207で受け取り、その信号を順次の送信側クロック
でフリップフロップ回路207〜211にセットさせ、
そして、アンド回路213でフリップフロップ209,
211の出力信号を受けて送信側レジスタリセット信号
を生成するようにした点に、図11に示す非同期系間デ
ータ転送回路100との大きな差違がある。
A circuit shown in FIG. 12 is known as such an asynchronous data transfer circuit. The asynchronous inter-system data transfer circuit 100 shown in FIG. 11 is a circuit in which a signal source for generating a transmission-side register reset signal is provided in the transmission-side circuit portion 102, whereas the asynchronous inter-system data transfer circuit shown in FIG. Reference numeral 200 denotes a handshake type asynchronous inter-system data transfer circuit in which a signal source for generating a transmitting-side register reset signal is placed in the receiving-side circuit portion 204. The other configuration and operation are the same as those shown in FIG. It is almost the same as the transfer circuit 100. That is, the generation of the transmission-side register reset signal requires the reception-side circuit portion 204
The output signal of the flip-flop 217 is received by the flip-flop 207, and the signal is set in the flip-flop circuits 207 to 211 with the sequential transmission side clock,
Then, the flip-flop 209,
There is a great difference from the asynchronous inter-system data transfer circuit 100 shown in FIG. 11 in that the transmission-side register reset signal is generated in response to the output signal of 211.

【0010】[0010]

【発明が解決しようとする課題】上述した非同期系間デ
ータ転送回路100では、フリップフロップ回路107
〜113及びアンド回路115により、また、非同期系
間データ転送回路200では、フリップフロップ回路2
07〜211及びアンド回路213により、送信側レジ
スタ101、201のデータが一定時間以上保持し続け
るように制御される。この送信側レジスタ101、20
1における一定時間以上のデータの保持は、送信側レジ
スタ101,201から受信側レジスタ103,203
へのデータの転送において、受信側レジスタ103,2
03のセットアップ時間及びホールド時間を満足し得な
いタイミングで送信側レジスタ101,203のデータ
が変化してしまうと、受信側レジスタ103,203に
セットされるデータの内容を保証し得なくなるので、送
信側レジスタ101,201から受信側レジスタ10
3,203へのデータの転送を正しくを行わせるために
為される回路動作である。
In the above-mentioned asynchronous inter-system data transfer circuit 100, the flip-flop circuit 107 is used.
And the AND circuit 115, and in the asynchronous intersystem data transfer circuit 200, the flip-flop circuit 2
07 to 211 and the AND circuit 213 are controlled so that the data in the transmission-side registers 101 and 201 is maintained for a certain period of time or longer. The transmission side registers 101 and 20
The data holding for a certain period of time or more is performed by the transmission side registers 101 and 201 from the reception side registers 103 and 203.
Transfer of data to the receiving side registers 103 and 2
If the data in the transmission-side registers 101 and 203 changes at a timing at which the setup time and the hold time of 03 cannot be satisfied, the contents of the data set in the reception-side registers 103 and 203 cannot be guaranteed. From the receiving side registers 101 and 201 to the receiving side register 10
This is a circuit operation performed in order to correctly transfer data to 3,203.

【0011】この回路動作によってデータが一定時間保
持し続けられる保持時間は、受信側レジスタの動作クロ
ックの周波数、受信側レジスタのセットアップ時間及び
ホールド時間、クロックスキュー等により予め決められ
る時間である。
The holding time during which data is held for a fixed time by this circuit operation is a time determined in advance by the frequency of the operating clock of the receiving register, the setup time and the holding time of the receiving register, clock skew, and the like.

【0012】ところで、データの送信側のクロック周波
数とそのデータの受信側のクロック周波数とが、固定さ
れていない場合、例えば、送信側において、データを送
出して来るデータ送出源のクロック周波数がシステムの
動作開始時等に変更される場合において、図11に示す
非同期系間データ転送回路100に係る技法を、そのま
ま、適用しようとすると、その送信側及び受信側のいず
れか一方又は双方のクロック周波数の変更乃至変化があ
る場合に、そのクロック周波数範囲内で、クロック周波
数がいかなる値を取ろうとも、上述した保持時間を確保
する必要性が生ずるが、これを担保しようとすると、或
るクロック周波数においては保持時間は適正であって
も、他のクロック周波数では送信側レジスタでデータを
保持する時間が必要以上に長くなってしまい、結果とし
て、データ転送性能を低下させてしまうという不都合が
生ずる。
When the clock frequency of the data transmission side and the clock frequency of the data reception side are not fixed, for example, the clock frequency of the data transmission source transmitting the data on the transmission side may be different from that of the system. If the technique according to the asynchronous inter-system data transfer circuit 100 shown in FIG. 11 is to be applied as it is when the operation is started at the start of the operation, the clock frequency of one or both of the transmission side and the reception side is changed. When there is a change or change in the clock frequency, no matter what value the clock frequency takes within the clock frequency range, it becomes necessary to secure the above-mentioned holding time. , The holding time is appropriate, but the time required to hold the data in the transmitting register at other clock frequencies is required It becomes long on top, as a result, occurs inconvenience that reduces the data transfer performance.

【0013】また、データの送信側のクロック周波数と
そのデータの受信側のクロック周波数とが、固定されて
いない場合において、図12に示す非同期系間データ転
送回路200に係る技法を、そのまま、適用しようとす
ると、任意のクロック周波数比で動作するレジスタ間で
のデータ転送を図11に示す非同期系間データ転送回路
に比べより確実に行うことが可能になるが、図11に示
す非同期系間データ転送回路100に比して、送信側レ
ジスタリセット信号の生成に要する時間が前述のデータ
の確実な転送の担保分だけ長くなるので、データ転送に
掛かる時間がそれだけ長くなり、結果として、データ転
送性能を低下させてしまうという不都合が生ずる。
When the clock frequency on the data transmission side and the clock frequency on the data reception side are not fixed, the technique relating to the asynchronous intersystem data transfer circuit 200 shown in FIG. If this is attempted, data transfer between registers operating at an arbitrary clock frequency ratio can be performed more reliably than the asynchronous inter-system data transfer circuit shown in FIG. As compared with the transfer circuit 100, the time required to generate the transmission-side register reset signal is increased by the amount of time required to ensure the transfer of the data, so that the time required for the data transfer is lengthened accordingly. Is disadvantageously reduced.

【0014】本発明は、斯かる技術的課題に鑑みてなさ
れたもので、データ送信装置のクロック周波数とデータ
受信装置のクロック周波数とが固定されない非同期系間
において正常なデータ転送を常に保証しつつ、データ転
送効率を向上させ得る非同期系間データ転送回路及び非
同期系間データ転送方法を提供することをその目的とす
る。
The present invention has been made in view of such technical problems, and always guarantees normal data transfer between asynchronous systems in which the clock frequency of a data transmitting device and the clock frequency of a data receiving device are not fixed. It is an object of the present invention to provide a data transfer circuit between asynchronous systems and a data transfer method between asynchronous systems which can improve data transfer efficiency.

【0015】[0015]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、第1のタイミングで送信動
作するデータ送信装置と該第1のタイミングと異なる第
2のタイミングで受信動作するデータ受信装置との間に
介挿され、上記データ送信装置から上記データ受信装置
へデータを転送単位毎に転送する非同期系間データ転送
回路に係り、上記データ送信装置から入力されたデータ
を転送単位で一時保持するデータ保持回路と、上記デー
タが上記データ保持回路に保持されるときの上記第1の
タイミングと所定の関係にあるタイミングでデータ保持
有効信号を出力すると共に、該データ保持有効信号を上
記データ送信装置へ供給して次のデータの転送を抑止
し、リセット信号が供給されたときデータ保持有効信号
の出力を停止する第1の回路と、該第1の回路の出力に
接続され、上記データ保持有効信号を受けて上記データ
保持有効信号の出力時刻から、上記タイミングを変更し
た場合に上記データが上記データ保持回路から上記デー
タ受信装置へ転送単位で正常に転送されてしまうまでの
所定の時間が経過した時刻に、上記変更したタイミング
対応のリセット信号を発生し、該リセット信号を上記第
1の回路に供給するリセット信号発生回路とを備え、上
記リセット信号の供給により、上記第1の回路から上記
データ保持有効信号の出力が停止したとき、上記抑止を
解除して次のデータを上記データ送信装置から上記デー
タ保持回路へ転送させることを特徴としている。
According to an aspect of the present invention, there is provided a data transmitting apparatus which operates to transmit at a first timing and receives at a second timing different from the first timing. An inter-asynchronous data transfer circuit that is interposed between an operating data receiving device and that transfers data from the data transmitting device to the data receiving device for each transfer unit, and that receives data input from the data transmitting device. A data holding circuit for temporarily holding the data in a transfer unit; outputting a data holding valid signal at a timing having a predetermined relationship with the first timing when the data is held in the data holding circuit; A signal is supplied to the data transmission device to suppress the transfer of the next data, and the output of the data holding valid signal is stopped when the reset signal is supplied. And when the timing is changed from the output time of the data holding valid signal upon receipt of the data holding valid signal, the data is transmitted from the data holding circuit to the data holding circuit. Generating a reset signal corresponding to the changed timing at a time when a predetermined time elapses until the data is normally transferred to the receiving device in a transfer unit, and generating a reset signal for supplying the reset signal to the first circuit; When the output of the data holding valid signal is stopped from the first circuit by the supply of the reset signal, the suppression is released and the next data is sent from the data transmitting device to the data holding circuit. It is characterized by being transferred.

【0016】請求項2記載の発明は、請求項1に記載の
非同期系間データ転送回路に係り、上記リセット信号発
生回路は、変更可能な上記第1のタイミング及び上記第
2のタイミングの対の各々に対応するリセット信号候補
を発生するリセット信号候補発生回路と、上記第1のタ
イミング及び上記第2のタイミングの各対に対応する選
択信号を出力する選択信号出力回路と、上記リセット信
号候補発生回路から出力されている上記各リセット信号
候補のうちから上記選択信号出力回路から出力された選
択信号に対応するリセット信号候補を選択してリセット
信号として出力する選択回路とで構成されることを特徴
としている。
According to a second aspect of the present invention, there is provided the asynchronous inter-system data transfer circuit according to the first aspect, wherein the reset signal generating circuit includes a pair of the first timing and the second timing which can be changed. A reset signal candidate generating circuit for generating a corresponding reset signal candidate; a select signal output circuit for outputting a select signal corresponding to each pair of the first timing and the second timing; A selection circuit that selects a reset signal candidate corresponding to the selection signal output from the selection signal output circuit from among the reset signal candidates output from the circuit, and outputs the selected reset signal as a reset signal. And

【0017】請求項3記載の発明は、請求項2に記載の
非同期系間データ転送回路に係り、上記リセット信号候
補発生回路及び上記選択回路は、固定の論理回路で構成
されていることを特徴としている。
According to a third aspect of the present invention, there is provided the data transfer circuit according to the second aspect, wherein the reset signal candidate generating circuit and the selecting circuit are constituted by fixed logic circuits. And

【0018】請求項4記載の発明は、請求項2に記載の
非同期系間データ転送回路に係り、上記リセット信号候
補発生回路及び上記選択回路は、構成データを格納する
構成データ格納手段と、該構成データ格納手段から読み
出された構成データ対応の論理を設定可能な回路とで構
成されていることを特徴としている。
According to a fourth aspect of the present invention, there is provided the data transfer circuit according to the second aspect of the present invention, wherein the reset signal candidate generating circuit and the selection circuit include configuration data storage means for storing configuration data; And a circuit capable of setting a logic corresponding to the configuration data read from the configuration data storage means.

【0019】請求項5は、請求項2、3又は4に記載の
非同期系間データ転送回路に係り、上記選択信号出力回
路は、データ送信装置のクロックの周波数とデータ受信
装置のクロックの周波数との比を検出し、検出された比
に対応する選択信号を上記選択回路へ供給する回路であ
ることを特徴としている。
According to a fifth aspect of the present invention, there is provided the data transfer circuit between asynchronous systems according to the second, third or fourth aspect, wherein the selection signal output circuit includes a clock frequency of the data transmission device and a clock frequency of the data reception device. , And supplies a selection signal corresponding to the detected ratio to the selection circuit.

【0020】請求項6記載の発明は、請求項2、3又は
4に記載の非同期系間データ転送回路に係り、上記選択
信号出力回路は、送信側バスに接続され規格変更信号を
出力するコントローラと、該コントローラから上記送信
側バスを経て供給された規格変更信号に対応する選択信
号を上記選択回路へ供給する回路とで構成されることを
特徴としている。
According to a sixth aspect of the present invention, there is provided the data transfer circuit according to the second, third or fourth aspect, wherein the selection signal output circuit is connected to a transmission side bus and outputs a standard change signal. And a circuit for supplying a selection signal corresponding to the standard change signal supplied from the controller via the transmission-side bus to the selection circuit.

【0021】請求項7記載の発明は、請求項2、3又は
4に記載の非同期系間データ転送回路に係り、上記選択
信号出力回路は、送信側バスに接続され動作モード信号
を出力するコントローラと、該コントローラから上記送
信側バスを経て供給された動作モード信号に対応する選
択信号を上記選択回路へ供給する回路とで構成されるこ
とを特徴としている。
The invention according to claim 7 relates to the data transfer circuit between asynchronous systems according to claim 2, 3 or 4, wherein the selection signal output circuit is connected to a transmission side bus and outputs an operation mode signal. And a circuit for supplying a selection signal corresponding to the operation mode signal supplied from the controller via the transmission-side bus to the selection circuit.

【0022】また、請求項8記載の発明は、請求項2、
3又は4に記載の非同期系間データ転送回路に係り、上
記選択信号出力回路は、切り換えにより出力されるリセ
ット信号を出力する切り換えスイッチであり、切り換え
スイッチの切り換えで出力される切り換え信号が選択信
号として上記選択回路へ供給されることを特徴としてい
る。
[0022] Further, the invention described in claim 8 is based on claim 2,
In the data transfer circuit between asynchronous systems according to 3 or 4, the selection signal output circuit is a changeover switch that outputs a reset signal output by switching, and the selection signal output by switching the changeover switch is a selection signal. Is supplied to the selection circuit.

【0023】請求項9記載の発明は、請求項1乃至8の
いずれか一に記載の非同期系間データ転送回路に係り、
上記第1の回路での上記データのセットは、上記データ
送信装置のクロックに基づいて行い、上記リセット信号
発生回路での上記リセット信号の発生は、上記データ送
信装置のクロックと上記データ送信装置のクロック及び
上記データ受信装置のクロックとのいずれか一方に基づ
いて行うことを特徴としている。
According to a ninth aspect of the present invention, there is provided an asynchronous inter-system data transfer circuit according to any one of the first to eighth aspects.
The setting of the data in the first circuit is performed based on the clock of the data transmission device, and the generation of the reset signal in the reset signal generation circuit is performed in accordance with the clock of the data transmission device and the clock of the data transmission device. The operation is performed based on one of a clock and a clock of the data receiving apparatus.

【0024】請求項10記載の発明は、請求項1記載の
非同期系間データ転送回路に係り、上記リセット信号発
生回路は、変更可能な上記第1のタイミングと上記第2
のタイミングとの対のうちの変更対象の対に対しては許
可信号を、変更非対象の対に対しては禁止信号を対対応
別の出力に発生する第1の信号発生回路と、該第1の信
号発生回路の各出力対応の入力を有すると共に、該入力
に対応するリセット信号出力を有し、上記第1の信号発
生回路から供給される禁止信号に対応するリセット信号
出力にはリセット信号を発生せず、上記第1の信号発生
回路から供給される許可信号に対応するリセット信号出
力にリセット信号を発生する第2信号発生回路と、該第
2の信号発生回路の各別の出力に接続され、発生された
リセット信号のみを出力する出力回路とから構成される
ことを特徴としている。
According to a tenth aspect of the present invention, there is provided the asynchronous inter-system data transfer circuit according to the first aspect, wherein the reset signal generating circuit is configured to control the changeable first timing and the second timing.
A first signal generation circuit that generates an enable signal for a pair to be changed among pairs of timings and a prohibition signal for a pair that is not to be changed, and outputs a prohibition signal for each pair. And a reset signal output corresponding to the inhibit signal supplied from the first signal generation circuit. And a second signal generation circuit for generating a reset signal at a reset signal output corresponding to the permission signal supplied from the first signal generation circuit, and a separate output of the second signal generation circuit. And an output circuit for outputting only the generated reset signal.

【0025】請求項11記載の発明は、請求項10に記
載の非同期系間データ転送回路に係り、上記第1の信号
発生回路は、データ送信装置のクロックの周波数とデー
タ受信装置のクロックの周波数との比を検出し、検出し
た該比が変更対象であるとき該変更対象に対応する出力
に許可信号を、検出した上記比が変更非対象であるとき
該変更非対象に対応する出力に禁止信号を発生すること
を特徴としている。
According to an eleventh aspect of the present invention, there is provided the inter-asynchronous data transfer circuit according to the tenth aspect, wherein the first signal generating circuit includes a clock frequency of the data transmitting device and a clock frequency of the data receiving device. When the detected ratio is a change target, an enable signal is output to the output corresponding to the change target, and when the detected ratio is a change non-target, the enable signal is prohibited to the output corresponding to the change non-target. It is characterized by generating a signal.

【0026】請求項12記載の発明は、請求項10に記
載の非同期系間データ転送回路に係り、上記第1の信号
発生回路は、送信側バスに接続され規格変更信号を出力
するコントローラと上記送信側バスに接続される信号変
換回路とで構成され、該コントローラから出力された規
格変更信号が変更対象であるとき上記信号変換回路は、
変更対象に対応する出力に許可信号を、上記規格変更信
号が変更非対象であるとき上記信号変換回路は、変更非
対象に対応する出力に禁止信号を出力することを特徴と
している。
According to a twelfth aspect of the present invention, there is provided the data transfer circuit according to the tenth aspect, wherein the first signal generation circuit is connected to a transmission-side bus and outputs a standard change signal. A signal conversion circuit connected to the transmission-side bus, and when the standard change signal output from the controller is to be changed, the signal conversion circuit
The signal conversion circuit outputs a permission signal to an output corresponding to the change target, and outputs a prohibition signal to an output corresponding to the non-change target when the standard change signal is non-change target.

【0027】請求項13記載の発明は、請求項10に記
載の非同期系間データ転送回路に係り、上記第1の信号
発生回路は、送信側バスに接続され動作モード信号を出
力するコントローラ及び上記送信側バスに接続される信
号変換回路から構成され、該コントローラから出力され
た規格変更信号が変更対象であるとき上記信号変換回路
は、変更対象に対応する出力に許可信号を、上記規格変
更信号が変更対象でないとき上記信号変換回路は、変更
非対象に対応する出力に禁止信号を出力することを特徴
としている。
According to a thirteenth aspect of the present invention, there is provided the data transfer circuit according to the tenth aspect, wherein the first signal generation circuit is connected to a transmission side bus and outputs an operation mode signal. A signal conversion circuit connected to the transmission side bus, wherein when the standard change signal output from the controller is a change target, the signal conversion circuit outputs a permission signal to an output corresponding to the change target, and the standard change signal The signal conversion circuit outputs a prohibition signal to an output corresponding to a non-change target when is not a change target.

【0028】請求項14記載の発明は、請求項10に記
載の非同期系間データ転送回路に係り、上記第1の信号
発生回路は、切り換えにより出力されるリセット信号を
出力する切り換えスイッチであり、該切り換えスイッチ
の変更対象に対応する出力に許可信号が出力され、上記
切り換えスイッチの変更非対象に対応する出力に禁止信
号が出力されることを特徴としている。
According to a fourteenth aspect of the present invention, there is provided the data transfer circuit according to the tenth aspect, wherein the first signal generating circuit is a changeover switch for outputting a reset signal output by switching. An enable signal is output to an output corresponding to a change target of the changeover switch, and a prohibition signal is output to an output corresponding to a nonchangeable change of the changeover switch.

【0029】請求項15記載の発明は、請求項10乃至
14のいずれか一に記載の非同期系間データ転送回路に
係り、上記第2の信号発生回路及び上記出力回路は、固
定の論理回路で構成されることを特徴としている。
The invention according to claim 15 relates to the data transfer circuit between asynchronous systems according to any one of claims 10 to 14, wherein the second signal generation circuit and the output circuit are fixed logic circuits. It is characterized by being composed.

【0030】請求項16記載の発明は、請求項10乃至
14のいずれか一に記載の非同期系間データ転送回路に
係り、上記第2の信号発生回路及び上記出力回路は、構
成データを格納する構成データ格納手段と、該構成デー
タ格納手段から読み出された構成データ対応の論理を設
定可能な回路とで構成されることを特徴としている。
According to a sixteenth aspect of the present invention, there is provided the data transfer circuit according to any one of the tenth to fourteenth aspects, wherein the second signal generating circuit and the output circuit store configuration data. It is characterized by comprising a configuration data storage means and a circuit capable of setting a logic corresponding to the configuration data read from the configuration data storage means.

【0031】請求項17記載まの発明は、請求項1、1
0乃至16のいずれか一に記載の非同期系間データ転送
回路に係り、上記第1の回路での上記データのセット
は、上記データ送信装置のクロックに基づいて行い、上
記リセット信号発生回路での上記リセット信号の発生
は、上記データ送信装置のクロックと上記データ送信装
置のクロック及び上記データ受信装置のクロックとのい
ずれか一方に基づいて行うことを特徴としている。
The invention as defined in claim 17 is based on claims 1 and 1
In the data transfer circuit between asynchronous systems according to any one of 0 to 16, the setting of the data in the first circuit is performed based on a clock of the data transmission device, and the setting of the data in the reset signal generation circuit is performed. The generation of the reset signal is performed based on one of a clock of the data transmission device, a clock of the data transmission device, and a clock of the data reception device.

【0032】請求項18記載の発明は、所定の第1のタ
イミングで送信動作するデータ送信装置から該第1のタ
イミングと異なる第2のタイミングで受信動作するデー
タ受信装置へデータを転送単位毎に転送しようとする際
に、転送しようとするデータが上記データ送信装置のデ
ータ送出手段から上記データ送信装置のデータ保持手段
に保持されたとき、当該データが上記データ保持手段か
ら上記データ受信装置へ転送単位で正常に転送されてし
まうまでの所定の時間の間、上記データ送出手段から上
記データ保持手段への次のデータの転送を抑止し、上記
所要の時間の経過時に、上記抑止を解除し、上記抑止が
解除されたとき、上記次のデータを上記データ送出手段
から上記データ保持手段に転送単位で保持させて上記次
のデータの転送を開始させる非同期系間データ転送方法
に係り、上記タイミングを変更した場合に、上記所定の
時間を変更した上記タイミングに対応した時間に変更
し、変更された時間の経過時に上記抑止を解除して上記
次のデータを上記データ送出手段から上記データ保持手
段に転送単位で保持させて上記データ送信装置から上記
データ受信装置へデータを転送単位で転送することを特
徴としている。
According to the present invention, the data is transmitted for each transfer unit from the data transmitting apparatus which performs the transmitting operation at the predetermined first timing to the data receiving apparatus which performs the receiving operation at the second timing different from the first timing. When the data to be transferred is held in the data holding means of the data transmitting device from the data sending means of the data sending device, the data is transferred from the data holding means to the data receiving device. During a predetermined time until the data is normally transferred in units, the transfer of the next data from the data sending means to the data holding means is suppressed, and when the required time has elapsed, the suppression is released, When the inhibition is released, the next data is transmitted from the data transmission means to the data holding means in a transfer unit, and the next data is transferred. According to the asynchronous inter-system data transfer method to be started, when the timing is changed, the predetermined time is changed to a time corresponding to the changed timing, and the inhibition is released when the changed time elapses. The next data is transmitted from the data transmitting device to the data receiving device in units of transfer by causing the data transmitting unit to store the next data in the data holding unit.

【0033】[0033]

【発明の実施の形態】以下、図面を参照して、この発明
の実施の形態について説明する。説明は、実施例を用い
て具体的に行う。 ◇第1実施例 図1は、この発明の第1実施例である非同期系間データ
転送回路の構成図、図2は、同非同期系間データ転送回
路を有して構成されるコンピュータシステムのPCIバ
スブリッジ回路の概略構成図、図3は、送受信のクロッ
ク周波数比が予め決められた値である場合の同非同期系
間データ転送回路の動作タイミングチャート、図4は、
図3に示す動作タイミングチャートにおける送信側クロ
ックの周波数を2分の1にした場合の同非同期系間デー
タ転送回路の動作タイミングチャート、また、図5は、
図4の動作タイミングにおいて、図4とは異なる送信側
レジスタリセット信号の選択を示す動作タイミングチャ
ートである。
Embodiments of the present invention will be described below with reference to the drawings. The description will be specifically made using an embodiment. FIG. 1 is a block diagram of a data transfer circuit between asynchronous systems according to a first embodiment of the present invention, and FIG. 2 is a diagram showing a PCI of a computer system having the data transfer circuit between asynchronous systems. FIG. 3 is a schematic configuration diagram of the bus bridge circuit, FIG. 3 is an operation timing chart of the asynchronous inter-system data transfer circuit when the transmission / reception clock frequency ratio is a predetermined value, and FIG.
FIG. 5 is an operation timing chart of the asynchronous inter-system data transfer circuit when the frequency of the transmission-side clock in the operation timing chart shown in FIG.
5 is an operation timing chart showing selection of a transmission-side register reset signal different from that of FIG. 4 at the operation timing of FIG. 4.

【0034】この実施例の非同期系間データ転送回路1
0は、送信側のクロック周波数と受信側のクロック周波
数とが固定されない場合であって、両クロック周波数比
が5つある場合のバスブリッジ回路において、正常なデ
ータ転送を常に保証しつつ、データ転送効率を向上させ
ることのできる回路に係り、この回路の送信側回路部分
12は、送信側レジスタ14と、送信側レジスタ有効フ
ラグ回路(フリップフロップ回路(FF))16と、フ
リップフロップ回路18〜24と、アンド回路26〜3
2と、フリップフロップ回路34〜38と、アンド回路
40と、セレクタ42とで構成され、その受信側回路部
分52は、受信側レジスタ54と、フリップフロップ回
路56〜60と、アンド回路62と、受信側出力データ
有効フラグ回路(フリップフロップ回路(FF))64
とで構成されている。
Asynchronous data transfer circuit 1 of this embodiment
0 is a case where the clock frequency of the transmitting side and the clock frequency of the receiving side are not fixed, and in the bus bridge circuit where the ratio of both clock frequencies is five, the data transfer is always performed while the normal data transfer is guaranteed. According to a circuit capable of improving the efficiency, a transmission side circuit portion 12 of the circuit includes a transmission side register 14, a transmission side register valid flag circuit (flip-flop circuit (FF)) 16, and flip-flop circuits 18 to 24. And AND circuits 26-3
2, a flip-flop circuit 34 to 38, an AND circuit 40, and a selector 42, and the receiving circuit portion 52 includes a receiving register 54, flip-flop circuits 56 to 60, an AND circuit 62, Reception-side output data valid flag circuit (flip-flop circuit (FF)) 64
It is composed of

【0035】送信側回路部分12のフリップフロップ回
路18は、送信側レジスタ有効フラグ回路16の出力に
接続され、フリップフロップ回路18〜24は、この順
に直列接続され、送信側レジスタ有効フラグを順次の送
信側クロックに応答して順次セットする。送信側クロッ
クは、PCIバス72(図2)からPCIバスインタフ
ェース部78を経てデータ転送部82に転送されて来て
非同期系間データ転送回路10に供給される。
The flip-flop circuit 18 of the transmission-side circuit portion 12 is connected to the output of the transmission-side register valid flag circuit 16, and the flip-flop circuits 18 to 24 are connected in series in this order to sequentially transmit the transmission-side register valid flag. Set sequentially in response to the transmitting clock. The transmission side clock is transferred from the PCI bus 72 (FIG. 2) to the data transfer unit 82 via the PCI bus interface unit 78, and is supplied to the asynchronous intersystem data transfer circuit 10.

【0036】また、受信側回路部分52のフリップフロ
ップ回路56は、送信側レジスタ有効フラグ回路16の
出力に接続され、フリップフロップ回路56〜60は、
この順に直列接続され、送信側レジスタ有効フラグ回路
16から出力される送信側レジスタ有効フラグを順次の
受信側クロックに応答して順次セットする。受信側クロ
ックは、ローカルバス74(図2)からローカルバスイ
ンタフェース部84を経てデータ転送部82に転送され
て来て非同期系間データ転送回路10に供給される。
The flip-flop circuit 56 of the reception-side circuit portion 52 is connected to the output of the transmission-side register valid flag circuit 16, and the flip-flop circuits 56 to 60
The transmission-side register validity flags output from the transmission-side register validity flag circuit 16 are serially connected in this order, and are sequentially set in response to successive reception-side clocks. The receiving clock is transferred from the local bus 74 (FIG. 2) to the data transfer unit 82 via the local bus interface unit 84, and is supplied to the asynchronous intersystem data transfer circuit 10.

【0037】アンド回路26は、送信側レジスタ有効フ
ラグ回路16から出力された送信側レジスタ有効フラグ
とフリップフロップ回路18の出力信号とをその入力に
受信してその出力信号を第1の送信側レジスタリセット
信号27としてセレクタ42に供給する。アンド回路2
8は、フリップフロップ回路18の出力信号とフリップ
フロップ回路20の出力信号とをその入力に受信してそ
の出力信号を第2の送信側レジスタリセット信号29と
してセレクタ42に供給する。アンド回路30は、フリ
ップフロップ回路20の出力信号とフリップフロップ回
路22の出力信号とをその入力に受信してその出力信号
を第3の送信側ジスタリセット信号31としてセレクタ
42に供給する。アンド回路32は、フリップフロップ
回路22の出力信号とフリップフロップ回路24の出力
信号とをその入力に受信してその出力信号を第4の送信
側レジスタリセット信号33としてセレクタ42に供給
する。
The AND circuit 26 receives the transmission-side register validity flag output from the transmission-side register validity flag circuit 16 and the output signal of the flip-flop circuit 18 at its inputs, and outputs the output signal to the first transmission-side register. The reset signal 27 is supplied to the selector 42. AND circuit 2
8 receives the output signal of the flip-flop circuit 18 and the output signal of the flip-flop circuit 20 at its input, and supplies the output signal to the selector 42 as a second transmission-side register reset signal 29. The AND circuit 30 receives the output signal of the flip-flop circuit 20 and the output signal of the flip-flop circuit 22 at its inputs, and supplies the output signal to the selector 42 as the third transmission-side register reset signal 31. The AND circuit 32 receives the output signal of the flip-flop circuit 22 and the output signal of the flip-flop circuit 24 at its inputs, and supplies the output signal to the selector 42 as a fourth transmission-side register reset signal 33.

【0038】フリップフロップ回路34は、フリップフ
ロップ56の出力に接続され、フリップフロップ回路3
4〜38は、この順に直列接続され、受信側回路部分5
2のフリップフロップ回路58の出力信号を順次の送信
側クロックに応答して順次セットする。アンド回路40
は、フリップフロップ回路36の出力信号とフリップフ
ロップ回路38の出力信号とをその入力に受信してその
出力信号を第5の送信側レジスタリセット信号41とし
てセレクタ42に供給する。
The flip-flop circuit 34 is connected to the output of the flip-flop 56,
4 to 38 are connected in series in this order,
The output signals of the two flip-flop circuits 58 are sequentially set in response to the sequential transmission side clocks. AND circuit 40
Receives the output signal of the flip-flop circuit 36 and the output signal of the flip-flop circuit 38 at its input, and supplies the output signal to the selector 42 as a fifth transmission-side register reset signal 41.

【0039】セレクタ42は、クロック比検出回路66
から出力されるセレクト信号をその選択入力に受け取
る。クロック比検出回路66は、送信側のクロック周波
数と受信側のクロック周波数との比に応じて5つのセレ
クト信号のうちの、送信側のクロック周波数と受信側の
クロック周波数との比に応じて決まるいずれか1つのセ
レクト信号を出力する。したがって、セレクタ42は、
供給されるセレクト信号に応じてアンド回路26〜アン
ド回路40の各々から出力される送信側レジスタリセッ
ト信号のうちのいずれかを選択して選択した送信側レジ
スタリセット信号を送信側レジスタ有効フラグ回路16
に供給する。
The selector 42 includes a clock ratio detection circuit 66
Receives the select signal output from the select input. The clock ratio detection circuit 66 is determined according to the ratio between the clock frequency on the transmission side and the clock frequency on the reception side among the five select signals according to the ratio between the clock frequency on the transmission side and the clock frequency on the reception side. One of the select signals is output. Therefore, the selector 42
In response to the supplied select signal, one of the transmission-side register reset signals output from each of the AND circuits 26 to 40 is selected and the selected transmission-side register reset signal is transmitted to the transmission-side register valid flag circuit 16.
To supply.

【0040】アンド回路62は、フリップフロップ回路
58の出力信号とフリップフロップ回路60の出力信号
とをその入力に受信してその出力信号、すなわち、受信
側レジスタセット信号63を受信側レジスタ54及び受
信側出力データ有効フラグ回路64のセット入力に供給
する。受信側出力データ有効フラグ回路64は、そのセ
ット入力に受信側レジスタセット信号を受け取った後の
受信側クロックに応答してセットされて受信側出力デー
タ有効フラグをその出力に送出し、図示しないデータ受
信完了信号発生回路から出力されるデータ受信完了信号
をそのリセット入力に受け取った後の受信側クロックに
応答してリセットされる。
The AND circuit 62 receives the output signal of the flip-flop circuit 58 and the output signal of the flip-flop circuit 60 at its input, and outputs the output signal, that is, the receiving register set signal 63 to the receiving register 54 and the receiving register 54. It is supplied to the set input of the side output data valid flag circuit 64. The receiving-side output data valid flag circuit 64 is set in response to the receiving-side clock after receiving the receiving-side register set signal at its set input, and sends out the receiving-side output data valid flag to its output. The data reception completion signal output from the reception completion signal generation circuit is reset in response to a receiving clock after receiving the data reception completion signal at its reset input.

【0041】図1に示す非同期系間データ転送回路10
を用いるコンピュータシステムについて、図2を参照し
て説明する。図2は、コンピュータシステム内のPCI
バス72(「従来の技術」の項で説明した周辺バス相
当。以下、中央処理装置がPCIバス72に接続される
ことも含めてPCIバス等ともいう。)とローカルバス
74(以下、周辺装置がローカルバス74接続されるこ
とも含めてローカルバス等ともいう。)との間でのデー
タ、アドレス、制御信号等の転送を制御するPCIバス
ブリッジ回路76を示し、このPCIバスブリッジ回路
76内に非同期系間データ転送回路10が設けられる。
The asynchronous data transfer circuit 10 shown in FIG.
Will be described with reference to FIG. FIG. 2 illustrates the PCI in the computer system.
A bus 72 (corresponding to the peripheral bus described in the section of "Prior Art"; hereinafter, also referred to as a PCI bus or the like including connection of the central processing unit to the PCI bus 72) and a local bus 74 (hereinafter, peripheral device). Is also referred to as a local bus including the connection to the local bus 74.) A PCI bus bridge circuit 76 for controlling the transfer of data, addresses, control signals, and the like to and from the local bus 74 is shown. Is provided with an asynchronous data transfer circuit 10.

【0042】図2のPCIバスブリッジ回路76は、P
CIバス72(「従来の技術」の項で述べた周辺バスに
相当)に接続されるPCIバスインタフェース部78
と、PCIバスインタフェース部78に接続されるPC
Iレジスタ80と、PCIバスインタフェース部78に
接続されるデータ転送部82と、データ転送部82に接
続されるローカルバスインタフェース部84と、ローカ
ルバスインタフェース部84に接続されるローカルバス
レジスタ86とから構成される。
The PCI bus bridge circuit 76 shown in FIG.
PCI bus interface unit 78 connected to CI bus 72 (corresponding to the peripheral bus described in the section of "prior art")
And a PC connected to the PCI bus interface unit 78
An I register 80, a data transfer unit 82 connected to the PCI bus interface unit 78, a local bus interface unit 84 connected to the data transfer unit 82, and a local bus register 86 connected to the local bus interface unit 84. Be composed.

【0043】PCIバスインタフェース部76は、PC
Iバス72とPCIバスブリッジ回路76との間のイン
タフェースを取る回路であり、PCIバス72との間の
バストランザクション発行制御、バストランザクション
受信制御、データ送出制御、データ受信制御等を実行す
る。PCIレジスタ80は、PCIバス72への読み出
し及びPCIバス72からの書き込みが可能なレジスタ
群であり、PCIバスデバイスとしての設定情報等を格
納する。
The PCI bus interface unit 76 includes a PC
This circuit takes an interface between the I bus 72 and the PCI bus bridge circuit 76, and executes bus transaction issue control, bus transaction reception control, data transmission control, data reception control, and the like with the PCI bus 72. The PCI register 80 is a group of registers that can read from and write to the PCI bus 72, and stores setting information and the like as a PCI bus device.

【0044】ローカルバスインタフェース部84は、ロ
ーカルバス74への読み出し及びローカルバス74から
の書き込みが可能なレジスタ群であり、ローカルバスデ
バイスとしての設定情報等を格納する。
The local bus interface 84 is a group of registers that can read from and write to the local bus 74, and stores setting information and the like as a local bus device.

【0045】データ転送部82は、PCIバスインタフ
ェース部78とローカルバスインタフェース部84との
間で相互にデータ転送を行うための回路であり、その内
部に図1に示す非同期系間データ転送回路10が設けら
れる。この非同期系間データ転送回路10に、バスクロ
ック比検出回路66が接続されている。バスクロック比
検出回路66は、PCIバス72を動作させるクロック
の周波数とローカルバス74を動作させるクロックの周
波数との比を検出し、検出されたクロック周波数比に応
じたセレクト信号を非同期転送回路10のセレクタ42
(図1)へ供給する回路である。
The data transfer section 82 is a circuit for mutually transferring data between the PCI bus interface section 78 and the local bus interface section 84. The data transfer section 82 has therein the asynchronous inter-system data transfer circuit 10 shown in FIG. Is provided. A bus clock ratio detection circuit 66 is connected to the asynchronous intersystem data transfer circuit 10. The bus clock ratio detecting circuit 66 detects the ratio between the frequency of the clock for operating the PCI bus 72 and the frequency of the clock for operating the local bus 74, and outputs a select signal corresponding to the detected clock frequency ratio to the asynchronous transfer circuit 10. Selector 42
(FIG. 1).

【0046】次に、図1乃至図5を参照して、この実施
例の動作を説明する。図2のPCIバス72からローカ
ルバス74へのデータ転送が行われるとき、従来と同様
にして、PCIバスインタフェース部78からデータ転
送部82に上記データ転送についての制御が掛かり、デ
ータ転送部82内の図示しないデータ送出要求信号出力
部から出力されたデータ送信要求信号Rが、図1の非同
期系間データ転送回路10の送信側レジスタ14のデー
タセット入力及び送信側レジスタ有効フラグ回路16の
フラグセット入力に入力される(図3の(c))と共
に、送信側入力データDが送信側レジスタ14のデータ
入力に入力される。これらの入力時の送信側クロックC
LKA(図3の(b))が送信側レジスタ14のクロッ
ク入力に入力されると、その立ち上がりに応答して送信
側入力データDが送信側レジスタ14にセットされる
(図3の(d))。なお、図3の(a)は、図3の動作
タイミングチャート全体の時間軸上の目盛りを示す。
Next, the operation of this embodiment will be described with reference to FIGS. When data transfer from the PCI bus 72 to the local bus 74 in FIG. 2 is performed, control of the data transfer is applied from the PCI bus interface unit 78 to the data transfer unit 82 in the same manner as in the related art. A data transmission request signal R output from a data transmission request signal output unit (not shown) is used to input a data set to the transmission register 14 of the asynchronous inter-system data transfer circuit 10 of FIG. At the same time as input ((c) in FIG. 3), the transmission-side input data D is input to the data input of the transmission-side register 14. The transmitting clock C at the time of these inputs
When LKA ((b) in FIG. 3) is input to the clock input of the transmission-side register 14, the transmission-side input data D is set in the transmission-side register 14 in response to the rising edge ((d) in FIG. 3). ). FIG. 3A shows a scale on the time axis of the entire operation timing chart of FIG.

【0047】この送信側入力データDの送信側レジスタ
14へのセットと同時に、送信側レジスタ有効フラグ回
路16がセットされてその出力から送信側レジスタ有効
フラグが送出される(図3の(e))。この送信側レジ
スタ有効フラグは、また、データ送信抑止信号Iとし
て、非同期系間データ転送回路10からデータ転送部8
2の対応回路部分、PCIバスインタフェース部78、
PCIバス72を経てデータ送出源(図示せず)へ供給
される。この供給により、送信側レジスタ有効フラグが
リセットされるまで、次のデータのデータ送出源からの
送出は抑止される。
At the same time that the transmission-side input data D is set in the transmission-side register 14, the transmission-side register valid flag circuit 16 is set, and the transmission-side register valid flag is transmitted from its output (FIG. 3 (e)). ). The transmission-side register valid flag is also transmitted as a data transmission inhibition signal I from the asynchronous inter-system data transfer circuit 10 to the data transfer unit 8.
2, a PCI bus interface unit 78,
The data is supplied to a data transmission source (not shown) via the PCI bus 72. By this supply, transmission of the next data from the data transmission source is suppressed until the transmission side register valid flag is reset.

【0048】その送信側レジスタ有効フラグは、送信側
回路部分12のフリップフロップ回路18及び受信側回
路部分52のフリップフロップ回路56のセット入力に
供給される。フリップフロップ回路18のセット入力に
供給された送信側レジスタ有効フラグは、順次の送信側
クロックCLKAの立ち上がりによってフリップフロッ
プ回路18〜24に順次セットされる(図3の(f)〜
(i))。また、フリップフロップ56のセット入力に
供給された送信側レジスタ有効フラグは、順次の受信側
クロックCLKB(図3の(w))の立ち上がりによっ
てフリップフロップ回路56〜60に順次セットされる
(図3の(n)〜(p))。フリップフロップ回路58
の出力信号は、順次の送信側クロックの立ち上がりによ
ってフリップフロップ回路34〜38に順次にセットさ
れる(図3の(r)〜(t))。
The transmission-side register valid flag is supplied to the set inputs of the flip-flop circuit 18 of the transmission-side circuit portion 12 and the flip-flop circuit 56 of the reception-side circuit portion 52. The transmission-side register valid flag supplied to the set input of the flip-flop circuit 18 is sequentially set in the flip-flop circuits 18 to 24 by the successive rise of the transmission-side clock CLKA ((f) to (f) in FIG. 3).
(I)). Further, the transmission-side register valid flag supplied to the set input of the flip-flop 56 is sequentially set in the flip-flop circuits 56 to 60 by the successive rising of the reception-side clock CLKB ((w) in FIG. 3) (FIG. 3). (N) to (p)). Flip-flop circuit 58
Are sequentially set in the flip-flop circuits 34 to 38 at the successive rise of the transmission side clock ((r) to (t) in FIG. 3).

【0049】このようにして各フリップフロップ回路が
セットされて行くとき、先ず、送信側レジスタ有効フラ
グ回路16から出力された送信側レジスタ有効フラグと
フリップフロップ回路18の出力信号とが供給されるア
ンド回路26が、第1の送信側レジスタリセット信号2
7を出力してこの信号をセレクタ42に供給し、この供
給後の順次の送信側クロックCLKA毎に、フリップフ
ロップ回路18の出力信号とフリップフロップ回路20
の出力信号とが供給されるアンド回路28が第2の送信
側レジスタリセット信号29を、フリップフロップ回路
20の出力信号とフリップフロップ回路22の出力信号
とが供給されるアンド回路30が第3の送信側レジスタ
リセット信号31を、そしてフリップフロップ回路22
の出力信号とフリップフロップ回路24の出力信号とが
供給されるアンド回路32が第4の送信側レジスタリセ
ット信号33を順次セレクタ42に供給する(図3の
(j)〜(m))。
When each flip-flop circuit is set in this way, first, the transmission register valid flag output from the transmission register valid flag circuit 16 and the output signal of the flip-flop circuit 18 are supplied. The circuit 26 receives the first transmission-side register reset signal 2
7 and supplies this signal to the selector 42. The output signal of the flip-flop circuit 18 and the flip-flop circuit 20
The AND circuit 28 to which the output signal of the flip-flop circuit 20 and the output signal of the flip-flop circuit 22 are supplied, and the AND circuit 28 to which the output signal of The transmission-side register reset signal 31 and the flip-flop circuit 22
And the output signal of the flip-flop circuit 24 are supplied to the AND circuit 32 to sequentially supply the fourth transmission-side register reset signal 33 to the selector 42 ((j) to (m) in FIG. 3).

【0050】また、受信側回路部分52においては、フ
リップフロップ回路56が、送信側レジスタ有効フラグ
回路16から送信側レジスタ有効フラグが出力された直
後の受信側クロックの立ち上がりに応答してセットされ
(図3の(n)、このセットに続く順次の受信側クロッ
クCLKBの立ち上がりに応答してフリップフロップ回
路58,60がセットされる(図3の(o),
(p))。
In the receiving circuit portion 52, the flip-flop circuit 56 is set in response to the rise of the receiving clock immediately after the transmitting register valid flag is output from the transmitting register valid flag circuit 16 ( In FIG. 3 (n), the flip-flop circuits 58 and 60 are set in response to the successive rise of the receiving clock CLKB following this set ((o) in FIG. 3).
(P)).

【0051】フリップフロップ回路58のセット出力信
号は、このセット直後に続く順次の送信側クロックCL
KAの立ち上がりに応答してフリップフロップ回路3
4,36,38がセットされ(図3の(r)〜
(t))、フリップフロップ回路36の出力信号とフリ
ップフロップ回路38の出力信号とが供給されるアンド
回路40が第5のジスタリセット信号41をセレクタ4
2に供給する(図3の(u))。
The set output signal of the flip-flop circuit 58 is a sequential transmission-side clock CL immediately following this set.
Flip-flop circuit 3 in response to rising of KA
4, 36, 38 are set ((r) of FIG. 3)
(T)) The AND circuit 40 to which the output signal of the flip-flop circuit 36 and the output signal of the flip-flop circuit 38 are supplied outputs the fifth register reset signal 41 to the selector 4.
2 ((u) in FIG. 3).

【0052】フリップフロップ回路58の出力信号とフ
リップフロップ回路60の出力信号とが供給されるアン
ド回路62は、受信側レジスタセット信号63を受信側
レジスタ54のセット入力に供給し(図3の(q))、
この供給後に供給される受信側クロックCLKBの立ち
上がりに応答した受信側レジスタ54は、送信側レジス
タ14から出力されているデータをセットする同時に
(図3の(v))、受信側出力データ有効フラグ回路6
4がセットされ、受信側出力データ有効フラグが受信側
出力データ有効フラグ回路64から出力される。そし
て、受信側出力データ有効フラグの供給を受けたデータ
転送部82(図2)内の図示しないデータ受信処理部
が、受信側レジスタ54の受信処理を完了したとき、デ
ータ受信完了信号発生回路が、データ受信完了信号を受
信側出力データ有効フラグ回路64に対して送出する。
The AND circuit 62 to which the output signal of the flip-flop circuit 58 and the output signal of the flip-flop circuit 60 are supplied supplies the receiving-side register set signal 63 to the set input of the receiving-side register 54 (see FIG. q)),
The receiving register 54 responding to the rise of the receiving clock CLKB supplied after the supply sets the data output from the transmitting register 14 ((v) in FIG. 3) and simultaneously sets the receiving output data valid flag. Circuit 6
4 is set, and the receiving-side output data valid flag circuit 64 outputs the receiving-side output data valid flag. When the data reception processing unit (not shown) in the data transfer unit 82 (FIG. 2) that has received the reception-side output data valid flag completes the reception processing of the reception-side register 54, the data reception completion signal generation circuit , And sends a data reception completion signal to the reception side output data valid flag circuit 64.

【0053】このような送信側回路部分12及び受信側
回路部分52の動作中に、バスクロック比検出回路66
は、PCIバス27の送信側クロックCLKAの周波数
とローカルバス74の受信側クロックCLKBの周波数
との比を検出しその検出信号をセレクタ信号としてて非
同期系間データ転送回路10のセレクタ42に供給す
る。セレクタ信号は、この実施例では、第1の送信側レ
ジスタリセット信号27〜第5の送信側レジスタリセッ
ト信号41のうちのいずれかの信号を選択する信号とな
る。
During the operation of the transmission side circuit section 12 and the reception side circuit section 52, the bus clock ratio detection circuit 66
Detects the ratio between the frequency of the transmission clock CLKA of the PCI bus 27 and the frequency of the reception clock CLKB of the local bus 74, and supplies the detection signal as a selector signal to the selector 42 of the asynchronous intersystem data transfer circuit 10. . In this embodiment, the selector signal is a signal for selecting any one of the first transmission-side register reset signal 27 to the fifth transmission-side register reset signal 41.

【0054】この第1の送信側レジスタリセット信号2
7〜第5の送信側レジスタリセット信号41のうちのい
ずれの信号を選択するかの基準は、送信側レジスタ14
から受信側レジスタ54へのデータ転送が正常に行われ
るのに十分な時間の間送信側レジスタ14に当該データ
の保持を継続し、かつ、当該データを受信側レジスタ5
4に正常にセットし得る時間的許容範囲内の、最も早い
時刻に送信側レジスタ有効フラグ回路16をリセットし
得るような送信側レジスタリセット信号を選択する如き
ものである。
This first transmission side register reset signal 2
The criterion for selecting any one of the seventh to fifth transmission-side register reset signals 41 is based on the transmission-side register 14.
, The transmission-side register 14 keeps holding the data for a time sufficient for data transfer to the reception-side register 54 to be performed normally, and stores the data in the reception-side register 5.
A transmission-side register reset signal that can reset the transmission-side register valid flag circuit 16 at the earliest time within a time allowable range that can be normally set to 4 is selected.

【0055】送信側レジスタ14から受信側レジスタ5
2への正常なデータ転送を行うのに、送信側レジスタ1
4にデータをセットしてからこのデータを有効なデータ
として保持しつづけなければならない時間の長さを定め
る代表的な基準は、送信側クロック及び受信側クロック
の周波数比、送信側回路部分12及び受信側回路部分5
2の回路の構成素子の特性等によって決まる。
The transmission side register 14 to the reception side register 5
In order to perform a normal data transfer to the transmission-side register 1,
A typical criterion for determining the length of time that the data must be kept as valid data after setting the data in the transmitter 4 is the frequency ratio between the transmitting clock and the receiving clock, the transmitting circuit portion 12 and Receiving side circuit part 5
It depends on the characteristics of the constituent elements of the two circuits.

【0056】例えば、図3に示すように、上記代表的な
基準に従って、送信側レジスタ14にデータをセットし
てから受信側クロックを2サイクル以上を保持し続けな
ければならないとする場合には、送信側レジスタ有効フ
ラグ回路16にセットされた送信側レジスタ有効フラグ
を保持し続け得る送信側レジスタリセット信号として、
第1の送信側レジスタリセット信号〜第5の送信側レジ
スタリセット信号のうちの、最も早い時刻に有効となる
第4の送信側レジスタリセット信号が選択される。
For example, as shown in FIG. 3, when it is necessary to keep the receiving clock for two or more cycles after setting the data in the transmitting register 14 in accordance with the above-described representative criterion, As a transmission-side register reset signal that can continue to hold the transmission-side register validity flag set in the transmission-side register validity flag circuit 16,
The fourth transmission-side register reset signal that is valid at the earliest time is selected from the first transmission-side register reset signal to the fifth transmission-side register reset signal.

【0057】この実施例においては、前述のように、バ
スクロック比検出回路66から出力されるセレクト信号
は、アンド回路32から出力されている第4の送信側レ
ジスタリセット信号33を選択するセレクト信号である
から、この第4の送信側レジスタリセット信号33がセ
レクタ40で選択されて送信側レジスタ有効フラグ回路
16に供給されてこれをリセットする(図3の(m),
(e))。このリセットにより、送信側レジスタ有効フ
ラグ回路16からのデータ送信抑止信号Iの送出は停止
され(図3の(e))、データ送出源からのデータ抑止
は停止されて次のデータ送出が開始される。
In this embodiment, as described above, the select signal output from the bus clock ratio detection circuit 66 is the select signal for selecting the fourth transmission-side register reset signal 33 output from the AND circuit 32. Therefore, the fourth transmission-side register reset signal 33 is selected by the selector 40 and supplied to the transmission-side register valid flag circuit 16 to reset it ((m) in FIG. 3,
(E)). Due to this reset, the transmission of the data transmission inhibition signal I from the transmission side register valid flag circuit 16 is stopped ((e) in FIG. 3), the data inhibition from the data transmission source is stopped, and the next data transmission is started. You.

【0058】送信側レジスタ有効フラグ回路16のリセ
ットは、送信側レジスタ14から受信側レジスタ54へ
のデータ転送を正常に行うのに必要な時間の間、当該デ
ータを送信側レジスタ14に保持する時間のうちの、最
も早い時刻に行われ、それまでデータ転送の抑止が掛か
っていたデータ送出源は、その抑止が解除されてデータ
の転送を開始し得るから、送信側レジスタ14から受信
側レジスタ54への正常なデータ転送を保証しつつ、デ
ータを最も高い転送効率で正常に送信側レジスタ14か
ら受信側レジスタ54へ転送することができる。
The reset of the transmission-side register validity flag circuit 16 is performed during the time required for normal data transfer from the transmission-side register 14 to the reception-side register 54 to hold the data in the transmission-side register 14. Of the data transmission source which has been inhibited at the earliest time and the data transfer of which has been inhibited up to that time may be released from the inhibition and start the data transfer. It is possible to normally transfer data from the transmission side register 14 to the reception side register 54 with the highest transfer efficiency while guaranteeing normal data transfer to the destination register 54.

【0059】次に、上述したデータ転送と異なる、送信
側レジスタ14から受信側レジスタ54へのデータ転送
の例を図4に示すタイミングチャートを参照して説明す
る。そのデータ転送の例は、この実施例の非同期系間デ
ータ転送回路10の回路構成を同一とし、送信側クロッ
クの周波数が図3に示すデータ伝送の例における送信側
クロックの周波数に対して2倍とした場合のデータ転送
の例である。
Next, an example of data transfer from the transmission side register 14 to the reception side register 54 which is different from the above-described data transfer will be described with reference to a timing chart shown in FIG. In the data transfer example, the circuit configuration of the asynchronous intersystem data transfer circuit 10 of this embodiment is the same, and the frequency of the transmission side clock is twice the frequency of the transmission side clock in the example of data transmission shown in FIG. This is an example of the data transfer in the case where.

【0060】図4に示すタイミングチャートは、非同期
系間データ転送回路10の回路構成は同一であるから、
図4の(b)〜(m)は、タイミングチャート上の波形
の時間軸上の発生時刻及びその持続時間が異なることを
除いて、図3の(b)〜(m)と同じである。また、図
4の(a)、(n)〜(q)、(v)、(w)は、図3
の(a)、(n)〜(q)、(v)、(w)と同一であ
る。
In the timing chart shown in FIG. 4, since the circuit configuration of the asynchronous intersystem data transfer circuit 10 is the same,
FIGS. 4B to 4M are the same as FIGS. 3B to 3M except that the occurrence times and the durations of the waveforms on the time axis on the timing chart are different. 4 (a), (n) to (q), (v) and (w) of FIG.
(A), (n) to (q), (v) and (w).

【0061】図4に示すデータ転送の例においても、図
3に示すデータ転送の例と同様に、クロック周波数比検
出回路66から出力されるセレクト信号が、アンド回路
32から出力される第4の送信側レジスタリセット信号
33を選択するセレクト信号が出力されるものとする
と、図4の(m′)に示すような送信側レジスタリセッ
ト信号がセレクタ42に供給されて送信側レジスタ有効
フラグ回路16がリセットされる(図4の(e))。
In the example of data transfer shown in FIG. 4, similarly to the example of data transfer shown in FIG. 3, the select signal output from clock frequency ratio detection circuit 66 is the fourth signal output from AND circuit 32. Assuming that a select signal for selecting the transmission-side register reset signal 33 is to be output, a transmission-side register reset signal as shown in (m ') of FIG. It is reset ((e) of FIG. 4).

【0062】このリセット、すなわち、データ送出源か
らの送信側データの送出抑止の解除は、図3及び図4の
時間軸上の目盛りを参照すれば即座に読み取れるよう
に、図4に示すデータ転送の例においては時間軸(図4
の(a))上の12の目盛りと13の目盛りとの間の時
刻であり、図3に示すデータ転送の例においては時間軸
(図3の(a))上の6の目盛りと7の目盛りとの間の
時刻である。つまり、図4に示すデータ転送の例におい
ては、データ送出源に対する送信側データ送出の抑止か
らその解除までの時間が、図3に示すデータ転送の例に
比して長くなり、データ転送効率が低下してしまう。
This reset, that is, the release of the suppression of the transmission of the data on the transmission side from the data transmission source, can be immediately read by referring to the scales on the time axis in FIGS. 3 and 4 so that the data transfer shown in FIG. In the example shown in FIG.
(A)) is a time between twelve scales and thirteen scales, and in the example of data transfer shown in FIG. 3, six scales and seven scales on the time axis ((a) in FIG. It is the time between the scale. That is, in the example of the data transfer shown in FIG. 4, the time from the suppression of transmission of data on the transmission side to the data transmission source to the release thereof is longer than that in the example of data transfer shown in FIG. Will drop.

【0063】また、図4に示すデータ転送の例におい
て、クロック周波数比検出回路66から出力されるセレ
クト信号が、図5の(k′)に示すように、アンド回路
28から出力される第2の送信側レジスタリセット信号
29を選択するセレクト信号であるものとすると、図5
の(k′)に示す送信側レジスタリセット信号がセレク
タ42に供給されて送信側レジスタ有効フラグ回路16
がリセットされる(図5の(e))。なお、図5の
(a)〜(m)、(n)〜(q)、(v)、(w)は、
図4の(a)〜(m)、(n)〜(q)、(v)、
(w)と同一である。
In the data transfer example shown in FIG. 4, the select signal output from the clock frequency ratio detection circuit 66 is the second signal output from the AND circuit 28 as shown in FIG. 5 (k '). 5 is a select signal for selecting the transmission-side register reset signal 29 of FIG.
(K ') is supplied to the selector 42 and the transmission-side register valid flag circuit 16
Is reset (FIG. 5 (e)). Note that (a) to (m), (n) to (q), (v), and (w) in FIG.
(A) to (m), (n) to (q), (v),
Same as (w).

【0064】このように、図3に示すデータ転送におけ
る送信側クロックの周波数、例えば、33MHzが、2
倍、すなわち、66MHzに変更された場合のデータ転
送を示す図4において、図3に示すデータ転送でのセレ
クト信号としてアンド回路32から出力される第4の送
信側レジスタリセット信号33を選択するセレクト信号
ではなく、アンド回路28から出力される第2の送信側
レジスタリセット信号29を選択するセレクト信号をセ
レクタ42に供給するようにすれば、この第2の送信側
レジスタリセット信号29によって、送信側レジスタ有
効フラグ回路16はリセットされる(図5の(e))。
As described above, the frequency of the transmission side clock in the data transfer shown in FIG.
In FIG. 4 showing the data transfer when the data transfer rate is changed to double, that is, 66 MHz, a select for selecting the fourth transmission-side register reset signal 33 output from the AND circuit 32 as a select signal in the data transfer shown in FIG. If the select signal for selecting the second transmission-side register reset signal 29 output from the AND circuit 28 is supplied to the selector 42 instead of the signal, the transmission-side register reset signal 29 The register valid flag circuit 16 is reset ((e) of FIG. 5).

【0065】データ送出源からの送信側データの送出抑
止の解除は、図5の時間軸(図5の(a))上の目盛り
を参照すれば即座に読み取れるように、時間軸上の8の
目盛りと9の目盛りとの間の時刻となる。つまり、図5
に示すデータ転送の例においては、データ送出源に対す
る送信側データ送出の抑止からその解除までの時間が、
図4に示すデータ転送に比して短くなり、データ転送効
率が、図3に示すようにデータ転送よりは劣るが、図4
に示すデータ転送よりも向上する。
The release of the suppression of the transmission-side data from the data transmission source can be canceled by referring to the scale on the time axis (FIG. 5 (a)) of FIG. The time is between the scale and the scale of nine. That is, FIG.
In the example of the data transfer shown in (1), the time from the suppression of the transmission of data on the transmission side to the data transmission source to the release thereof is
Although the data transfer is shorter than the data transfer shown in FIG. 4 and the data transfer efficiency is inferior to the data transfer as shown in FIG.
Is improved over the data transfer shown in FIG.

【0066】このように、この実施例によれば、送信側
クロックの周波数を変更した場合であっても、送信側レ
ジスタリセット信号を周波数変更前のものと同一のもの
を選択することは無くなる。これにより、送信側レジス
タ有効フラグ回路16のリセットは、送信側レジスタ1
4から受信側レジスタ54へのデータ転送を正常に行う
のに必要な時間の間、当該データを送信側レジスタ14
に保持する時間のうちの、より早い時刻に行われ、デー
タ送出源に対する送信側データ送出の抑止からその解除
までの時間が、周波数変更前後を問わず、送信側レジス
タリセット信号を同一とする場合に比して短くなるし、
また、その解除時にそれまでデータ転送の抑止が掛かっ
ていたデータ送出源は、データの転送を開始し得ること
となるから、送信側レジスタ14から受信側レジスタ5
4への正常なデータ転送を保証しつつ、データを最適の
転送効率で正常に送信側レジスタ14から受信側レジス
タ54へ転送することができる。
As described above, according to this embodiment, even when the frequency of the clock on the transmitting side is changed, the same register reset signal as that before the frequency change is not selected. As a result, the transmission-side register valid flag circuit 16 is reset by the transmission-side register 1
4 during the time required for normal data transfer from the receiving side register 54 to the receiving side register 54.
In the case where the transmission-side register reset signal is performed earlier than the time when the transmission-side data transmission to the data transmission source is suppressed and released, regardless of before and after the frequency change, Is shorter than
In addition, since the data transmission source, which had been inhibited from data transfer at the time of release, can start data transfer, the transmission side register 14 to the reception side register 5
4 can be normally transferred from the transmission side register 14 to the reception side register 54 at the optimum transfer efficiency while guaranteeing normal data transfer to the transmission side register 4.

【0067】◇第2実施例 図6は、この発明の第2実施例である非同期系間データ
転送回路の構成図である。この実施例の構成が、上述の
第1実施例のそれと大きく異なる点は、セレクト信号を
PCIバス72から供給するようにした点である。すな
わち、PCIバス72(図2)には、公知のコントロー
ラ(図示せず)が接続されており、このコントローラか
らPCIバス72を介してセレクト信号を非同期系間デ
ータ転送回路10Aのセレクタ42A(図示せず)に供
給する。セレクタ42Aは、後述する点を除き、図1の
セレクタ42と同じである。
Second Embodiment FIG. 6 is a block diagram of an asynchronous inter-system data transfer circuit according to a second embodiment of the present invention. The configuration of this embodiment is significantly different from that of the first embodiment in that the select signal is supplied from the PCI bus 72. That is, a known controller (not shown) is connected to the PCI bus 72 (FIG. 2), and the controller 42 transmits a select signal from the controller via the PCI bus 72 to the selector 42A of the asynchronous intersystem data transfer circuit 10A (FIG. 2). (Not shown). The selector 42A is the same as the selector 42 of FIG. 1 except for the points described below.

【0068】上記コントローラは、PCIバス72から
ローカルバス74(図2)へデータ転送しようとする場
合の動作クロック、すなわち、送信側クロックの周波数
が変更される場合、すなわち、PCIバス72の規格が
旧規格から新規格へ変更される、例えば、送信側クロッ
クが33MHzから66MHzへ変更される場合に、その
ことを示す規格変更信号をPCIバス72に送出する。
この規格変更信号を非同期系間データ転送回路10Aの
セレクタ42Aのセレクト信号とする。したがって、こ
の実施例においては、セレクタ42Aに入力される送信
側レジスタリセット信号は、2つとされる。例えば、図
3の第4の送信側レジスタリセット信号33と図5の第
2の送信側レジスタリセット信号29である。この実施
例のその他の構成要素は、第1実施例と同様なので、そ
れらの構成要素には、第1実施例の構成要素と同一の符
号を付してその説明を省略する。
The controller operates when an operation clock for transferring data from the PCI bus 72 to the local bus 74 (FIG. 2), that is, when the frequency of the transmitting clock is changed, that is, when the standard of the PCI bus 72 is changed. When the old standard is changed to the new standard, for example, when the transmission side clock is changed from 33 MHz to 66 MHz, a standard change signal indicating this is transmitted to the PCI bus 72.
This standard change signal is used as a select signal of the selector 42A of the asynchronous data transfer circuit 10A. Therefore, in this embodiment, the transmission-side register reset signal input to the selector 42A is two. For example, the fourth transmission-side register reset signal 33 in FIG. 3 and the second transmission-side register reset signal 29 in FIG. The other components of this embodiment are the same as those of the first embodiment, so those components are denoted by the same reference numerals as those of the first embodiment, and description thereof will be omitted.

【0069】次に、図3、図5及び図6を参照して、こ
の実施例の動作について説明する。PCIバス72の規
格が、図3に示すタイミングチャートに示す旧規格か
ら、図5に示すタイミングチャートに示す新規格へ変更
された場合に、上述のコントローラからPCIバス72
を介して非同期系間データ転送回路10Aのセレクタ4
2Aに上述の規格変更信号が転送されて来る。この規格
変更信号を非同期系間データ転送回路10Aが受信する
と、非同期系間データ転送回路10Aは、上述した図3
に示すタイミングチャートのデータ転送の例から上述し
た図5に示すタイミングチャートのデータ転送の例のよ
うに動作する。
Next, the operation of this embodiment will be described with reference to FIGS. 3, 5 and 6. When the standard of the PCI bus 72 is changed from the old standard shown in the timing chart shown in FIG. 3 to the new standard shown in the timing chart shown in FIG.
Via the selector 4 of the asynchronous intersystem data transfer circuit 10A
The above standard change signal is transferred to 2A. When the asynchronous system data transfer circuit 10A receives this standard change signal, the asynchronous system data transfer circuit 10A
5 operates from the example of the data transfer of the timing chart shown in FIG.

【0070】このように、この実施例の構成によれば、
PCIバス72の規格に変更があった場合には、規格変
更後の第2の送信側レジスタリセット信号29(図4の
(k),(k´))を選択することとなり、規格変更前
の第4の送信側レジスタリセット信号33(図3の
(m))に相当する第4の送信側レジスタリセット信号
33(図5の(m))を選択することはなくなるから、
第1実施例において説明したように、データ送出源から
の送信側データ送出の抑止からその解除までの時間が、
規格変更後に第4の送信側レジスタリセット信号33
(図5の(m))を選択する場合に比して短くなる。結
果として、非同期系間データ転送回路10Aは、送信側
レジスタ14から受信側レジスタ54への正常なデータ
転送が常に保証されると同時に、データ転送効率は、動
作クロックの変更後に第4の送信側レジスタリセット信
号33を選択してしまう場合のデータ転送効率ではな
く、変更した動作クロックに最適のデータ転送効率でデ
ータを転送することができる。
As described above, according to the configuration of this embodiment,
When the standard of the PCI bus 72 is changed, the second transmission-side register reset signal 29 ((k), (k ′) in FIG. 4) after the standard change is selected, and Since the fourth transmission-side register reset signal 33 ((m) in FIG. 5) corresponding to the fourth transmission-side register reset signal 33 ((m) in FIG. 3) is no longer selected,
As described in the first embodiment, the time from the suppression of the transmission of data on the transmission side by the data transmission source to its release is:
After the standard change, the fourth transmission-side register reset signal 33
((M) in FIG. 5) is shorter than when (m) in FIG. 5 is selected. As a result, the asynchronous inter-system data transfer circuit 10A always guarantees normal data transfer from the transmission-side register 14 to the reception-side register 54, and at the same time, increases the data transfer efficiency after changing the operation clock. Data can be transferred with the optimum data transfer efficiency for the changed operation clock, not the data transfer efficiency when the register reset signal 33 is selected.

【0071】◇第3実施例 図7は、この発明の第3実施例である非同期系間データ
転送回路の構成図である。この実施例の構成が、上述の
第1実施例のそれと大きく異なる点は、非同期系間デー
タ転送回路を構成する回路の論理を、構成データによっ
て設定することのできる使用時論理設定可能な論理回路
(フィールド・プログラマブル・ゲート・アレイ;FP
GA(Field Programable Gate Array)) と構成デー
タROMとで構成するようにした点である。
Third Embodiment FIG. 7 is a block diagram of a data transfer circuit between asynchronous systems according to a third embodiment of the present invention. The configuration of this embodiment is significantly different from that of the first embodiment in that the logic of the circuit constituting the data transfer circuit between asynchronous systems can be set by use of configuration data. (Field programmable gate array; FP
The point is that the configuration is made up of a GA (Field Programmable Gate Array) and a configuration data ROM.

【0072】すなわち、バスブリッジ回路76Bは、そ
の全体がFPGAと構成データROMとで構成される。
バスブリッジ回路76B中の、図2のPCIバスインタ
フェース部78と、PCIレジスタ80と、ローカルバ
スインタフェース部84と、ローカルバスレジスタ86
とは、通常、クロックの周波数の変更前後を問わず、同
一の論理で動作するが、必要に応じてクロックの周波数
の変更で論理構成が変更される場合もある。これと同様
のことが、図2中のデータ転送部82についても言える
が、データ転送部82中の非同期系間データ転送回路
は、この実施例においては、図3に示すデータ転送と図
5に示すデータ転送とを行い得るように構成データによ
ってその中の論理回路を設定可能に構成されたFPGA
90と、FPGA90内の論理回路を2つの設定状態に
設定し得る2つの構成データを各別に登録する構成デー
タROM92,94と、セレクト信号により構成データ
ROM92,94のいずれか一方を選択するセレクタ4
2Bとで構成される。
That is, the bus bridge circuit 76B is entirely composed of an FPGA and a configuration data ROM.
In the bus bridge circuit 76B, the PCI bus interface unit 78, the PCI register 80, the local bus interface unit 84, and the local bus register 86 in FIG.
Normally, the operation is performed with the same logic before and after the clock frequency is changed, but the logic configuration may be changed by changing the clock frequency as needed. The same can be said of the data transfer unit 82 in FIG. 2, but the asynchronous intersystem data transfer circuit in the data transfer unit 82 is different from the data transfer shown in FIG. FPGA configured such that a logic circuit therein can be set by configuration data so as to perform the data transfer shown in FIG.
90, configuration data ROMs 92 and 94 for separately registering two configuration data that can set a logic circuit in the FPGA 90 to two setting states, and a selector 4 for selecting one of the configuration data ROMs 92 and 94 by a select signal.
2B.

【0073】構成データROM92は、図3に示すタイ
ミングチャートのデータ転送の論理をFPGA90に設
定し得る構成データを登録し、構成データROM94
は、図5に示すタイミングチャートのデータ転送の論理
をFPGA90に設定し得る構成データを登録する。そ
して、クロック比検出回路66Bは、図3に示すタイミ
ングチャートのデータ転送における第4の送信側レジス
タリセット信号33及び図5に示すタイミングチャート
のデータ転送における第2の送信側レジスタリセット信
号29のうちのいずれか一方を選択するセレクト信号を
出力する。このように構成される非同期系間データ転送
回路を図7では参照番号10Bで参照する。
The configuration data ROM 92 registers configuration data that can set the data transfer logic of the timing chart shown in FIG.
Registers configuration data that can set the logic of data transfer in the timing chart shown in FIG. Then, the clock ratio detection circuit 66B outputs the fourth transmission-side register reset signal 33 in the data transfer of the timing chart shown in FIG. 3 and the second transmission-side register reset signal 29 in the data transfer of the timing chart shown in FIG. And outputs a select signal for selecting one of the two. The asynchronous inter-system data transfer circuit thus configured is referred to by reference numeral 10B in FIG.

【0074】そして、このように構成れる非同期系間デ
ータ転送回路10Bにおいて、構成データROM92か
ら読み出された構成データによってFPGA90に設定
される論理回路の送信側回路部分においては、送信側ク
ロックに応答して送信側レジスタ有効フラグが発生され
ること、この送信側レジスタ有効フラグの発生後の順次
の送信側クロックに応答して第4の送信側レジスタリセ
ット信号33を発生する回路が動作することは、図1の
非同期系間データ転送回路10と同様であり、また、そ
の受信側回路部分においては、送信側レジスタ有効フラ
グの発生後の順次の受信側クロックに応答して受信側レ
ジスタセット信号63が発生されることは、図1の非同
期系間データ転送回路10と同様である。
In the thus configured asynchronous inter-system data transfer circuit 10 B, the transmission side circuit portion of the logic circuit set in the FPGA 90 by the configuration data read from the configuration data ROM 92 responds to the transmission side clock. That the transmission-side register valid flag is generated, and that the circuit that generates the fourth transmission-side register reset signal 33 in response to the sequential transmission-side clock after the generation of the transmission-side register valid flag operates. 1 is the same as the asynchronous inter-system data transfer circuit 10 of FIG. 1, and the receiving side circuit portion responds to the sequential receiving side clock after the generation of the transmitting side register valid flag in response to the receiving side register set signal 63. Is generated in the same manner as in the asynchronous intersystem data transfer circuit 10 of FIG.

【0075】また、構成データROM94から構成デー
タが読み出された場合には、FPGA90に設定される
論理回路の送信側回路部分の動作のうち、送信側レジス
タ有効フラグの発生後の順次の送信側クロックに応答し
て第4の送信側レジスタリセット信号33が発生される
ことに代えて、第2の送信側レジスタリセット信号29
を発生する回路が動作することを除き、構成データRO
M92から構成データが読み出されたときと、同様の動
作をする。なお、PFGAと構成データROMを用いて
非同期系間データ転送回路を構成することは、公知であ
る。この実施例のその他の構成要素は、第1実施例と同
様なので、それらの構成要素には、第1実施例の構成要
素と同一の符号を付してその説明を省略する。
When the configuration data is read from the configuration data ROM 94, when the transmission side circuit portion of the logic circuit set in the FPGA 90 is operated, the sequential transmission side after the generation of the transmission side register valid flag is performed. Instead of generating the fourth transmission-side register reset signal 33 in response to the clock, the second transmission-side register reset signal 29
The configuration data RO
The same operation as when the configuration data is read from M92 is performed. It is known that an asynchronous inter-system data transfer circuit is configured using a PFGA and a configuration data ROM. The other components of this embodiment are the same as those of the first embodiment, so those components are denoted by the same reference numerals as those of the first embodiment, and description thereof will be omitted.

【0076】次に、図3、図5及び図7を参照して、こ
の実施例の動作を説明する。PCIバス72の動作クロ
ック(送信側クロックCJKA)が図3の(b)であ
り、ローカルバス74の動作クロック(受信側クロック
CLKB)が図3の(w)であるデータ転送において
は、システムの電源立ち上げ時に、構成データROM9
2が読み出される同時に、構成データROM92から読
み出される構成データを選択するセレクト信号がクロッ
ク比検出回路66Bから出力され、PFGA90の論理
は、図3に示すデータ転送を行い得る論理に設定され
る。したがって、データ送出源(図示せず)からPCI
バス72を経て転送されて来るデータは、上述した論理
に設定されたPFGA90を経てローカルバス74に転
送される。
Next, the operation of this embodiment will be described with reference to FIGS. 3, 5, and 7. In the data transfer in which the operation clock (transmission clock CJKA) of the PCI bus 72 is (b) in FIG. 3 and the operation clock (reception clock CLKB) of the local bus 74 is (w) in FIG. When the power is turned on, the configuration data ROM 9
Simultaneously with the reading of 2, the select signal for selecting the configuration data read from the configuration data ROM 92 is output from the clock ratio detection circuit 66B, and the logic of the PFGA 90 is set to the logic capable of performing the data transfer shown in FIG. Therefore, a PCI connection is established from a data source (not shown).
The data transferred via the bus 72 is transferred to the local bus 74 via the PFGA 90 set to the above-described logic.

【0077】このデータ転送からPCIバス72の動作
クロック(送信側クロックCLKA)を図5の(b)と
し、ローカルバス74の動作クロック(受信側クロック
CLKB)は図3の(w)そのままとするデータ転送へ
変更されると、構成データROM94の読み出しが行わ
れると同時に、クロック比検出回路66Bは、その変更
後のセレクト信号、すなわち、構成データROM94か
ら読み出された構成データを選択するセレクト信号を出
力する。このセレクト信号を非同期系間データ転送回路
10Bが受け取ると、非同期系間データ転送回路10B
は、上述した図3に示すタイミングチャートのデータ転
送から上述した図5に示すタイミングチャートのデータ
転送に切り換えられる。
From this data transfer, the operating clock (transmitting clock CLKA) of the PCI bus 72 is set to (b) in FIG. 5, and the operating clock (receiving clock CLKB) of the local bus 74 is set to (w) in FIG. When the mode is changed to data transfer, the configuration data ROM 94 is read, and at the same time, the clock ratio detection circuit 66B outputs the changed select signal, that is, the select signal for selecting the configuration data read from the configuration data ROM 94. Is output. When this select signal is received by the asynchronous system data transfer circuit 10B, the asynchronous system data transfer circuit 10B
Is switched from the data transfer of the timing chart shown in FIG. 3 to the data transfer of the timing chart shown in FIG.

【0078】このように、この実施例によれば、PCI
バス72の動作クロックに変更があった場合には、動作
クロックの変更後の第2の送信側レジスタリセット信号
29(図5の(k),(k´))を選択することとな
り、動作クロックの変更前の第4の送信側レジスタリセ
ット信号33(図3の(m))に相当する第4の送信側
レジスタリセット信号33(図5の(m))を選択する
ことはなくなるから、第1実施例において説明したよう
に、データ送出源からの送信側データ送出の抑止からそ
の解除までの時間が、動作クロックの変更後に第4の送
信側レジスタリセット信号33を選択する場合に比して
短くなる。結果として、非同期系間データ転送回路10
Bは、送信側レジスタ14から受信側レジスタ54への
正常なデータ転送が常に保証されると同時に、データ転
送効率は、動作クロックの変更後に第4の送信側レジス
タリセット信号33を選択してしまう場合のデータ転送
効率ではなく、変更した動作クロックに最適のデータ転
送効率でデータを転送することができる。
As described above, according to this embodiment, the PCI
When the operation clock of the bus 72 is changed, the second transmission-side register reset signal 29 ((k), (k ′) in FIG. 5) after the change of the operation clock is selected, and the operation clock is changed. Since the fourth transmission-side register reset signal 33 ((m) in FIG. 5) corresponding to the fourth transmission-side register reset signal 33 ((m) in FIG. 3) before the change is not selected, As described in the first embodiment, the time from the suppression of transmission-side data transmission from the data transmission source to its release is shorter than the case where the fourth transmission-side register reset signal 33 is selected after the operation clock is changed. Be shorter. As a result, the asynchronous system data transfer circuit 10
In B, normal data transfer from the transmission-side register 14 to the reception-side register 54 is always guaranteed, and the data transfer efficiency is such that the fourth transmission-side register reset signal 33 is selected after the operation clock is changed. The data can be transferred with the optimum data transfer efficiency for the changed operation clock instead of the data transfer efficiency in the case.

【0079】◇第4実施例 図8は、この発明の第4実施例である非同期系間データ
転送回路の構成図である。この実施例の構成が、上述の
第1実施例のそれと大きく異なる点は、セレクト信号の
発生を手動で行うようにした点である。すなわち、デー
タ送出源から出力されたデータをPCIバス72からロ
ーカルバス74に転送するのに先立って、コンピュータ
システムを構成する基板上に、図1に示す各セレクト信
号と同等の各セレクト信号を出力する切り換えスイッチ
66Cを設ける。この切り換えスイッチ66Cから出力
されたセレクト信号をバスブリッジ回路76C内の、図
1のセレクタ42と同様のセレクタ42C(図示せず)
に供給する。
FIG. 8 is a configuration diagram of a data transfer circuit between asynchronous systems according to a fourth embodiment of the present invention. The configuration of this embodiment is significantly different from that of the first embodiment in that the selection signal is generated manually. That is, prior to transferring the data output from the data transmission source to the local bus 74 from the PCI bus 72, each select signal equivalent to each select signal shown in FIG. Switch 66C is provided. The select signal output from the changeover switch 66C is connected to a selector 42C (not shown) similar to the selector 42 in FIG. 1 in the bus bridge circuit 76C.
To supply.

【0080】したがって、この実施例においても、第2
実施例と同様に、セレクタ42Cに入力される送信側レ
ジスタリセット信号は、2つとされる。例えば、図3の
第4の送信側レジスタリセット信号33と図5の第2の
送信側レジスタリセット信号29である。この実施例の
その他の構成要素は、第1実施例と同様なので、それら
の構成要素には、第1実施例の構成要素と同一の符号を
付してその説明を省略する。
Therefore, also in this embodiment, the second
As in the embodiment, the transmission-side register reset signal input to the selector 42C is two. For example, the fourth transmission-side register reset signal 33 in FIG. 3 and the second transmission-side register reset signal 29 in FIG. The other components of this embodiment are the same as those of the first embodiment, so those components are denoted by the same reference numerals as those of the first embodiment, and description thereof will be omitted.

【0081】次に、図3、図5及び図8を参照して、こ
の実施例の動作を説明する。PCIバス72の動作クロ
ック(送信側クロックCLKA)が図3の(b)であ
り、ローカルバス74の動作クロック(受信側クロック
CLKB)が図3の(w)であるデータ転送の例から、
PCIバス72の動作クロック(送信側クロック)を図
5の(b)とし、ローカルバス74の動作クロック(受
信側クロック)は図3の(w)そのままとするデータ転
送の例へ変更される場合に、この変更後、データ転送を
行うのに先立って、切り換え回路66Cは、その変更前
のセレクト信号から変更後のセレクト信号への切り換え
が行われる。すなわち、切り換え回路66Cは、図5の
(m)に示す第4の送信側レジスタリセット信号33
(図3の(m)に示す第4の送信側レジスタリセット信
号33相当)を選択するセレクト信号の送出を停止して
図5の(k)に示す第2の送信側レジスタリセット信号
29を選択するセレクト信号を送出する。
Next, the operation of this embodiment will be described with reference to FIGS. 3, 5, and 8. In the example of data transfer in which the operation clock (transmitting clock CLKA) of the PCI bus 72 is (b) in FIG. 3 and the operating clock (receiving clock CLKB) of the local bus 74 is (w) in FIG.
When the operating clock (transmitting clock) of the PCI bus 72 is changed to (b) in FIG. 5 and the operating clock (receiving clock) of the local bus 74 is changed to (w) in FIG. After this change, prior to performing data transfer, the switching circuit 66C switches from the pre-change select signal to the post-change select signal. That is, the switching circuit 66C outputs the fourth transmission-side register reset signal 33 shown in FIG.
The transmission of the select signal for selecting the fourth transmission-side register reset signal 33 shown in FIG. 3 (m) is stopped, and the second transmission-side register reset signal 29 shown in FIG. 5 (k) is selected. Is transmitted.

【0082】このセレクト信号を非同期系間データ転送
回路10Cが受け取ると、非同期系間データ転送回路1
0Cは、上述した図3に示すタイミングチャートのデー
タ転送から上述した図5に示すタイミングチャートのデ
ータ転送のように動作する。
When this select signal is received by the asynchronous data transfer circuit 10C, the asynchronous data transfer circuit 1
0C operates from the data transfer of the timing chart shown in FIG. 3 to the data transfer of the timing chart shown in FIG. 5 described above.

【0083】このように、この実施例の構成によれば、
PCIバス72の動作クロックに変更があった場合に
は、動作クロックの変更後の第2の送信側レジスタリセ
ット信号29(図5の(k),(k´))を選択するこ
ととなり、動作クロックの変更前の第4の送信側レジス
タリセット信号33(図3の(m))に相当する第4の
送信側レジスタリセット信号33(図5の(m))を選
択することはなくなるから、第1実施例において説明し
たように、データ送出源からの送信側データ送出の抑止
からその解除までの時間が、動作クロックの変更後に第
4の送信側レジスタリセット信号33を選択する場合に
比して短くなる。結果として、非同期系間データ転送回
路10Cは、送信側レジスタ14から受信側レジスタ5
4への正常なデータの転送が常に保証されると同時に、
データ転送効率は、動作クロックの変更後に第4の送信
側レジスタリセット信号33を選択してしまう場合のデ
ータ転送効率ではなく、変更した動作クロックに最適の
データ転送効率でデータを転送することができる。
As described above, according to the structure of this embodiment,
When the operation clock of the PCI bus 72 is changed, the second transmission-side register reset signal 29 ((k), (k ′) in FIG. 5) after the change of the operation clock is selected. Since the fourth transmission-side register reset signal 33 ((m) in FIG. 5) corresponding to the fourth transmission-side register reset signal 33 ((m) in FIG. 3) before the clock change is no longer selected, As described in the first embodiment, the time from the suppression of transmission-side data transmission from the data transmission source to its release is shorter than that when the fourth transmission-side register reset signal 33 is selected after the operation clock is changed. Become shorter. As a result, the asynchronous intersystem data transfer circuit 10 </ b> C
4 is always assured of normal data transfer,
The data transfer efficiency is not the data transfer efficiency when the fourth transmission-side register reset signal 33 is selected after the operation clock is changed, but the data can be transferred with the optimum data transfer efficiency for the changed operation clock. .

【0084】◇第5実施例 図9は、この発明の第5実施例である非同期系間データ
転送回路の構成図である。この実施例の構成が、上述の
第1実施例のそれと大きく異なる点は、セレクト信号を
バスの動作モードから発生するようにした点である。す
なわち、データ送出源から出力されたデータをPCIバ
ス72からローカルバス74に転送するのに先立って、
コンピュータシステムを構成するコントローラ(図示せ
ず)からPCIバス72を経てバスブリッジ回路76D
の設定レジスタ66Dに動作モードがPCIバス72の
2つの動作モードのうちのいずれの動作モードで動作す
るかを設定し、設定された動作モード対応のセレクト信
号が設定レジスタ66Dから出力され、そのセレクト信
号が非同期系間データ転送回路10D内の、図1のセレ
クタ42に対応するセレクタ42D(図示せず)に供給
される。
Fifth Embodiment FIG. 9 is a block diagram of an asynchronous inter-system data transfer circuit according to a fifth embodiment of the present invention. The configuration of this embodiment is significantly different from that of the first embodiment in that the select signal is generated from the bus operation mode. That is, prior to transferring the data output from the data transmission source from the PCI bus 72 to the local bus 74,
A bus bridge circuit 76D from a controller (not shown) constituting the computer system via the PCI bus 72
Of the two operation modes of the PCI bus 72 is set in the setting register 66D, and a select signal corresponding to the set operation mode is output from the setting register 66D. The signal is supplied to a selector 42D (not shown) corresponding to the selector 42 in FIG. 1 in the asynchronous data transfer circuit 10D.

【0085】したがって、この実施例においては、第2
実施例と同様に、セレクタ42Dに入力される送信側レ
ジスタリセット信号は、2つとされる。例えば、図3の
第4の送信側レジスタリセット信号33と図5の第2の
送信側レジスタリセット信号29である。この実施例の
その他の構成は、第1実施例と同様なので、それらの構
成要素には、第1実施例の構成要素と同一の符号を用い
る。
Therefore, in this embodiment, the second
As in the embodiment, two transmission-side register reset signals are input to the selector 42D. For example, the fourth transmission-side register reset signal 33 in FIG. 3 and the second transmission-side register reset signal 29 in FIG. Other configurations of this embodiment are the same as those of the first embodiment, and therefore, the same reference numerals are used for those components as those of the first embodiment.

【0086】次に、図3、図5及び図9を参照して、こ
の実施例の動作を説明する。PCIバス72の動作クロ
ック(送信側クロックCLKA)が図3の(b)であ
り、ローカルバス74の動作クロック(受信側クロック
CLKB)が図3の(w)であるデータ転送の例から、
PCIバス72の動作クロック(送信側クロック)を図
5の(a)とし、ローカルバス74の動作クロック(受
信側クロック)は図3の(w)そのままとするデータ転
送の例へ変更される場合に、この変更後にデータ転送を
行うのに先立って、コントローラは、その変更前の動作
モードに代えて、変更後の動作モードをPCIバス7
2、PCIバスインタフェース部78を経てデータ転送
部82内の設定レジスタ66Dに設定する。
Next, the operation of this embodiment will be described with reference to FIGS. 3, 5, and 9. In the example of data transfer in which the operation clock (transmitting clock CLKA) of the PCI bus 72 is (b) in FIG. 3 and the operating clock (receiving clock CLKB) of the local bus 74 is (w) in FIG.
When the operation clock (transmission clock) of the PCI bus 72 is changed to (a) in FIG. 5 and the operation clock (reception clock) of the local bus 74 is changed to the example of data transfer in FIG. Prior to performing data transfer after the change, the controller sets the changed operation mode to the PCI bus 7 instead of the operation mode before the change.
2. The setting is made in the setting register 66D in the data transfer unit 82 via the PCI bus interface unit 78.

【0087】この設定により、設定レジスタ66Dは、
図3の(m)に示す第4の送信側レジスタリセット信号
33を選択するセレクト信号の送出を停止して図5の
(k),(k´)に示す第2の送信側レジスタリセット
信号29を選択するセレクト信号を送出する。このセレ
クト信号を非同期系間データ転送回路10Dが受け取る
と、非同期系間データ転送回路10Dは、上述した図3
に示すタイミングチャートのデータ転送の例から上述し
た図5に示すタイミングチャートのデータ転送の例のよ
うに動作する。
With this setting, the setting register 66D stores
The transmission of the select signal for selecting the fourth transmission-side register reset signal 33 shown in (m) of FIG. 3 is stopped, and the second transmission-side register reset signal 29 shown in (k) and (k ′) of FIG. Is sent out. When the asynchronous inter-system data transfer circuit 10D receives this select signal, the asynchronous inter-system data transfer circuit 10D
5 operates from the example of the data transfer of the timing chart shown in FIG.

【0088】このように、この実施例の構成によれば、
PCIバス72の動作クロックに変更があった場合に
は、動作クロックの変更後の第2の送信側レジスタリセ
ット信号29(図5の(k),(k´))を選択するこ
ととなり、動作クロックの変更前の4の送信側レジスタ
リセット信号33(図3の(m))に相当する第4の送
信側レジスタリセット信号33(図5の(m))を選択
することはなくなるから、第1実施例において説明した
ように、データ送出源からの送信側データ送出の抑止か
らその解除までの時間が、動作クロックの変更後に第4
の送信側レジスタリセット信号33を選択する場合に比
して短くなる。結果として、非同期系間データ転送回路
10Dは、送信側レジスタ14から受信側レジスタ54
への正常なデータの転送が常に保証されると同時に、デ
ータ転送効率は、動作クロックの変更後に第4の送信側
レジスタリセット信号33を選択してしまう場合のデー
タ転送効率ではなく、変更した動作クロックに最適のデ
ータ転送効率でデータを転送することができる。
As described above, according to the configuration of this embodiment,
When the operation clock of the PCI bus 72 is changed, the second transmission-side register reset signal 29 ((k), (k ′) in FIG. 5) after the change of the operation clock is selected. Since the fourth transmission-side register reset signal 33 ((m) in FIG. 5) corresponding to the four transmission-side register reset signals 33 ((m) in FIG. 3) before the clock change is no longer selected, the fourth As described in the first embodiment, the time from the suppression of transmission of data on the transmission side by the data transmission source to the release thereof is changed to the fourth after the operation clock is changed.
Is shorter than when the transmission-side register reset signal 33 is selected. As a result, the data transfer circuit 10D between the asynchronous system
At the same time as normal data transfer is guaranteed, the data transfer efficiency is not the data transfer efficiency when the fourth transmission-side register reset signal 33 is selected after the operation clock is changed, but the changed operation. Data can be transferred at the optimum data transfer efficiency for the clock.

【0089】◇第6実施例 図10は、この発明の第6実施例である非同期系間デー
タ転送回路の構成図である。この実施例の構成が、上述
の第1実施例のそれと大きく異なる点は、リセット信号
の発生自体を送信側のクロック周波数の変更に応じて制
御するようにした点である。但し、この実施例において
は、受信側のクロック周波数を変更せずに、送信側のク
ロック周波数を第1の周波数、例えば66MHzから周
波数が2分の1となる第2の周波数、例えば33MHz
へ変更する実施例であるとする。
Sixth Embodiment FIG. 10 is a block diagram of an asynchronous inter-system data transfer circuit according to a sixth embodiment of the present invention. The configuration of this embodiment is significantly different from that of the first embodiment in that the generation of the reset signal itself is controlled according to the change of the clock frequency on the transmission side. However, in this embodiment, without changing the clock frequency on the receiving side, the clock frequency on the transmitting side is changed from the first frequency, for example, 66 MHz to the second frequency, which is half the frequency, for example, 33 MHz.
It is assumed that the present embodiment is changed to the embodiment.

【0090】すなわち、第1実施例におけるフリップフ
ロップ回路18の出力とアンド回路28の非反転入力と
の間にアンド回路19を、フリップフロップ回路22の
出力とアンド回路32の非反転入力との間にアンド回路
23を介設し、アンド回路19の他方の入力にクロック
比検出回路66Eの第1の出力を接続する。アンド回路
23の他方の入力にクロック比検出回路66Eの第2の
出力を接続する。
That is, the AND circuit 19 is connected between the output of the flip-flop circuit 18 and the non-inverting input of the AND circuit 28 in the first embodiment, and between the output of the flip-flop circuit 22 and the non-inverting input of the AND circuit 32. The AND circuit 23 is connected to the other input terminal, and the other input of the AND circuit 19 is connected to the first output of the clock ratio detection circuit 66E. The other output of the AND circuit 23 is connected to the second output of the clock ratio detection circuit 66E.

【0091】クロック比検出回路66Eは、送信側のク
ロック周波数と受信側のクロック周波数との比を検出
し、検出した比に対応して許可信号又は禁止信号のいず
れか一方を検出した比に対応した第1及び第2の出力に
発生する。すなわち、クロック周波数変更前においては
許可信号が第2の出力に発生され、第1の出力には禁止
信号が発生され、また、クロック周波数変更後において
は許可信号が第1の出力に発生され、第2の出力には禁
止信号が発生される。
The clock ratio detection circuit 66E detects the ratio between the clock frequency on the transmission side and the clock frequency on the reception side, and responds to either the permission signal or the inhibition signal according to the detected ratio. Occurs at the first and second outputs. That is, a permission signal is generated at the second output before the clock frequency is changed, a prohibition signal is generated at the first output, and a permission signal is generated at the first output after the clock frequency is changed, An inhibit signal is generated at the second output.

【0092】そして、アンド回路28の出力とアンド回
路30の出力とは、オア回路42Eに接続されている。
オア回路42Eの出力は、送信側レジスタ有効フラグ回
路16に接続されている。この実施例のその他の構成
は、第1実施例と同様なので、それらの構成要素には、
第1実施例の構成要素と同一の符号を用いてその説明を
省略する。したがって、この実施例における非同期系間
データ転送回路は、参照番号10Eで参照する。
The output of the AND circuit 28 and the output of the AND circuit 30 are connected to the OR circuit 42E.
The output of the OR circuit 42E is connected to the transmission side register valid flag circuit 16. Other configurations of this embodiment are the same as those of the first embodiment, and therefore, these components include
The description is omitted by using the same reference numerals as those of the components of the first embodiment. Therefore, the asynchronous inter-system data transfer circuit in this embodiment is referred to by reference numeral 10E.

【0093】次に、図3、図5及び図10を参照して、
この実施例の動作を説明する。PCIバス72の動作ク
ロック(送信側クロックCLKA)が図3の(b)であ
り、ローカルバス74の動作クロック(受信側クロック
CLKB)が図3の(w)であるデータ転送において
は、システムの電源が立ち上げア時に、クロック比検出
回路66Eは、送信側クロックCLKAと受信側クロッ
クCLKBとの比を検出してその第2の出力に許可信号
を発生し、第1の出力に禁止信号を発生する。
Next, referring to FIG. 3, FIG. 5 and FIG.
The operation of this embodiment will be described. In the data transfer in which the operation clock (transmission clock CLKA) of the PCI bus 72 is (b) in FIG. 3 and the operation clock (reception clock CLKB) of the local bus 74 is (w) in FIG. When the power supply is turned on, the clock ratio detection circuit 66E detects the ratio between the transmission side clock CLKA and the reception side clock CLKB, generates a permission signal at its second output, and outputs a prohibition signal at the first output. appear.

【0094】このような許可信号及び禁止信号が発生さ
れている状態において、フリップフロップ回路18がセ
ットされても、アンド回路19から信号が出力されない
が、フリップフロップ回路22がセットされると、アン
ド回路23からは信号が出力される。そのため、アンド
回路28から第2の送信側レジスタリセット信号29が
出力されないが、アンド回路32からは第4の送信側レジ
スタリセット信号33が出力される。
In the state where such a permission signal and a prohibition signal are generated, no signal is output from the AND circuit 19 even if the flip-flop circuit 18 is set. The circuit 23 outputs a signal. Therefore, the second transmission-side register reset signal 29 is not output from the AND circuit 28, but the fourth transmission-side register reset signal 33 is output from the AND circuit 32.

【0095】したがって、非同期系間データ転送回路1
0Eは、上述した図3に示すタイミングチャートのデー
タ転送の例のように動作する。
Therefore, the asynchronous data transfer circuit 1
0E operates as in the example of the data transfer in the timing chart shown in FIG. 3 described above.

【0096】図3に示すタイミングチャートのデータ転
送の例から、PCIバス72の動作クロック(送信側ク
ロック)を図5の(a)とし、ローカルバス74の動作
クロック(受信側クロック)は図3の(w)そのままと
するデータ転送の例へ変更される場合には、クロック比
検出回路66Eは、送信側クロックCLKAと受信側ク
ロックCLKBとの比を検出してその第1の出力に許可
信号を発生し、第2の出力に禁止信号を発生する。
From the data transfer example of the timing chart shown in FIG. 3, the operating clock (transmitting clock) of the PCI bus 72 is shown in FIG. 5A, and the operating clock (receiving clock) of the local bus 74 is shown in FIG. (W), the clock ratio detection circuit 66E detects the ratio between the transmission clock CLKA and the reception clock CLKB and outputs an enable signal to the first output thereof. And an inhibit signal is generated at the second output.

【0097】このような許可信号及び禁止信号が発生さ
れている状態において、フリップフロップ回路18がセ
ットされると、アンド回路19から信号が発生される
が、フリップフロップ回路22がセットされても、アン
ド回路23からは信号が発生されない。そのため、アン
ド回路28から送信側レジスタリセット信号29が出力
されるが、アンド回路32からは送信側レジスタリセッ
ト信号33は出力されない。
When the flip-flop circuit 18 is set in a state where such a permission signal and a prohibition signal are generated, a signal is generated from the AND circuit 19, but even if the flip-flop circuit 22 is set, No signal is generated from the AND circuit 23. Therefore, the transmission-side register reset signal 29 is output from the AND circuit 28, but the transmission-side register reset signal 33 is not output from the AND circuit 32.

【0098】したがって、非同期系間データ転送回路1
0Eは、上述した図5に示すタイミングチャートのデー
タ転送の例のように動作する。
Therefore, the asynchronous data transfer circuit 1
0E operates as in the example of the data transfer in the timing chart shown in FIG. 5 described above.

【0099】このように、この実施例の構成によれば、
PCIバス72の動作クロックに変更があった場合に
は、動作クロックの変更後の第2の送信側レジスタリセ
ット信号29(図5の(k),(k´))が送信側レジ
スタ有効フラグ回路16に供給されることとなり、動作
クロックの変更前の第4の送信側レジスタリセット信号
33(図3の(m))に相当する第4の送信側レジスタ
リセット信号33(図5の(m))が送信側レジスタ有
効フラグ回路16に供給されることはなくなるから、第
1実施例において説明したように、データ送出源からの
送信側データ送出の抑止からその解除までの時間が、動
作クロックの変更後に第4の送信側レジスタリセット信
号33が送信側レジスタ有効フラグ回路16に供給され
る場合に比して短くなる。結果として、非同期系間デー
タ転送回路10Eは、送信側レジスタ14から受信側レ
ジスタ54への正常なデータの転送が常に保証されると
同時に、データ転送効率は、動作クロックの変更後に第
4の送信側レジスタリセット信号33を送信側レジスタ
有効フラグ回路16に供給してしまう場合のデータ転送
効率ではなく、変更した動作クロックに最適のデータ転
送効率でデータを転送することができる。
Thus, according to the structure of this embodiment,
When the operation clock of the PCI bus 72 is changed, the second transmission-side register reset signal 29 ((k), (k ′) in FIG. 5) after the change of the operation clock is transmitted to the transmission-side register valid flag circuit. The fourth transmission-side register reset signal 33 ((m) in FIG. 5) corresponding to the fourth transmission-side register reset signal 33 ((m) in FIG. 3) before the change of the operation clock. ) Is no longer supplied to the transmission-side register valid flag circuit 16, and as described in the first embodiment, the time from the suppression of transmission-side data transmission from the data transmission source to its release is determined by the operation clock. After the change, the fourth transmission-side register reset signal 33 is shorter than when supplied to the transmission-side register valid flag circuit 16. As a result, the asynchronous inter-system data transfer circuit 10E always guarantees normal data transfer from the transmission-side register 14 to the reception-side register 54, and at the same time, the data transfer efficiency increases after the change of the operation clock. The data can be transferred with the optimum data transfer efficiency for the changed operation clock instead of the data transfer efficiency when the side register reset signal 33 is supplied to the transmission side register valid flag circuit 16.

【0100】以上、この発明の実施例を図面を参照して
詳述してきたが、この発明の具体的な構成は、これらの
実施例に限られるものではなく、この発明の要旨を逸脱
しない範囲の設計の変更等があってもそれらはこの発明
に含まれる。例えば、いずれの実施例に示す発明思想を
ローカルバス74からPCIバス72へのデータ転送に
用いるように構成することができる。また、バスの形式
は、上述したいずれの形態においても、他のバスの形式
であってもよい。
Although the embodiments of the present invention have been described in detail with reference to the drawings, the specific structure of the present invention is not limited to these embodiments, and does not depart from the gist of the present invention. Even if there is a change in the design, etc., they are included in the present invention. For example, the invention disclosed in any of the embodiments may be configured to be used for data transfer from the local bus 74 to the PCI bus 72. In addition, the bus may be in any of the above-mentioned forms, and may be in the form of another bus.

【0101】これらいずれの実施の形式においても、ク
ロックは、バスを介して供給される他の形式のクロック
相当の信号、又はバスブリッジ回路若しくは非同期系間
データ転送回路内に設けられる同等の信号で代替しても
よい。また、送信側入力データは、転送単位としては、
ビット並列でも、ビット直列でもよい。また、バスを用
いない非同期系間データ転送において、本願の発明思想
を実施することも可能である。また、上述したいずれの
実施の形式においても、データの送受信を無線形式で行
うようにしてもよい。
In each of these embodiments, the clock is a signal corresponding to another type of clock supplied via the bus, or an equivalent signal provided in a bus bridge circuit or an asynchronous data transfer circuit. It may be replaced. In addition, the transmission side input data is expressed as a transfer unit as follows:
Bit parallel or bit serial may be used. Further, in the data transfer between asynchronous systems without using a bus, the inventive idea of the present application can be implemented. In any of the above-described embodiments, data transmission and reception may be performed in a wireless format.

【0102】[0102]

【発明の効果】以上説明したようにこの発明によれば、
送信側の動作クロックに変更があった場合に、その変更
前のリセット信号を選択するのではなく、変更後の動作
クロックに対応したリセット信号を選択するから、デー
タ送出源からの送信側データ送出の抑止からその解除ま
での時間が、動作クロックの変更前のリセット信号に相
当するリセット信号を選択する場合に比して短くなる。
したがって、非同期系間データ転送回路は、送信側から
受信側への正常なデータの転送が常に保証されると同時
に、データ転送効率は、動作クロックの変更前のリセッ
ト信号に相当するリセット信号を選択してしまう場合の
データ転送効率ではなく、変更した動作クロックに最適
のデータ転送効率でデータを転送することができる。
As described above, according to the present invention,
When the operating clock on the transmitting side is changed, instead of selecting the reset signal before the change, the reset signal corresponding to the operating clock after the change is selected. The time from the suppression to the release thereof is shorter than when a reset signal corresponding to the reset signal before the change of the operation clock is selected.
Therefore, the asynchronous inter-system data transfer circuit always guarantees normal data transfer from the transmission side to the reception side, and at the same time, selects a reset signal corresponding to the reset signal before the change of the operation clock in data transfer efficiency. It is possible to transfer data with the optimum data transfer efficiency for the changed operation clock instead of the data transfer efficiency in the case where the data transfer is performed.

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

【図1】この発明の第1実施例である非同期系間データ
転送回路の構成図である。
FIG. 1 is a configuration diagram of a data transfer circuit between asynchronous systems according to a first embodiment of the present invention;

【図2】同非同期系間データ転送回路を有して構成され
るコンピュータシステムのバスブリッジ回路の概略構成
図である。
FIG. 2 is a schematic configuration diagram of a bus bridge circuit of a computer system including the asynchronous inter-system data transfer circuit.

【図3】送受信のクロック周波数比が予め決められた値
である場合の同非同期系間データ転送回路の動作タイミ
ングチャートである。
FIG. 3 is an operation timing chart of the asynchronous inter-system data transfer circuit when a transmission / reception clock frequency ratio is a predetermined value.

【図4】図3に示す動作タイミングチャートにおける送
信側クロックの周波数を2分の1にした場合の同非同期
系間データ転送回路の動作タイミングチャートである。
FIG. 4 is an operation timing chart of the asynchronous inter-system data transfer circuit when the frequency of the transmission-side clock in the operation timing chart shown in FIG. 3 is reduced to half;

【図5】図4の動作タイミングにおいて、図4とは異な
る送信側レジスタリセット信号の選択を示す動作タイミ
ングチャートである。
5 is an operation timing chart showing selection of a transmission-side register reset signal different from that of FIG. 4 at the operation timing of FIG. 4;

【図6】この発明の第2実施例である非同期系間データ
転送回路の構成図である。
FIG. 6 is a configuration diagram of a data transfer circuit between asynchronous systems according to a second embodiment of the present invention;

【図7】この発明の第3実施例である非同期系間データ
転送回路の構成図である。
FIG. 7 is a configuration diagram of a data transfer circuit between asynchronous systems according to a third embodiment of the present invention;

【図8】この発明の第4実施例である非同期系間データ
転送回路の構成図である。
FIG. 8 is a configuration diagram of an asynchronous inter-system data transfer circuit according to a fourth embodiment of the present invention.

【図9】この発明の第5実施例である非同期系間データ
転送回路の構成図である。
FIG. 9 is a configuration diagram of a data transfer circuit between asynchronous systems according to a fifth embodiment of the present invention.

【図10】この発明の第5実施例である非同期系間デー
タ転送回路の構成図である。
FIG. 10 is a configuration diagram of a data transfer circuit between asynchronous systems according to a fifth embodiment of the present invention.

【図11】従来の1つの形式の非同期系間データ転送回
路の構成図である。
FIG. 11 is a configuration diagram of a conventional one-type asynchronous inter-system data transfer circuit.

【図12】従来の他の形式の非同期系間データ転送回路
の構成図である。
FIG. 12 is a configuration diagram of another conventional asynchronous inter-system data transfer circuit.

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

10、10A、10B、10C、10D 非同期系
間データ転送回路 14 送信側レジスタ(データ保持回路) 16 送信側レジスタ有効フラグ回路(第1の回
路) 18〜22,34〜38,56,58 フリップフ
ロップ回路(リセツト信号発生回路の一部) 19,23,26〜32,40,42A アンド回
路(リセツト信号発生回路の残部) 42,42B セレクタ(選択回路) 66,66B クロック比検出回路(選択信号出力
回路) 66C 切り換えスイッチ(選択信号出力回路) 66D 設定レジスタ(選択信号出力回路) 72 PCIバス等(データ送信装置) 74 ローカルバス等(データ受信装置)
10, 10A, 10B, 10C, 10D Data transfer circuit between asynchronous systems 14 Transmitter register (data holding circuit) 16 Transmitter register valid flag circuit (first circuit) 18-22, 34-38, 56, 58 Flip-flop Circuits (part of reset signal generation circuit) 19, 23, 26 to 32, 40, 42A AND circuit (remaining reset signal generation circuit) 42, 42B Selector (selection circuit) 66, 66B Clock ratio detection circuit (selection signal output) Circuit) 66C changeover switch (selection signal output circuit) 66D setting register (selection signal output circuit) 72 PCI bus etc. (data transmission device) 74 Local bus etc. (data reception device)

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 第1のタイミングで送信動作するデータ
送信装置と該第1のタイミングと異なる第2のタイミン
グで受信動作するデータ受信装置との間に介挿され、前
記データ送信装置から前記データ受信装置へデータを転
送単位毎に転送する非同期系間データ転送回路であっ
て、 前記データ送信装置から入力されたデータを転送単位で
一時保持するデータ保持回路と、 前記データが前記データ保持回路に保持されるときの前
記第1のタイミングと所定の関係にあるタイミングでデ
ータ保持有効信号を出力すると共に、該データ保持有効
信号を前記データ送信装置へ供給して次のデータの転送
を抑止し、リセット信号が供給されたときデータ保持有
効信号の出力を停止する第1の回路と、 該第1の回路の出力に接続され、前記データ保持有効信
号を受けて前記データ保持有効信号の出力時刻から、前
記タイミングを変更した場合に前記データが前記データ
保持回路から前記データ受信装置へ転送単位で正常に転
送されてしまうまでの所定の時間が経過した時刻に、前
記変更したタイミング対応のリセット信号を発生し、該
リセット信号を前記第1の回路に供給するリセット信号
発生回路とを備え、 前記リセット信号の供給により、前記第1の回路から前
記データ保持有効信号の出力が停止したとき、前記抑止
を解除して次のデータを前記データ送信装置から前記デ
ータ保持回路へ転送させることを特徴とする非同期系間
データ転送回路。
1. A data transmission device, which performs transmission at a first timing, and a data reception device, which performs reception at a second timing different from the first timing, is inserted between the data transmission device and the data transmission device. An asynchronous inter-system data transfer circuit that transfers data to a receiving device for each transfer unit, a data holding circuit that temporarily holds data input from the data transmitting device in a transfer unit, and wherein the data is stored in the data holding circuit. Outputting a data holding valid signal at a timing having a predetermined relationship with the first timing when the data is held, and supplying the data holding valid signal to the data transmitting device to suppress transfer of the next data; A first circuit for stopping the output of the data holding valid signal when a reset signal is supplied, and a first circuit connected to an output of the first circuit, A predetermined time elapses from the output time of the data holding valid signal in response to the signal until the data is normally transferred from the data holding circuit to the data receiving device in a transfer unit when the timing is changed. And a reset signal generating circuit for generating a reset signal corresponding to the changed timing and supplying the reset signal to the first circuit at a time when the reset signal is supplied. An asynchronous inter-system data transfer circuit, wherein when the output of the data holding valid signal is stopped, the inhibition is released and the next data is transferred from the data transmitting device to the data holding circuit.
【請求項2】 前記リセット信号発生回路は、変更可能
な前記第1のタイミング及び前記第2のタイミングの対
の各々に対応するリセット信号候補を発生するリセット
信号候補発生回路と、 前記第1のタイミング及び前記第2のタイミングの各対
に対応する選択信号を出力する選択信号出力回路と、 前記リセット信号候補発生回路から出力されている前記
各リセット信号候補のうちから前記選択信号出力回路か
ら出力された選択信号に対応するリセット信号候補を選
択してリセット信号として出力する選択回路とで構成さ
れることを特徴とする請求項1に記載の非同期系間デー
タ転送回路。
2. The reset signal generation circuit, wherein the reset signal generation circuit generates reset signal candidates corresponding to each of the pair of the first timing and the second timing which can be changed; A selection signal output circuit that outputs a selection signal corresponding to each pair of timing and the second timing; and an output from the selection signal output circuit from among the reset signal candidates output from the reset signal candidate generation circuit. 2. The asynchronous inter-system data transfer circuit according to claim 1, further comprising a selection circuit for selecting a reset signal candidate corresponding to the selected selection signal and outputting the selected reset signal as a reset signal.
【請求項3】 前記リセット信号候補発生回路及び前記
選択回路は、固定の論理回路で構成されていることを特
徴とする請求項2に記載の非同期系間データ転送回路。
3. The asynchronous inter-system data transfer circuit according to claim 2, wherein said reset signal candidate generation circuit and said selection circuit are constituted by fixed logic circuits.
【請求項4】 前記リセット信号候補発生回路及び前記
選択回路は、構成データを格納する構成データ格納手段
と、該構成データ格納手段から読み出された構成データ
対応の論理を設定可能な回路とで構成されていることを
特徴とする請求項2に記載の非同期系間データ転送回
路。
4. The reset signal candidate generation circuit and the selection circuit include configuration data storage means for storing configuration data, and a circuit capable of setting logic corresponding to configuration data read from the configuration data storage means. 3. The asynchronous inter-system data transfer circuit according to claim 2, wherein the circuit is configured.
【請求項5】 前記選択信号出力回路は、データ送信装
置のクロックの周波数とデータ受信装置のクロックの周
波数との比を検出し、検出された比に対応する選択信号
を前記選択回路へ供給する回路であることを特徴とする
請求項2、3又は4に記載の非同期系間データ転送回
路。
5. The selection signal output circuit detects a ratio between a clock frequency of a data transmission device and a clock frequency of a data reception device, and supplies a selection signal corresponding to the detected ratio to the selection circuit. 5. The asynchronous inter-system data transfer circuit according to claim 2, wherein the circuit is a circuit.
【請求項6】 前記選択信号出力回路は、送信側バスに
接続され規格変更信号を出力するコントローラと、該コ
ントローラから前記送信側バスを経て供給された規格変
更信号に対応する選択信号を前記選択回路へ供給する回
路とで構成されることを特徴とする請求項2、3又は4
に記載の非同期系間データ転送回路。
6. The controller according to claim 1, wherein the selection signal output circuit is connected to a transmission-side bus and outputs a standard change signal, and the controller selects the selection signal corresponding to the standard change signal supplied from the controller via the transmission-side bus. 5. A circuit for supplying a signal to a circuit.
2. The asynchronous inter-system data transfer circuit according to 1.
【請求項7】 前記選択信号出力回路は、送信側バスに
接続され動作モード信号を出力するコントローラと、該
コントローラから前記送信側バスを経て供給された動作
モード信号に対応する選択信号を前記選択回路へ供給す
る回路とで構成されることを特徴とする請求項2、3又
は4に記載の非同期系間データ転送回路。
7. The selection signal output circuit is connected to a transmission-side bus and outputs an operation mode signal. The selection signal output circuit selects the selection signal corresponding to the operation mode signal supplied from the controller via the transmission-side bus. 5. The asynchronous data transfer circuit according to claim 2, further comprising a circuit for supplying the data to the circuit.
【請求項8】 前記選択信号出力回路は、切り換えによ
り出力されるリセット信号を出力する切り換えスイッチ
であり、切り換えスイッチの切り換えで出力される切り
換え信号が選択信号として前記選択回路へ供給されるこ
とを特徴とする請求項2、3又は4に記載の非同期系間
データ転送回路。
8. The selection signal output circuit is a changeover switch that outputs a reset signal output by switching, and a switching signal output by switching the changeover switch is supplied to the selection circuit as a selection signal. 5. The asynchronous data transfer circuit according to claim 2, 3 or 4.
【請求項9】 前記第1の回路での前記データのセット
は、前記データ送信装置のクロックに基づいて行い、前
記リセット信号発生回路での前記リセット信号の発生
は、前記データ送信装置のクロックと前記データ送信装
置のクロック及び前記データ受信装置のクロックとのい
ずれか一方に基づいて行うことを特徴とする請求項1乃
至8のいずれか一に記載の非同期系間データ転送回路。
9. The data setting in the first circuit is performed based on a clock of the data transmission device, and the generation of the reset signal in the reset signal generation circuit is performed in synchronization with a clock of the data transmission device. 9. The asynchronous inter-system data transfer circuit according to claim 1, wherein the transfer is performed based on one of a clock of the data transmission device and a clock of the data reception device.
【請求項10】 前記リセット信号発生回路は、変更可
能な前記第1のタイミングと前記第2のタイミングとの
対のうちの変更対象の対に対しては許可信号を、変更非
対象の対に対しては禁止信号を対対応別の出力に発生す
る第1の信号発生回路と、 該第1の信号発生回路の各出力対応の入力を有すると共
に、該入力に対応するリセット信号出力を有し、前記第
1の信号発生回路から供給される禁止信号に対応するリ
セット信号出力にはリセット信号を発生せず、前記第1
の信号発生回路から供給される許可信号に対応するリセ
ット信号出力にリセット信号を発生する第2信号発生回
路と、 該第2の信号発生回路の各別の出力に接続され、発生さ
れたリセット信号のみを出力する出力回路とから構成さ
れることを特徴とする請求項1記載の非同期系間データ
転送回路。
10. The reset signal generation circuit outputs a permission signal to a change target pair among the changeable first timing and the second timing pair, and to a non-change target pair. A first signal generation circuit for generating an inhibit signal at a corresponding output, and an input corresponding to each output of the first signal generation circuit, and a reset signal output corresponding to the input. The reset signal output corresponding to the inhibit signal supplied from the first signal generation circuit does not generate a reset signal,
A second signal generation circuit for generating a reset signal at a reset signal output corresponding to a permission signal supplied from the signal generation circuit, and a reset signal generated by being connected to each other output of the second signal generation circuit 2. The asynchronous inter-system data transfer circuit according to claim 1, further comprising an output circuit for outputting only the data.
【請求項11】 前記第1の信号発生回路は、データ送
信装置のクロックの周波数とデータ受信装置のクロック
の周波数との比を検出し、検出した該比が変更対象であ
るとき該変更対象に対応する出力に許可信号を、検出し
た前記比が変更非対象であるとき該変更非対象に対応す
る出力に禁止信号を発生することを特徴とする請求項1
0に記載の非同期系間データ転送回路。
11. The first signal generation circuit detects a ratio between a clock frequency of a data transmission device and a clock frequency of a data reception device, and when the detected ratio is a change target, the first signal generation circuit determines the change target. 2. The apparatus according to claim 1, wherein a permission signal is generated at a corresponding output, and a prohibition signal is generated at an output corresponding to the non-change target when the detected ratio is non-change target.
0. The asynchronous inter-system data transfer circuit according to 0.
【請求項12】 前記第1の信号発生回路は、送信側バ
スに接続され規格変更信号を出力するコントローラと前
記送信側バスに接続される信号変換回路とで構成され、
該コントローラから出力された規格変更信号が変更対象
であるとき前記信号変換回路は、変更対象に対応する出
力に許可信号を、前記規格変更信号が変更非対象である
とき前記信号変換回路は、変更非対象に対応する出力に
禁止信号を出力することを特徴とする請求項10に記載
の非同期系間データ転送回路。
12. The first signal generation circuit includes a controller connected to a transmission bus and outputting a standard change signal, and a signal conversion circuit connected to the transmission bus.
When the standard change signal output from the controller is a change target, the signal conversion circuit outputs a permission signal to an output corresponding to the change target, and when the standard change signal is non-change target, the signal conversion circuit changes the enable signal. 11. The asynchronous intersystem data transfer circuit according to claim 10, wherein a prohibition signal is output to an output corresponding to an asymmetric object.
【請求項13】 前記第1の信号発生回路は、送信側バ
スに接続され動作モード信号を出力するコントローラ及
び前記送信側バスに接続される信号変換回路から構成さ
れ、該コントローラから出力された規格変更信号が変更
対象であるとき前記信号変換回路は、変更対象に対応す
る出力に許可信号を、前記規格変更信号が変更対象でな
いとき前記信号変換回路は、変更非対象に対応する出力
に禁止信号を出力することを特徴とする請求項10に記
載の非同期系間データ転送回路。
13. The first signal generation circuit includes a controller connected to a transmission-side bus and outputting an operation mode signal, and a signal conversion circuit connected to the transmission-side bus, and a standard output from the controller. When the change signal is a change target, the signal conversion circuit outputs a permission signal to an output corresponding to the change target, and when the standard change signal is not a change target, the signal conversion circuit outputs a prohibition signal to an output corresponding to the non-change target. 11. The asynchronous inter-system data transfer circuit according to claim 10, wherein
【請求項14】 前記第1の信号発生回路は、切り換え
により出力されるリセット信号を出力する切り換えスイ
ッチであり、該切り換えスイッチの変更対象に対応する
出力に許可信号が出力され、前記切り換えスイッチの変
更非対象に対応する出力に禁止信号が出力されることを
特徴とする請求項10に記載の非同期系間データ転送回
路。
14. The first signal generation circuit is a changeover switch that outputs a reset signal that is output by switching, and an enable signal is output to an output corresponding to a change target of the changeover switch. The asynchronous inter-system data transfer circuit according to claim 10, wherein a prohibition signal is output to an output corresponding to a non-change target.
【請求項15】 前記第2の信号発生回路及び前記出力
回路は、固定の論理回路で構成されることを特徴とする
請求項10乃至14のいずれか一に記載の非同期系間デ
ータ転送回路。
15. The data transfer circuit according to claim 10, wherein the second signal generation circuit and the output circuit are configured by fixed logic circuits.
【請求項16】 前記第2の信号発生回路及び前記出力
回路は、構成データを格納する構成データ格納手段と、
該構成データ格納手段から読み出された構成データ対応
の論理を設定可能な回路とで構成されることを特徴とす
る請求項10乃至14のいずれか一に記載の非同期系間
データ転送回路。
16. A configuration data storage unit configured to store configuration data, wherein the second signal generation circuit and the output circuit store configuration data.
15. The asynchronous inter-system data transfer circuit according to claim 10, comprising a circuit capable of setting a logic corresponding to the configuration data read from said configuration data storage means.
【請求項17】 前記第1の回路での前記データのセッ
トは、前記データ送信装置のクロックに基づいて行い、
前記リセット信号発生回路での前記リセット信号の発生
は、前記データ送信装置のクロックと前記データ送信装
置のクロック及び前記データ受信装置のクロックとのい
ずれか一方に基づいて行うことを特徴とする請求項1、
10乃至16のいずれか一に記載の非同期系間データ転
送回路。
17. The data setting in the first circuit is performed based on a clock of the data transmission device,
The generation of the reset signal in the reset signal generation circuit is performed based on one of a clock of the data transmission device, a clock of the data transmission device, and a clock of the data reception device. 1,
17. The asynchronous inter-system data transfer circuit according to any one of 10 to 16.
【請求項18】 所定の第1のタイミングで送信動作す
るデータ送信装置から該第1のタイミングと異なる第2
のタイミングで受信動作するデータ受信装置へデータを
転送単位毎に転送しようとする際に、転送しようとする
データが前記データ送信装置のデータ送出手段から前記
データ送信装置のデータ保持手段に転送単位で保持され
たとき、当該データが前記データ保持手段から前記デー
タ受信装置へ転送単位で正常に転送されてしまうまでの
所定の時間の間、前記データ送出手段から前記データ保
持手段への次のデータの転送を抑止し、 前記所要の時間の経過時に、前記抑止を解除し、 前記抑止が解除されたとき、前記次のデータを前記デー
タ送出手段から前記データ保持手段に転送単位で保持さ
せて前記次のデータの転送を開始させる非同期系間デー
タ転送方法において、 前記タイミングを変更した場合に、前記所定の時間を変
更した前記タイミングに対応した時間に変更し、 変更された時間の経過時に前記抑止を解除して前記次の
データを前記データ送出手段から前記データ保持手段に
転送単位で保持させて前記データ送信装置から前記デー
タ受信装置へデータを転送単位で転送することを特徴と
する非同期系間データ転送方法。
18. A data transmission apparatus that performs transmission operation at a predetermined first timing from a second data transmission device different from the first timing.
When data is to be transferred to the data receiving device operating at the timing of the transfer in units of transfer, the data to be transferred is transferred from the data transmitting unit of the data transmitting device to the data holding unit of the data transmitting device in units of transfer. When the data is held, during a predetermined time until the data is normally transferred from the data holding unit to the data receiving device in a transfer unit, the next data from the data sending unit to the data holding unit is transferred from the data sending unit to the data holding unit. Inhibiting the transfer, releasing the inhibition when the required time elapses, and releasing the inhibition when the inhibition is released, causing the data sending unit to hold the next data from the data sending unit to the data holding unit, and In the asynchronous inter-system data transfer method for initiating data transfer, the method further comprises: The data is transmitted from the data transmitting device to the data transmitting device, and the data is transmitted from the data transmitting device to the data retaining device. A data transfer method between asynchronous systems, wherein data is transferred to a receiving device in a transfer unit.
JP2000126717A 2000-04-26 2000-04-26 Asynchronous system data transfer circuit and asynchronous system data transfer method Expired - Fee Related JP3536777B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000126717A JP3536777B2 (en) 2000-04-26 2000-04-26 Asynchronous system data transfer circuit and asynchronous system data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000126717A JP3536777B2 (en) 2000-04-26 2000-04-26 Asynchronous system data transfer circuit and asynchronous system data transfer method

Publications (2)

Publication Number Publication Date
JP2001306491A true JP2001306491A (en) 2001-11-02
JP3536777B2 JP3536777B2 (en) 2004-06-14

Family

ID=18636441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000126717A Expired - Fee Related JP3536777B2 (en) 2000-04-26 2000-04-26 Asynchronous system data transfer circuit and asynchronous system data transfer method

Country Status (1)

Country Link
JP (1) JP3536777B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6898725B2 (en) * 2002-03-27 2005-05-24 International Business Machines Corporation Method for adjusting system clocks using dynamic clock ratio detector to detect clock ratio between clock domain of driver and counting receiver clock domain
JP2012199656A (en) * 2011-03-18 2012-10-18 Fujitsu Semiconductor Ltd Data transfer system, data transfer device, and data transfer method
JP2014045423A (en) * 2012-08-28 2014-03-13 Nec Engineering Ltd Data transfer device, data transfer method and program
US8774292B2 (en) 2011-11-14 2014-07-08 Fujitsu Semiconductor Limited Data transfer system, data transfer method, receiving circuit, and receiving method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6898725B2 (en) * 2002-03-27 2005-05-24 International Business Machines Corporation Method for adjusting system clocks using dynamic clock ratio detector to detect clock ratio between clock domain of driver and counting receiver clock domain
JP2012199656A (en) * 2011-03-18 2012-10-18 Fujitsu Semiconductor Ltd Data transfer system, data transfer device, and data transfer method
US8774292B2 (en) 2011-11-14 2014-07-08 Fujitsu Semiconductor Limited Data transfer system, data transfer method, receiving circuit, and receiving method
JP2014045423A (en) * 2012-08-28 2014-03-13 Nec Engineering Ltd Data transfer device, data transfer method and program

Also Published As

Publication number Publication date
JP3536777B2 (en) 2004-06-14

Similar Documents

Publication Publication Date Title
US8867573B2 (en) Transferring data between asynchronous clock domains
US7420869B2 (en) Memory device, use thereof and method for synchronizing a data word
KR20150039142A (en) Serial peripheral interface with control logic for system performance improvement, and method therefor
JP2001306491A (en) Circuit and method for transferring data between asynchronous systems
JPH11167560A (en) Data transfer system, switching circuit used to the transfer system, adapter, integrated circuit having the transfer system and data transfer method
EP1211603B1 (en) Interface for multi-processor
KR20060103079A (en) Serial interface circuit
JPH10222464A (en) Synchronous serial data transfer device
CN104915316A (en) Communication device
KR100681371B1 (en) Post write buffer for a dual clock system
EP3739463B1 (en) Circuit for asynchronous data transfer
JP2002055937A (en) Usb device
JP3586603B2 (en) Data transfer device and data transfer method
JP3950661B2 (en) Data transmission device
KR100295683B1 (en) General call acknowledge apparatus and method for inter-integrated circuit
KR0162768B1 (en) Queue synchronizing control circuit of interrupt processor in hipi + bus
KR200233848Y1 (en) Universal asynchronous receiver/transmitter
JPH10224402A (en) Data transfer method
JPH11242651A (en) Interface
JP2007206878A (en) Clock synchronous serial interface circuit
JPH1174893A (en) Data communication equipment and its communication method
JPH08179893A (en) Information processor
JPH10210085A (en) Data transmission controller
JPH0895903A (en) Segment bus system, data transfer method and bus arbitrating method for the system
JPH10173732A (en) Data transmitter-receiver

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040308

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080326

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090326

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090326

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100326

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100326

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110326

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees