JP2002182993A - Bus interface circuit and initiator target system using the same - Google Patents

Bus interface circuit and initiator target system using the same

Info

Publication number
JP2002182993A
JP2002182993A JP2000382677A JP2000382677A JP2002182993A JP 2002182993 A JP2002182993 A JP 2002182993A JP 2000382677 A JP2000382677 A JP 2000382677A JP 2000382677 A JP2000382677 A JP 2000382677A JP 2002182993 A JP2002182993 A JP 2002182993A
Authority
JP
Japan
Prior art keywords
data transfer
time
bus
initiator
transfer time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000382677A
Other languages
Japanese (ja)
Inventor
Hiroya Yasuda
浩哉 安田
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 Miyagi Ltd
Original Assignee
NEC Miyagi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Miyagi Ltd filed Critical NEC Miyagi Ltd
Priority to JP2000382677A priority Critical patent/JP2002182993A/en
Publication of JP2002182993A publication Critical patent/JP2002182993A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform self-restoration in a hardware level even in the case of non-response concerning the response of a control signal. SOLUTION: Each one of more than one target side units 2 transfers data with an initiator side unit 1 by a hand shake system protocol by each first bus interface part through the use of an SCSI bus 3 which is provided with the control signal and a data bus. The initiator side unit 1 transfers data with the target side units 2 by the hand shake system protocol by a bus interface circuit 4 through the use of the SCSI bus 3, monitors the state of the control signal to be used for hand-shake, grasps the situation of data transfer from the state of the control signal, measures a data transfer time, interrupts data transfer when the measured data transfer time becomes a predetermined time and releases the SCSI bus 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はバスインターフェー
ス回路およびこの回路を使用したイニシエータ・ターゲ
ットシステムに関し、特にバスを使用してハンドシェイ
ク方式のプロトコルでデータ転送を行うバスインターフ
ェース回路およびこの回路を使用したイニシエータ・タ
ーゲットシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus interface circuit and an initiator / target system using the circuit, and more particularly to a bus interface circuit for transferring data by a handshake protocol using a bus and a bus interface circuit using the bus interface circuit. Regarding the initiator / target system.

【0002】[0002]

【従来の技術】従来、この種のバスインターフェース回
路およびこの回路を使用したイニシエータ・ターゲット
システムは、バスを使用してハンドシェイク方式のプロ
トコルでデータ転送を行うために用いられている。
2. Description of the Related Art Conventionally, a bus interface circuit of this kind and an initiator / target system using this circuit have been used to transfer data by a handshake protocol using a bus.

【0003】このようなデータ転送を行うバスには、既
知の技術として制御信号とデータバスとを有する例えば
SCSI(スモール・コンピュータ・システム・インタ
ーフェース)バスがあげられる。従来技術によるデータ
転送のタイミングチャートを示す図9〜図13を用い
て、このSCSIバスに接続した、例えばホストコンピ
ュータ,ディスクコントローラ及びその他の周辺機器等
を示す、イニシエータ側装置とターゲット側装置との間
でそれぞれの装置に備えたバスインターフェース回路を
用いてハンドシェイクによりデータ転送するときの動作
の例を示す。
As a bus for performing such data transfer, for example, a SCSI (Small Computer System Interface) bus having a control signal and a data bus is known as a known technique. Referring to FIGS. 9 to 13 showing timing charts of data transfer according to the prior art, an initiator-side device and a target-side device, for example, showing a host computer, a disk controller and other peripheral devices connected to this SCSI bus. An example of an operation at the time of data transfer by handshake using a bus interface circuit provided in each device between the devices will be described.

【0004】図9はターゲット側装置からイニシエータ
側装置へのデータ転送時のタイミングチャートである。
ターゲット側装置は時刻T1にバス上にデータを出力し
(データを出力したときがT1であったということであ
り、他のTnで示す時刻も同様に、単にハンドシェイク
によるデータ転送時のある時刻を意味する。)、その
後、制御信号であるREQをアサートし(すなわち、信
号をアクティブにし)てイニシエータ側装置に対してデ
ータ転送を要求する。イニシエータ側装置はREQのア
サートを受けて例えばデータバスがビジーのときデータ
を取り込むと同時に、制御信号であるACKをアサート
してターゲット側装置に応答する(時刻T3)。ターゲ
ット側装置はACKのアサートを受けてREQを解除
し、データバスに対するデータ出力を停止する(時刻T
4)。イニシエータ側装置はREQの解除を受けてAC
Kを解除する。
FIG. 9 is a timing chart when data is transferred from the target device to the initiator device.
The target-side device outputs data on the bus at time T1 (that is, the time when data was output was T1, and the other time indicated by Tn is similarly a certain time during data transfer simply by handshake). After that, REQ, which is a control signal, is asserted (that is, the signal is made active) to request the initiator-side device to perform data transfer. In response to the assertion of REQ, the initiator-side device takes in data when the data bus is busy, for example, and at the same time, asserts ACK as a control signal and responds to the target-side device (time T3). The target device releases REQ in response to the assertion of ACK, and stops outputting data to the data bus (at time T
4). In response to the release of REQ, the initiator device
Release K.

【0005】図10はイニシエータ側装置からターゲッ
ト側装置へのデータ転送時のタイミングチャートであ
る。ターゲット側装置はREQをアサートしてイニシエ
ータ側装置にデータ転送要求を行う(時刻T1)。イニ
シエータ側装置はREQのアサートを受けて例えばデー
タバスがビジーでないときデータバスにデータを出力し
(時刻T2)、ACKをアサートしてターゲット側装置
に応答する(時刻T3)。ターゲット側装置はACKの
アサートを受け、データバス上のデータを取り込むと同
時にREQを解除する(時刻T4)、イニシエータ側装
置はREQの解除を受けてACKを解除する。
FIG. 10 is a timing chart at the time of data transfer from the initiator side device to the target side device. The target device asserts REQ and makes a data transfer request to the initiator device (time T1). In response to the assertion of REQ, the initiator device outputs data to the data bus when the data bus is not busy (time T2), and asserts ACK to respond to the target device (time T3). The target-side device receives the assertion of ACK, takes in the data on the data bus, and releases REQ at the same time (time T4), and the initiator-side device releases ACK in response to the release of REQ.

【0006】このようなハンドシェイク方式でのデータ
転送は、確実な転送が可能な反面、何らかの理由でハン
ドシェイクが不正な状態に陥った場合に、ハードウェア
レベルでは異常を検出することができずに誤動作すると
いう問題がある。不正な状態を引き起こす要因として
は、第一にハンドシェイク用の制御信号にノイズが付加
することにより、不正な応答を検出してしまう場合と、
第二にバスインターフェース回路が電気的なノイズによ
って誤動作したり制御信号の伝送路が物理的に破損等し
て信号が届かない等により、応答の検出に失敗して無応
答になる場合とが考えられる。まず、制御信号に対する
ノイズの混入により、不正な応答が検出されてしまう場
合の動作について説明する。一例として図11にACK
にノイズが混入した場合の動作を示す。転送方向はター
ゲット側装置からイニシエータ側装置である。ターゲッ
ト側装置が時刻T1にデータバスに転送データを出力
し、時刻T2にREQをアサートする。イニシエータ側
装置はこのREQを受けてACKをアサートする(時刻
T3)。通常、アサートされたACKは(図9と同様
に)REQが解除されてから解除する(時刻T5)。し
かし、ACK信号に対して、無視できないノイズ(T3
1〜T41)が混入した場合、バスインターフェース回
路は誤った動作を行う恐れが有る。即ち、イニシエータ
側装置は通常動作通り時刻T3でデータバス上のデータ
を取り込み、ACKをアサートし、REQ解除を待って
時刻T5にACKを解除する。これに対し、ターゲット
側装置はT31でのACK解除を誤検出して次の転送デ
ータ(Data(2))をデータバスに出力してしまう
(時刻T42)。そして一定のマージン(例えば、数十
ns〜数百ns:但し、各装置の動作クロックに依存す
るため、この範囲以外の場合もあり得る。)取得後、R
EQをアサートしてしまう(時刻T51)。その後T4
1でACKのノイズが解除されたのをACKのアサート
と誤認識してしまうため、再度REQを解除してしまう
(時刻T52)。つまり、ターゲット側装置では二つの
データ(Data(1),Data(2))を転送した
と認識したにも関わらず、イニシエータ側装置では一つ
のデータ(Data(1))しか取り込めていないとい
う状態になる。
[0006] Such data transfer by the handshake method enables reliable transfer, but when the handshake falls into an invalid state for some reason, an abnormality cannot be detected at the hardware level. Have a problem of malfunction. Factors that cause an invalid state include, firstly, a case where an incorrect response is detected by adding noise to a control signal for handshake,
Secondly, it is considered that response detection fails and there is no response because the bus interface circuit malfunctions due to electrical noise or the transmission path of the control signal is physically damaged and the signal does not arrive. Can be First, an operation in a case where an incorrect response is detected due to the noise mixed with the control signal will be described. As an example, FIG.
Shows the operation in the case where noise is mixed in the data. The transfer direction is from the target device to the initiator device. The target device outputs the transfer data to the data bus at time T1, and asserts REQ at time T2. Upon receiving this REQ, the initiator-side device asserts ACK (time T3). Normally, the asserted ACK is released after the REQ is released (similar to FIG. 9) (time T5). However, noise (T3
1 to T41), the bus interface circuit may operate erroneously. That is, the initiator-side device fetches data on the data bus at time T3 as usual, asserts ACK, and releases ACK at time T5 after waiting for REQ release. On the other hand, the target-side device erroneously detects the ACK release at T31 and outputs the next transfer data (Data (2)) to the data bus (time T42). Then, after obtaining a certain margin (for example, several tens to several hundreds of ns; however, depending on the operation clock of each device, there may be a case outside this range.)
EQ is asserted (time T51). Then T4
Since the cancellation of the ACK noise in step 1 is erroneously recognized as the assertion of the ACK, the REQ is canceled again (time T52). In other words, although the target device recognizes that two data (Data (1), Data (2)) have been transferred, the initiator device can capture only one data (Data (1)). become.

【0007】次に制御信号が無応答になった場合の動作
について例を示して説明する。図12にイニシエータ側
装置からのACKのアサートをターゲット側装置が検出
出来なかった場合の動作を示す。ターゲット側装置は時
刻T1にデータバスに転送データを出力し、T2でRE
Qをアサートしてイニシエータ側装置に転送要求を通知
する。ターゲット側装置において、時刻T3でアサート
されるはずのACKが検出できなかった場合、ターゲッ
ト側装置のバスインターフェース回路は、ACKアサー
ト待ちのまま待機し続けてしまう。イニシエータ側装置
でもREQが解除されないためACKを解除出来ないの
で、データバスは占有されたままシステム全体がデッド
ロック状態になる。
Next, the operation when the control signal becomes unresponsive will be described with reference to an example. FIG. 12 shows an operation when the target device cannot detect the assertion of ACK from the initiator device. The target-side device outputs the transfer data to the data bus at time T1, and outputs the transfer data at T2.
Assert Q to notify the initiator device of the transfer request. If the target-side device cannot detect an ACK that should be asserted at time T3, the bus interface circuit of the target-side device keeps waiting with ACK assertion. Since the REQ cannot be released even in the initiator-side device, the ACK cannot be released, so that the entire system is deadlocked while the data bus is occupied.

【0008】同様にターゲット側装置からのREQ解除
がイニシエータ側装置で検出できなかった場合の動作を
図13に示す。イニシエータ側装置において、時刻T4
の時点で解除されるべきREQが検出されなければ、イ
ニシエータ側装置のバスインターフェース回路はREQ
解除待ちのまま待機し続けてしまう。ターゲット側装置
もACKが解除されないため、次のデータの転送に移行
することが出来ないので、この場合もシステムがデッド
ロック状態になる。
[0008] Similarly, FIG. 13 shows an operation in the case where the REQ release from the target device cannot be detected by the initiator device. At the initiator side device, the time T4
If the REQ to be released is not detected at the point of time, the bus interface circuit of the initiator device
It keeps waiting for release. Since the ACK is not released from the target-side device, it is not possible to shift to the next data transfer. In this case, the system is in a deadlock state.

【0009】このような問題により発生するデッドロッ
ク状態から復旧するためには、例えば、一定の間隔でデ
ータバスの状態をポーリングし、データバスが一定期間
ビジー状態のまま解放されなければ、デッドロック状態
と判定して、SCSIバスに接続されている機器にリセ
ット処理を行う等、ソフトウェアにより監視して復旧処
理を行う必要がある。
In order to recover from the deadlock state caused by such a problem, for example, the state of the data bus is polled at a certain interval, and if the data bus is not released from being busy for a certain period, the deadlock is performed. It is necessary to perform recovery processing by monitoring with software, such as resetting a device connected to the SCSI bus, by determining that the device is in the state.

【0010】また、転送プロトコルエラーのハードウェ
アレベルの検出方式として、例えば特開2000−21
5113号公報に開示されている方式では、エラー検出
回路を示す図14に示すようにREQとACKの信号の
値を監視して、二つの制御信号の値が正常時には取りえ
ない組み合わせになった時に、異常と判定する方法が提
案されている。REQまたはACKに対してノイズが混
入したことによりハンドシェイクが不正な状態になった
場合、すなわち前述した第一の要因の場合は、REQと
ACKの同期が誤った組み合わせになるため、この方式
で検出することが可能である。しかし制御信号が無応答
となった第二の要因の場合では、REQとACKの状態
は正常な組み合わせであるため、エラーと判定すること
が出来ず、システムのデッドロックを回避出来すること
が出来ない。
As a hardware level detection method of a transfer protocol error, for example, Japanese Patent Laid-Open No. 2000-21
In the method disclosed in Japanese Patent Application Laid-Open No. 5113, the values of the REQ and ACK signals are monitored as shown in FIG. 14 showing an error detection circuit, and the combination of the two control signal values cannot be taken in a normal state. Sometimes, a method of determining an abnormality has been proposed. In the case where the handshake is in an invalid state due to the noise mixed with the REQ or ACK, that is, in the case of the first cause described above, the synchronization of the REQ and the ACK is incorrectly combined. It is possible to detect. However, in the case of the second cause in which the control signal is not responding, since the status of REQ and ACK is a normal combination, it cannot be determined that an error has occurred, and the system deadlock can be avoided. Absent.

【0011】[0011]

【発明が解決しようとする課題】上述した従来のバスイ
ンターフェース回路およびこの回路を使用したイニシエ
ータ・ターゲットシステムは、転送プロトコルエラーの
検出を、特開2000−215113号公報に開示の方
式で行っている。すなわち、エラー検出回路によりRE
QとACKの信号の値を監視して、二つの制御信号の値
が正常時には取りえない組み合わせになった時に、異常
と判定するようにしている。このため、REQまたはA
CKに対してノイズが混入したことによりハンドシェイ
クが不正な状態になった場合(すなわち前述した第一の
要因の場合)は、REQとACKの同期が誤った組み合
わせになるため、この方式で検出することが可能であ
る。しかし、制御信号が無応答となった第二の要因の場
合では、REQとACKの状態は正常な組み合わせであ
るため、エラーと判定することが出来ず、デッドロック
の状態を回避することができないという問題がある。ま
た、ソフトウェアによりデッドロック状態から復旧する
ためには、ソフトウェアにより監視して復旧処理を行う
必要があるため、ソフトウェア処理の負荷が増大すると
いう問題がある。
The above-described conventional bus interface circuit and the initiator / target system using the circuit detect a transfer protocol error by the method disclosed in Japanese Patent Application Laid-Open No. 2000-215113. . That is, the error detection circuit
The values of the Q and ACK signals are monitored, and when the values of the two control signals are in a combination that cannot be taken under normal conditions, it is determined that there is an abnormality. Therefore, REQ or A
If the handshake is in an invalid state due to the noise mixed with the CK (that is, in the case of the first cause described above), the synchronization between the REQ and the ACK results in an incorrect combination. It is possible to However, in the case of the second cause in which the control signal has become non-responsive, since the states of REQ and ACK are a normal combination, it cannot be determined that an error has occurred, and a deadlock state cannot be avoided. There is a problem. Further, in order to recover from the deadlock state by software, it is necessary to monitor and perform recovery processing by software, so that there is a problem that the load of software processing increases.

【0012】本発明の目的はこのような従来の欠点を除
去するため、制御信号の応答が無応答となった場合に、
ハードウェアレベルで自己復旧が可能なバスインターフ
ェース回路およびこの回路を使用したイニシエータ・タ
ーゲットシステムを提供することにある。
An object of the present invention is to eliminate such a conventional drawback, so that when a response of a control signal becomes unresponsive,
An object of the present invention is to provide a bus interface circuit capable of self-recovery at a hardware level and an initiator / target system using the circuit.

【0013】[0013]

【課題を解決するための手段】本発明のバスインターフ
ェース回路は、制御信号とデータバスとを有するバスを
使用してハンドシェイク方式のプロトコルでデータ転送
を行いデータ転送時間が予め定めた時間を経過したこと
を示すタイムアウト信号を受けて前記データ転送を中断
し前記バスを解放するバスインターフェース部と、前記
ハンドシェイクに用いる前記制御信号の状態を監視し前
記制御信号の状態から前記データ転送の状況を把握して
前記データ転送時間を計測しこの計測した前記データ転
送時間が前記予め定めた時間を経過したときに前記タイ
ムアウト信号を出力するデータ転送時間監視部と、を備
えて構成されている。
SUMMARY OF THE INVENTION A bus interface circuit of the present invention transfers data by a handshake protocol using a bus having a control signal and a data bus, and a data transfer time elapses a predetermined time. A bus interface unit for interrupting the data transfer and releasing the bus in response to a time-out signal indicating that the status of the data transfer is monitored from the state of the control signal used for the handshake. And a data transfer time monitoring unit that outputs the time-out signal when the measured data transfer time exceeds the predetermined time.

【0014】本発明のバスインターフェース回路の前記
データ転送時間監視部は、前記ハンドシェイクに用いる
前記制御信号の状態から前記データ転送の状況を把握し
て前記データ転送の開始タイミングと終了タイミングと
を検出し転送開始信号と転送終了信号とをそれぞれ出力
するバス監視部と、前記バス監視部が出力した前記転送
開始信号を受けて前記データ転送時間の計測を開始し前
記転送終了信号を受けて前記データ転送時間の計測を終
了するとともに前記計測中の前記データ転送時間が前記
予め定めた時間を経過したときに前記タイムアウト信号
を出力するタイムアウト監視部と、を備えて構成されて
いる。
The data transfer time monitoring section of the bus interface circuit of the present invention detects the data transfer status from the state of the control signal used for the handshake and detects the start timing and the end timing of the data transfer. A bus monitoring unit that outputs a transfer start signal and a transfer end signal, and starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit and receives the data in response to the transfer end signal. A timeout monitoring unit that outputs the timeout signal when the measurement of the transfer time is completed and the data transfer time during the measurement exceeds the predetermined time.

【0015】また、本発明のバスインターフェース回路
の前記タイムアウト監視部は、前記バス監視部が出力し
た前記転送開始信号を受けて前記データ転送時間の計測
を開始し前記転送終了信号を受けて前記データ転送時間
の計測を終了するとともに前記計測中の前記データ転送
時間を出力するデータ転送時間計測部と、前記データ転
送時間計測部が出力した前記計測中の前記データ転送時
間を受けこの受けたデータ転送時間が前記予め定めた時
間を経過したか否かを調べこの調べた結果が前記予め定
めた時間を経過したことを示すときに前記タイムアウト
信号を出力するタイムアウト判定部と、を備えて構成さ
れている。
The timeout monitoring unit of the bus interface circuit according to the present invention starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and receives the data in response to the transfer end signal. A data transfer time measurement unit for ending the measurement of the transfer time and outputting the data transfer time during the measurement, and receiving the data transfer time during the measurement output by the data transfer time measurement unit and receiving the data transfer A time-out determination unit that outputs the time-out signal when the result of the check indicates that the predetermined time has elapsed. I have.

【0016】本発明の第1のイニシエータ・ターゲット
システムは、バスに接続し前記バスのアクセス権を獲得
してデータ転送の主導権を握るイニシエータ側装置と、
このイニシエータ側装置と前記バスを介して接続し前記
イニシエータ側装置の主導のもとにこのイニシエータ側
装置と前記データ転送する複数のターゲット側装置とを
備えたイニシエータ・ターゲットシステムにおいて、制
御信号とデータバスとを有する前記バスを使用してハン
ドシェイク方式のプロトコルで前記イニシエータ側装置
と前記データ転送を行う第1のバスインターフェース部
を備えた前記複数のターゲット側装置と、前記バスを使
用してハンドシェイク方式の前記プロトコルで前記複数
のターゲット側装置と前記データ転送を行うとともに前
記ハンドシェイクに用いる前記制御信号の状態を監視し
前記制御信号の状態から前記データ転送の状況を把握し
てデータ転送時間を計測しこの計測した前記データ転送
時間が予め定めた時間を経過したときに前記データ転送
を中断し前記バスを解放するバスインターフェース回路
を有する前記イニシエータ側装置と、を備えて構成され
ている。
A first initiator / target system according to the present invention includes an initiator-side device connected to a bus and acquiring an access right to the bus to take the initiative in data transfer.
An initiator / target system connected to the initiator-side device via the bus and provided with the initiator-side device and a plurality of target-side devices for transferring the data under the initiative of the initiator-side device. A plurality of target-side devices including a first bus interface unit for performing the data transfer with the initiator-side device by a handshake protocol using the bus having a bus; Performs the data transfer with the plurality of target-side devices according to the protocol of the shake method, monitors the state of the control signal used for the handshake, grasps the state of the data transfer from the state of the control signal, and determines the data transfer time. And the measured data transfer time is determined in advance. Wherein is configured by including an initiator device, a said interrupt the data transfer with a bus interface circuit to release the bus when the elapsed between.

【0017】本発明の第1のイニシエータ・ターゲット
システムの前記バスインターフェース回路は、前記バス
を使用してハンドシェイク方式の前記プロトコルで前記
複数のターゲット側装置と前記データ転送を行い前記デ
ータ転送時間が前記予め定めた時間を経過したことを示
すタイムアウト信号を受けて前記データ転送を中断し前
記バスを解放する第2のバスインターフェース部と、前
記ハンドシェイクに用いる前記制御信号の状態を監視し
前記制御信号の状態から前記データ転送の状況を把握し
て前記データ転送時間を計測しこの計測した前記データ
転送時間が前記予め定めた時間を経過したときに前記タ
イムアウト信号を出力するデータ転送時間監視部と、を
備えて構成されている。
The bus interface circuit of the first initiator / target system of the present invention performs the data transfer with the plurality of target-side devices by the protocol of the handshake system using the bus, and performs the data transfer time. A second bus interface unit for interrupting the data transfer and releasing the bus in response to a timeout signal indicating that the predetermined time has elapsed, and monitoring and controlling the state of the control signal used for the handshake. A data transfer time monitoring unit that grasps the state of the data transfer from the state of the signal, measures the data transfer time, and outputs the timeout signal when the measured data transfer time exceeds the predetermined time; , Is configured.

【0018】本発明の第2のイニシエータ・ターゲット
システムは、データバスに接続し前記データバスのアク
セス権を獲得してデータ転送の主導権を握るイニシエー
タ側装置と、このイニシエータ側装置と前記データバス
を介して接続し前記イニシエータ側装置の主導のもとに
このイニシエータ側装置と前記データ転送する複数のタ
ーゲット側装置とを備えたイニシエータ・ターゲットシ
ステムにおいて、制御信号とデータバスとを有する前記
バスを使用してハンドシェイク方式のプロトコルで前記
イニシエータ側装置と前記データ転送を行いデータ転送
時間が予め定めた時間を経過したことを示すタイムアウ
ト信号を受けて前記データ転送を中断し前記バスを解放
する第1のバスインターフェース部を備えた前記複数の
ターゲット側装置と、前記バスを使用してハンドシェイ
ク方式の前記プロトコルで前記複数のターゲット側装置
と前記データ転送を行い前記ハンドシェイクに用いる前
記制御信号の状態を監視し前記制御信号の状態から前記
データ転送の状況を把握して前記データ転送時間を計測
しこの計測した前記データ転送時間が前記予め定めた時
間を経過したときに前記タイムアウト信号を前記複数の
ターゲット側装置に出力するとともに前記データ転送を
中断し前記バスを解放するバスインターフェース回路を
有する前記イニシエータ側装置と、を備えて構成されて
いる。
A second initiator / target system according to the present invention includes an initiator device connected to a data bus and acquiring an access right of the data bus to take the initiative of data transfer, and the initiator device and the data bus. And an initiator / target system including the initiator-side device and the plurality of target-side devices for data transfer under the leadership of the initiator-side device, wherein the bus having a control signal and a data bus is provided. Using a handshake protocol to perform the data transfer with the initiator-side device, receive a time-out signal indicating that a data transfer time has passed a predetermined time, interrupt the data transfer, and release the bus. The plurality of target-side devices provided with one bus interface unit Using the bus, performing the data transfer with the plurality of target-side devices using the protocol of the handshake method, monitoring the state of the control signal used for the handshake, and checking the state of the data transfer from the state of the control signal. The data transfer time is measured and the time-out signal is output to the plurality of target-side devices when the measured data transfer time has passed the predetermined time, and the data transfer is interrupted. The initiator-side device having a bus interface circuit for releasing a bus.

【0019】本発明の第2のイニシエータ・ターゲット
システムの前記バスインターフェース回路は、前記バス
を使用してハンドシェイク方式の前記プロトコルで前記
複数のターゲット側装置と前記データ転送を行い前記タ
イムアウト信号を受けて前記データ転送を中断し前記バ
スを解放する第2のバスインターフェース部と、前記ハ
ンドシェイクに用いる前記制御信号の状態を監視し前記
制御信号の状態から前記データ転送の状況を把握して前
記データ転送時間を計測しこの計測した前記データ転送
時間が前記予め定めた時間を経過したときに前記タイム
アウト信号を出力するデータ転送時間監視部と、を備え
て構成されている。
The bus interface circuit of the second initiator / target system of the present invention performs the data transfer with the plurality of target-side devices using the bus by the handshake protocol and receives the timeout signal. A second bus interface unit for interrupting the data transfer and releasing the bus, monitoring the state of the control signal used for the handshake, grasping the state of the data transfer from the state of the control signal, and A data transfer time monitoring unit that measures a transfer time and outputs the timeout signal when the measured data transfer time exceeds the predetermined time.

【0020】本発明の第1と第2のイニシエータ・ター
ゲットシステムの前記データ転送時間監視部は、前記ハ
ンドシェイクに用いる前記制御信号の状態から前記デー
タ転送の状況を把握して前記データ転送の開始タイミン
グと終了タイミングとを検出し転送開始信号と転送終了
信号とをそれぞれ出力するバス監視部と、前記バス監視
部が出力した前記転送開始信号を受けて前記データ転送
時間の計測を開始し前記転送終了信号を受けて前記デー
タ転送時間の計測を終了するとともに前記計測中の前記
データ転送時間が前記予め定めた時間を経過したときに
前記タイムアウト信号を出力するタイムアウト監視部
と、を備えて構成されている。
The data transfer time monitoring unit of the first and second initiator / target systems of the present invention grasps the state of the data transfer from the state of the control signal used for the handshake and starts the data transfer. A bus monitor for detecting a timing and an end timing and outputting a transfer start signal and a transfer end signal, respectively, and receiving the transfer start signal output by the bus monitor, starts measuring the data transfer time and performs the transfer. A timeout monitoring unit that receives the end signal, terminates the measurement of the data transfer time, and outputs the timeout signal when the data transfer time during the measurement exceeds the predetermined time. ing.

【0021】また、本発明の第1と第2のイニシエータ
・ターゲットシステムの前記タイムアウト監視部は、前
記バス監視部が出力した前記転送開始信号を受けて前記
データ転送時間の計測を開始し前記転送終了信号を受け
て前記データ転送時間の計測を終了するとともに前記計
測中の前記データ転送時間を出力するデータ転送時間計
測部と、前記データ転送時間計測部が出力した前記計測
中の前記データ転送時間を受けこの受けたデータ転送時
間が前記予め定めた時間を経過したか否かを調べこの調
べた結果が前記予め定めた時間を経過したことを示すと
きに前記タイムアウト信号を出力するタイムアウト判定
部と、を備えて構成されている。
In the first and second initiator / target systems according to the present invention, the timeout monitoring unit receives the transfer start signal output by the bus monitoring unit, starts measuring the data transfer time, and performs the transfer. A data transfer time measuring unit for ending the measurement of the data transfer time in response to the end signal and outputting the data transfer time during the measurement, and the data transfer time during the measurement output by the data transfer time measuring unit A time-out determination unit that outputs the time-out signal when the received data transfer time has passed the predetermined time and the result of the check indicates that the predetermined time has passed. , Is configured.

【0022】本発明の第3のイニシエータ・ターゲット
システムは、バスに接続し前記バスのアクセス権を獲得
してデータ転送の主導権を握るイニシエータ側装置と、
このイニシエータ側装置と前記バスを介して接続し前記
イニシエータ側装置の主導のもとにこのイニシエータ側
装置と前記データ転送する複数のターゲット側装置とを
備えたイニシエータ・ターゲットシステムにおいて、制
御信号とデータバスとを有する前記バスを使用してハン
ドシェイク方式のプロトコルで前記イニシエータ側装置
と前記データ転送を行うとともに前記ハンドシェイクに
用いる前記制御信号の状態を監視し前記制御信号の状態
から前記データ転送の状況を把握してデータ転送時間を
計測しこの計測した前記データ転送時間が予め定めた第
1の時間を経過したときに前記データ転送を中断し前記
バスを解放する第1のバスインターフェース回路を備え
た前記複数のターゲット側装置と、前記バスを使用して
ハンドシェイク方式の前記プロトコルで前記複数のター
ゲット側装置と前記データ転送を行うとともに前記ハン
ドシェイクに用いる前記制御信号の状態を監視し前記制
御信号の状態から前記データ転送の状況を把握してデー
タ転送時間を計測しこの計測した前記データ転送時間が
予め定めた第2の時間を経過したときに前記データ転送
を中断し前記バスを解放する第2のバスインターフェー
ス回路を有する前記イニシエータ側装置と、を備えて構
成されている。
A third initiator / target system according to the present invention comprises: an initiator-side device which is connected to a bus, acquires an access right to the bus, and takes control of data transfer;
An initiator / target system connected to the initiator-side device via the bus and provided with the initiator-side device and a plurality of target-side devices for transferring the data under the initiative of the initiator-side device. And performing the data transfer with the initiator-side device using a protocol of a handshake method using the bus having the bus and monitoring the state of the control signal used for the handshake, and performing the data transfer from the state of the control signal. A first bus interface circuit for measuring the data transfer time by grasping the situation, and interrupting the data transfer and releasing the bus when the measured data transfer time exceeds a predetermined first time; A handshake method using the plurality of target devices and the bus. Performing the data transfer with the plurality of target-side devices according to the protocol, monitoring the state of the control signal used for the handshake, grasping the state of the data transfer from the state of the control signal, and measuring the data transfer time And an initiator-side device having a second bus interface circuit for interrupting the data transfer and releasing the bus when the measured data transfer time exceeds a predetermined second time. Have been.

【0023】本発明の第3のイニシエータ・ターゲット
システムの前記第1のバスインターフェース回路は、前
記制御信号と前記データバスとを使用してハンドシェイ
ク方式の前記プロトコルで前記イニシエータ側装置と前
記データ転送を行い前記データ転送時間が前記予め定め
た第1の時間を経過したことを示す第1のタイムアウト
信号を受けて前記データ転送を中断し前記データバスを
解放する第3のバスインターフェース部と、前記ハンド
シェイクに用いる前記制御信号の状態を監視し前記制御
信号の状態から前記データ転送の状況を把握して前記デ
ータ転送時間を計測しこの計測した前記データ転送時間
が前記予め定めた第1の時間を経過したときに前記第1
のタイムアウト信号を出力する第1のデータ転送時間監
視部と、を備え、前記第2のバスインターフェース回路
は、前記バスを使用してハンドシェイク方式の前記プロ
トコルで前記複数のターゲット側装置と前記データ転送
を行い前記データ転送時間が前記予め定めた第2の時間
を経過したことを示す第2のタイムアウト信号を受けて
前記データ転送を中断し前記バスを解放する第2のバス
インターフェース部と、前記ハンドシェイクに用いる前
記制御信号の状態を監視し前記制御信号の状態から前記
データ転送の状況を把握して前記データ転送時間を計測
しこの計測した前記データ転送時間が前記予め定めた第
2の時間を経過したときに前記第2のタイムアウト信号
を出力する第2のデータ転送時間監視部と、を備えて構
成されている。
The first bus interface circuit of the third initiator / target system of the present invention uses the control signal and the data bus to perform the data transfer with the initiator-side device by the handshake protocol. And a third bus interface unit for interrupting the data transfer and releasing the data bus upon receiving a first time-out signal indicating that the data transfer time has passed the predetermined first time, The state of the control signal used for handshake is monitored, the state of the data transfer is grasped from the state of the control signal, the data transfer time is measured, and the measured data transfer time is the predetermined first time. When the first
A first data transfer time monitoring unit that outputs a time-out signal of the target device, wherein the second bus interface circuit communicates with the plurality of target-side devices and the data by the handshake protocol using the bus. A second bus interface unit for performing a transfer and interrupting the data transfer and releasing the bus in response to a second timeout signal indicating that the data transfer time has passed the predetermined second time; The state of the control signal used for handshake is monitored, the state of the data transfer is grasped from the state of the control signal, the data transfer time is measured, and the measured data transfer time is the predetermined second time. And a second data transfer time monitoring unit that outputs the second timeout signal when elapses.

【0024】また、本発明の第3のイニシエータ・ター
ゲットシステムの前記第1のデータ転送時間監視部は、
前記ハンドシェイクに用いる前記制御信号の状態から前
記データ転送の状況を把握して前記データ転送の開始タ
イミングと終了タイミングとを検出し第1の転送開始信
号と第1の転送終了信号とをそれぞれ出力する第1のバ
ス監視部と、前記第1のバス監視部が出力した前記第1
の転送開始信号を受けて前記データ転送時間の計測を開
始し前記第1の転送終了信号を受けて前記データ転送時
間の計測を終了するとともに前記計測中の前記データ転
送時間が前記予め定めた第1の時間を経過したときに前
記第1のタイムアウト信号を出力する第1のタイムアウ
ト監視部と、を備え、前記第2のデータ転送時間監視部
は、前記ハンドシェイクに用いる前記制御信号の状態か
ら前記データ転送の状況を把握して前記データ転送の開
始タイミングと終了タイミングとを検出し第2の転送開
始信号と第2の転送終了信号とをそれぞれ出力する第2
のバス監視部と、前記第2のバス監視部が出力した前記
第2の転送開始信号を受けて前記データ転送時間の計測
を開始し前記第2の転送終了信号を受けて前記データ転
送時間の計測を終了するとともに前記計測中の前記デー
タ転送時間が前記予め定めた第2の時間を経過したとき
に前記第2のタイムアウト信号を出力する第2のタイム
アウト監視部と、を備えて構成されている。
Further, the first data transfer time monitoring section of the third initiator / target system of the present invention comprises:
The state of the data transfer is grasped from the state of the control signal used for the handshake, the start timing and the end timing of the data transfer are detected, and the first transfer start signal and the first transfer end signal are output respectively. A first bus monitoring unit that performs the operation, and the first bus monitoring unit that outputs the first bus monitoring unit.
Receiving the transfer start signal, starting the measurement of the data transfer time, receiving the first transfer end signal, ending the measurement of the data transfer time, and the data transfer time during the measurement is the predetermined number of times. A first time-out monitoring unit that outputs the first time-out signal when a time of 1 has elapsed, and wherein the second data transfer time monitoring unit is configured to change the state of the control signal used for the handshake from the state of the control signal. A second transfer start signal and a second transfer end signal which are obtained by grasping the data transfer situation and detecting a start timing and an end timing of the data transfer;
A bus monitoring unit, and starts measuring the data transfer time in response to the second transfer start signal output by the second bus monitoring unit, and measures the data transfer time in response to the second transfer end signal. A second timeout monitoring unit that outputs the second timeout signal when the data transfer time during the measurement ends the predetermined second time while ending the measurement. I have.

【0025】更に、本発明の第3のイニシエータ・ター
ゲットシステムの前記第1のタイムアウト監視部は、前
記第1のバス監視部が出力した前記第1の転送開始信号
を受けて前記データ転送時間の計測を開始し前記第1の
転送終了信号を受けて前記データ転送時間の計測を終了
するとともに前記計測中の前記データ転送時間を出力す
る第1のデータ転送時間計測部と、前記第1のデータ転
送時間計測部が出力した前記計測中の前記データ転送時
間を受けこの受けたデータ転送時間が前記予め定めた第
1の時間を経過したか否かを調べこの調べた結果が前記
予め定めた第1の時間を経過したことを示すときに前記
第1のタイムアウト信号を出力する第1のタイムアウト
判定部と、を備え、前記第2のタイムアウト監視部は、
前記第2のバス監視部が出力した前記第2の転送開始信
号を受けて前記データ転送時間の計測を開始し前記第2
の転送終了信号を受けて前記データ転送時間の計測を終
了するとともに前記計測中の前記データ転送時間を出力
する第2のデータ転送時間計測部と、前記第2のデータ
転送時間計測部が出力した前記計測中の前記データ転送
時間を受けこの受けたデータ転送時間が前記予め定めた
第2の時間を経過したか否かを調べこの調べた結果が前
記予め定めた第2の時間を経過したことを示すときに前
記第2のタイムアウト信号を出力する第2のタイムアウ
ト判定部と、を備えて構成されている。
Further, in the third initiator / target system of the present invention, the first timeout monitoring unit receives the first transfer start signal output by the first bus monitoring unit, and monitors the data transfer time. A first data transfer time measuring unit that starts measurement, receives the first transfer end signal, terminates the measurement of the data transfer time, and outputs the data transfer time during the measurement, and the first data Receiving the data transfer time during the measurement output by the transfer time measuring unit, and checking whether or not the received data transfer time has passed the predetermined first time. A first time-out determination unit that outputs the first time-out signal when it indicates that one time has elapsed, and the second time-out monitoring unit includes:
Upon receiving the second transfer start signal output by the second bus monitoring unit, the second bus monitoring unit starts measuring the data transfer time.
A second data transfer time measuring unit for ending the measurement of the data transfer time in response to the transfer end signal of the second and outputting the data transfer time during the measurement, and outputting the second data transfer time measuring unit. Receiving the data transfer time during the measurement, checking whether the received data transfer time has passed the predetermined second time, and determining that the result of the check has passed the predetermined second time; And a second timeout determination unit that outputs the second timeout signal when

【0026】[0026]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0027】図1は、本発明のイニシエータ・ターゲッ
トシステムの第1の実施の形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing a first embodiment of the initiator / target system of the present invention.

【0028】図1に示す本実施の形態は、バスに接続し
このバスのアクセス権を獲得してデータ転送の主導権を
握るイニシエータ側装置1と、このイニシエータ側装置
1とこのバスを介して接続しイニシエータ側装置1の主
導のもとにこのイニシエータ側装置1とデータ転送する
複数のターゲット側装置2とを備えたイニシエータ・タ
ーゲットシステムにおいて、制御信号とデータバスとを
有するバス(例えばSCSIバス3。以後SCSIバス
3と記載する。)を使用してハンドシェイク方式のプロ
トコルでイニシエータ側装置1とデータ転送を行う第1
のバスインターフェース部を備えた複数のターゲット側
装置2と、SCSIバス3を使用してハンドシェイク方
式のプロトコルで複数のターゲット側装置2とデータ転
送を行うとともにハンドシェイクに用いる制御信号の状
態を監視し制御信号の状態からデータ転送の状況を把握
してデータ転送時間を計測しこの計測したデータ転送時
間が予め定めた時間(例えば、数100ns〜数ms程
度の範囲内の値を定める。しかし、適応するシステムの
事情によって異なるためこの範囲の値にこだわることは
ない。)を経過したときにデータ転送を中断しSCSI
バス3を解放するバスインターフェース回路4を有する
イニシエータ側装置1とにより構成されている。
In this embodiment shown in FIG. 1, an initiator-side device 1 which is connected to a bus and acquires an access right to the bus to take the initiative in data transfer, and via the initiator-side device 1 and the bus. In an initiator / target system having the initiator-side device 1 and a plurality of target-side devices 2 for transferring data under the initiative of the initiator-side device 1, a bus (for example, SCSI bus) having a control signal and a data bus is provided. 3. A first method for performing data transfer with the initiator device 1 using a handshake protocol using the SCSI bus 3).
A plurality of target-side devices 2 having a bus interface unit, and data transfer with the plurality of target-side devices 2 using a handshake protocol using the SCSI bus 3 and monitoring of the state of a control signal used for handshake Then, the state of the data transfer is grasped from the state of the control signal to measure the data transfer time, and the measured data transfer time is set to a predetermined time (for example, a value within a range of about several hundred ns to several ms. The data transfer is interrupted when the value exceeds this range.
And an initiator-side device 1 having a bus interface circuit 4 for releasing the bus 3.

【0029】次に、本実施の形態のイニシエータ・ター
ゲットシステムの動作を図2,図3,図4及び図5を参
照して詳細に説明する。
Next, the operation of the initiator / target system of the present embodiment will be described in detail with reference to FIGS. 2, 3, 4 and 5.

【0030】図2は、本発明のバスインターフェース回
路の一例を示すブロック図であり、このバスインターフ
ェース回路4は、SCSIバス3を使用してハンドシェ
イク方式のプロトコルで複数のターゲット側装置2とデ
ータ転送を行いデータ転送時間が予め定めた時間を経過
したことを示すタイムアウト信号を受けてデータ転送を
中断しSCSIバス3を解放する第2のバスインターフ
ェース部5と、ハンドシェイクに用いる制御信号の状態
を監視し制御信号の状態からデータ転送の状況を把握し
てデータ転送時間を計測しこの計測したデータ転送時間
が予め定めた時間を経過したときにタイムアウト信号を
出力するデータ転送時間監視部6とにより構成されてい
る。データ転送時間監視部6は、ハンドシェイクに用い
る制御信号の状態からデータ転送の状況を把握してデー
タ転送の開始タイミングと終了タイミングとを検出し転
送開始信号と転送終了信号とをそれぞれ出力するバス監
視部7と、バス監視部7が出力した転送開始信号を受け
てデータ転送時間の計測を開始し転送終了信号を受けて
データ転送時間の計測を終了するとともに計測中のデー
タ転送時間が予め定めた時間を経過したときにタイムア
ウト信号を出力するタイムアウト監視部8とにより構成
されている。タイムアウト監視部8は、バス監視部7が
出力した転送開始信号を受けてデータ転送時間の計測を
開始し転送終了信号を受けてデータ転送時間の計測を終
了するとともに計測中のデータ転送時間を出力するデー
タ転送時間計測部10と、データ転送時間計測部10が
出力した計測中のデータ転送時間を受けこの受けたデー
タ転送時間が予め定めた時間を経過したか否かを調べこ
の調べた結果が予め定めた時間を経過したことを示すと
きにタイムアウト信号を出力するタイムアウト判定部9
とにより構成されている。データ転送時間計測部10
は、バス監視部7が出力した転送開始信号を受けてデー
タ転送時間の計測を開始しこの計測中のデータ転送時間
が予め定めた時間を経過したときにデータ転送時間の計
測を終了するようにしている。制御信号は、第2のバス
インターフェース部5に入力されるデータ転送の要求を
示すREQ信号と、第2のバスインターフェース部5で
生成されデータ転送の要求を認めることを示すACK信
号とを含んでいる。
FIG. 2 is a block diagram showing an example of the bus interface circuit according to the present invention. The bus interface circuit 4 uses the SCSI bus 3 to communicate with a plurality of target devices 2 by a handshake protocol. A second bus interface unit for interrupting data transfer upon receiving a timeout signal indicating that the data transfer time has passed a predetermined time and releasing the SCSI bus, and a state of a control signal used for handshaking; A data transfer time monitoring unit 6 which monitors the data transfer state from the state of the control signal to measure the data transfer time and outputs a timeout signal when the measured data transfer time exceeds a predetermined time. It consists of. The data transfer time monitoring unit 6 grasps the state of the data transfer from the state of the control signal used for handshake, detects the start timing and the end timing of the data transfer, and outputs a transfer start signal and a transfer end signal, respectively. The monitoring unit 7 starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit 7, ends the data transfer time measurement in response to the transfer end signal, and determines the data transfer time being measured in advance. And a time-out monitoring unit 8 that outputs a time-out signal when the elapsed time has elapsed. The timeout monitoring unit 8 starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit 7, ends the data transfer time measurement in response to the transfer end signal, and outputs the data transfer time being measured. The data transfer time measuring unit 10 performs the data transfer time during measurement output by the data transfer time measurement unit 10 and checks whether or not the received data transfer time has passed a predetermined time. Timeout determination unit 9 that outputs a timeout signal when it indicates that a predetermined time has elapsed.
It is composed of Data transfer time measurement unit 10
Receives the transfer start signal output by the bus monitor 7 and starts measuring the data transfer time, and terminates the measurement of the data transfer time when the data transfer time during the measurement has passed a predetermined time. ing. The control signal includes an REQ signal input to the second bus interface unit 5 and indicating a data transfer request, and an ACK signal generated by the second bus interface unit 5 and indicating acknowledgment of the data transfer request. I have.

【0031】図3は、本実施の形態によるデータ転送の
タイミングチャート1(正常動作時)の一例を示す図で
ある。
FIG. 3 is a diagram showing an example of a timing chart 1 (during normal operation) of data transfer according to the present embodiment.

【0032】図4は、本実施の形態によるデータ転送の
タイミングチャート2(ACK無応答)の一例を示す図
である。
FIG. 4 is a diagram showing an example of the data transfer timing chart 2 (no ACK response) according to the present embodiment.

【0033】図5は、本実施の形態によるデータ転送の
タイミングチャート3(REQ無応答)の一例を示す図
である。
FIG. 5 is a diagram showing an example of a timing chart 3 (no REQ response) of data transfer according to the present embodiment.

【0034】図1において、最初に、正常なデータ転送
が行われている場合の動作について、図3を使用して説
明する。データ転送の経路としてはイニシエータ側装置
1からターゲット側装置2に転送される場合と、ターゲ
ット側装置2からイニシエータ側装置1に転送される場
合の二通りが考えられるが、以下の説明ではターゲット
側装置2からイニシエータ側装置1へのデータ転送の場
合を例にとって説明する。なお下記の説明で示している
内部信号(転送開始信号(例えば、転送開始パルス)、
転送終了信号(例えば、転送終了パルス)、タイムアウ
ト信号など)の発出位置やアサートする期間等について
は一例であり、いかなる位相を規定するものではない。
ターゲット側装置2はデータバスが空きの状態のとき
(すなわち、ビジーでないとき)、データバスに対して
転送データを出力する(時刻T1)。ターゲット側装置
2は時刻T1から十分なマージンをとった後、時刻T2
でREQ信号をアサートし、イニシエータ側装置1に対
して転送要求を通知する。イニシエータ側装置1ではR
EQのアサートを受け、データバス上のデータを取り込
むと同時に、ACKをアサートしてターゲット側装置2
に応答する(時刻T3)。この時、図2に示すバス監視
部7は転送開始信号を発出する。データ転送時間計測部
10ではこの転送開始信号を受信し、監視タイマのイン
クリメントを開始する。データ転送時間計測部10はこ
の後、バス監視部7から転送終了信号が通知されるまで
監視タイマのインクリメントを続ける。ターゲット側装
置2ではACKのアサートを受け、REQを解除すると
ともにデータバスへのデータ出力を停止する(時刻T
4)。イニシエータ側装置1はREQが解除するのを待
ち、ACKを解除する(時刻T5)。バス監視部7はこれ
を検出し、転送終了信号を発出する。データ転送時間計
測部10は転送終了信号を受けて監視タイマのインクリ
メントを停止し、タイマ値をクリアする。以上がデータ
転送処理の1サイクルである。この一連の処理の間、デ
ータ転送時間計測部10のタイマ値はタイムアウト判定
部9に通知され監視されるが、正常動作時であるためタ
イムアウト信号はアサートされない。
Referring to FIG. 1, first, an operation in a case where normal data transfer is performed will be described with reference to FIG. There are two possible data transfer paths: a case where data is transferred from the initiator device 1 to the target device 2 and a case where data is transferred from the target device 2 to the initiator device 1. The case of data transfer from the device 2 to the initiator device 1 will be described as an example. The internal signals (transfer start signal (for example, transfer start pulse),
The issuing position of the transfer end signal (for example, transfer end pulse), timeout signal, and the like, the assertion period, and the like are merely examples, and do not specify any phase.
When the data bus is empty (that is, when it is not busy), the target-side device 2 outputs transfer data to the data bus (time T1). The target side device 2 takes a sufficient margin from the time T1 and then sets the time T2
Asserts the REQ signal to notify the initiator-side device 1 of a transfer request. In the initiator device 1, R
In response to the assertion of the EQ and taking in the data on the data bus, the ACK is asserted and the target device 2
(Time T3). At this time, the bus monitor 7 shown in FIG. 2 issues a transfer start signal. The data transfer time measuring unit 10 receives this transfer start signal and starts incrementing the monitoring timer. Thereafter, the data transfer time measurement unit 10 continues to increment the monitoring timer until a transfer end signal is notified from the bus monitoring unit 7. In response to the assertion of ACK, the target-side device 2 releases REQ and stops outputting data to the data bus (at time T
4). The initiator-side device 1 waits for the release of the REQ, and releases the ACK (time T5). The bus monitor 7 detects this, and issues a transfer end signal. Upon receiving the transfer end signal, the data transfer time measuring unit 10 stops incrementing the monitoring timer and clears the timer value. The above is one cycle of the data transfer process. During this series of processing, the timer value of the data transfer time measuring unit 10 is notified to the timeout judging unit 9 and monitored, but the timeout signal is not asserted because it is in normal operation.

【0035】次に、制御信号が何らかの原因で対向側装
置に到達せず、ハンドシェイク処理が停止したときに、
タイムアウトを検出する動作について説明する。
Next, when the control signal does not reach the opposing device for some reason and the handshake process is stopped,
An operation for detecting a timeout will be described.

【0036】まず、イニシエータ側装置1からのACK
のアサートが、ターゲット側装置2で検出されなかった
場合の動作を図4を使用して説明する。ターゲット側装
置2が時刻T1でデータバスに転送データを出力し、時
刻T2でREQをアサートして、イニシエータ側装置1
に転送要求を通知する。時刻T3においてイニシエータ
側装置1からACKのアサートが行われ、図2に示すバ
ス監視部7は、時刻T2で転送開始信号を発出する。デ
ータ転送時間計測部10はこの信号を受け監視タイマの
インクリメントを開始する。時刻T3においてイニシエ
ータ側装置1からACKのアサートが行われるが、この
ACKがターゲット側装置2において検出されない場
合、ターゲット側装置2は時刻T2以降、ACKアサー
ト待ちのまま待機状態になり、REQは解除されない。
この時、バス監視部7は転送終了信号を生成出来ないた
め、データ転送時間計測部10は監視タイマのインクリ
メントを継続する。データ転送時間計測部10では予め
設定したタイムアウト判定の閾値(予め定めた時間)に
なった時、監視タイマのインクリメントを停止し(時刻
T4)、タイムアウト判定部9では、監視タイマの値か
らデータ転送失敗と判定し、タイムアウト信号をアサー
トする(時刻T4)。タイムアウト信号を受けて、第2
のバスインターフェース部5は内部回路をリセットして
アサートしている制御信号を解除し、データ転送を中断
する(すなわち、SCSIバス3を解放する)。
First, ACK from the initiator device 1
The operation in the case where the assertion is not detected by the target device 2 will be described with reference to FIG. The target device 2 outputs the transfer data to the data bus at time T1, asserts REQ at time T2, and sets the initiator device 1
To the transfer request. At time T3, ACK is asserted from the initiator device 1, and the bus monitoring unit 7 shown in FIG. 2 issues a transfer start signal at time T2. The data transfer time measuring section 10 receives this signal and starts incrementing the monitoring timer. At time T3, an ACK is asserted from the initiator device 1, but if this ACK is not detected by the target device 2, the target device 2 enters a standby state with the ACK assertion waiting after time T2, and the REQ is released. Not done.
At this time, since the bus monitor 7 cannot generate the transfer end signal, the data transfer time measuring unit 10 continues incrementing the monitoring timer. The data transfer time measurement unit 10 stops incrementing the monitoring timer when a preset timeout determination threshold value (predetermined time) is reached (time T4), and the timeout determination unit 9 performs data transfer from the monitoring timer value. It is determined to have failed, and a timeout signal is asserted (time T4). After receiving the timeout signal, the second
The bus interface unit 5 resets the internal circuit to release the asserted control signal and suspends data transfer (that is, releases the SCSI bus 3).

【0037】次にターゲット側装置2からのREQの解
除がイニシエータ側装置1で検出できなかった場合の動
作を図5を使用して説明する。ターゲット側装置2が時
刻T1でバスに転送データを出力し、時刻T2でREQ
をアサートしてイニシエータ側装置1に転送要求を通知
する。イニシエータ側装置1はREQのアサートを受け
て、データバス上のデータを取り込むと同時にACKを
アサートしてターゲット側装置2に応答する。そして、
図2に示すバス監視部7は、時刻T3で転送開始信号を
発出する。データ転送時間計測部10ではこの信号を受
け、監視タイマのインクリメントを開始する。正常時な
らば、このACKは時刻T4のREQ解除を受けて解除
されるはずであるが、REQの解除が検出されないた
め、イニシエータ側装置1は時刻T3からREQ解除待
ちの状態で待機状態になり、ACKが解除されない。タ
ーゲット側装置2はACKが解除されないため、次のデ
ータ転送に移行することができない。この時バス監視部
7は転送終了信号を生成出来ないため、データ転送時間
計測部10は監視タイマのインクリメントを継続する。
データ転送時間計測部10では予め設定したタイムアウ
ト判定の閾値になった時、監視タイマのインクリメント
を停止し(時刻T5)、タイムアウト判定部9では、監
視タイマの値からデータ転送失敗と判定し、タイムアウ
ト信号をアサートする(時刻T5)。タイムアウト信号
を受けて、第2のバスインターフェース部5は内部回路
をリセットしてアサートしている制御信号を解除し、デ
ータ転送を中断する。
Next, the operation in the case where the release of the REQ from the target device 2 cannot be detected by the initiator device 1 will be described with reference to FIG. The target device 2 outputs the transfer data to the bus at time T1, and REQ at time T2.
Is asserted to notify the initiator-side device 1 of a transfer request. In response to the assertion of REQ, the initiator-side device 1 captures data on the data bus and asserts ACK to respond to the target-side device 2. And
The bus monitoring unit 7 shown in FIG. 2 issues a transfer start signal at time T3. The data transfer time measuring unit 10 receives this signal and starts incrementing the monitoring timer. If it is normal, this ACK should be released in response to the REQ release at time T4, but since the release of REQ is not detected, the initiator-side device 1 enters a standby state waiting for REQ release from time T3. , ACK is not released. Since the ACK is not released, the target-side device 2 cannot shift to the next data transfer. At this time, since the bus monitoring unit 7 cannot generate the transfer end signal, the data transfer time measurement unit 10 continues to increment the monitoring timer.
The data transfer time measurement unit 10 stops incrementing the monitoring timer when a preset timeout determination threshold is reached (time T5), and the timeout determination unit 9 determines that data transfer has failed based on the value of the monitoring timer. Assert the signal (time T5). Upon receiving the time-out signal, the second bus interface unit 5 resets the internal circuit to release the asserted control signal, and interrupts the data transfer.

【0038】イニシエータ側装置1からターゲット側装
置2に対するデータ転送の場合についても、上記と同様
の動作によりタイムアウトを検出する。(ただし、本実
施の形態ではイニシエータ側装置1での監視であるた
め、ターゲット側装置2からのREQのアサートがイニ
シエータ側装置1で検出出来なかった場合や、イニシエ
ータ側装置1からのACKの解除がターゲット側装置2
で検出出来なかった場合などについてはタイムアウトを
検出することが出来ない。これらのケースを検出するに
は後述する第3の実施の形態が必要になる。)図6は、
本発明のイニシエータ・ターゲットシステムの第2の実
施の形態を示すブロック図である。
In the case of data transfer from the initiator-side device 1 to the target-side device 2, a timeout is detected by the same operation as described above. (However, in this embodiment, since the monitoring is performed by the initiator device 1, the assertion of the REQ from the target device 2 cannot be detected by the initiator device 1, or the release of the ACK from the initiator device 1. Is the target device 2
In the case where it is not possible to detect the timeout, the timeout cannot be detected. To detect these cases, a third embodiment described later is required. FIG.
FIG. 5 is a block diagram illustrating a second embodiment of the initiator / target system of the present invention.

【0039】図6に示す本実施の形態は、SCSIバス
3に接続しこのSCSIバス3のアクセス権を獲得して
データ転送の主導権を握るイニシエータ側装置11と、
このイニシエータ側装置11とSCSIバス3を介して
接続しイニシエータ側装置11の主導のもとにこのイニ
シエータ側装置11とデータ転送する複数のターゲット
側装置12とを備えたイニシエータ・ターゲットシステ
ムにおいて、制御信号とデータバスとを有するSCSI
バス3を使用してハンドシェイク方式のプロトコルでイ
ニシエータ側装置11とデータ転送を行いデータ転送時
間が予め定めた時間を経過したことを示すタイムアウト
信号を受けてデータ転送を中断しSCSIバス3を解放
する第1のバスインターフェース部を備えた複数のター
ゲット側装置12と、SCSIバス3を使用してハンド
シェイク方式のプロトコルで複数のターゲット側装置1
2とデータ転送を行いハンドシェイクに用いる制御信号
の状態を監視し制御信号の状態からデータ転送の状況を
把握してデータ転送時間を計測しこの計測したデータ転
送時間が予め定めた時間を経過したときにタイムアウト
信号を複数のターゲット側装置12に出力するとともに
データ転送を中断しSCSIバス3を解放するバスイン
ターフェース回路13を有するイニシエータ側装置11
とにより構成されている。
In the present embodiment shown in FIG. 6, an initiator-side device 11 which is connected to the SCSI bus 3 and acquires the access right of the SCSI bus 3 to take the initiative in data transfer,
In an initiator / target system having an initiator-side device 11 and a plurality of target-side devices 12 which are connected to the initiator-side device 11 via the SCSI bus 3 and transfer data with the initiator-side device 11 under the initiative of the initiator-side device 11, SCSI with signal and data bus
Data transfer is performed with the initiator-side device 11 by a handshake protocol using the bus 3 and the data transfer is interrupted by receiving a timeout signal indicating that the data transfer time has passed a predetermined time, and the SCSI bus 3 is released. And a plurality of target-side devices 1 using a SCSI bus 3 and a handshake protocol.
2. Data transfer is performed, the state of the control signal used for handshake is monitored, the state of the data transfer is grasped from the state of the control signal, the data transfer time is measured, and the measured data transfer time has passed a predetermined time. An initiator device 11 having a bus interface circuit 13 for outputting a time-out signal to a plurality of target devices 12 and interrupting data transfer and releasing the SCSI bus 3
It is composed of

【0040】バスインターフェース回路13は、タイム
アウト信号をイニシエータ側装置11を介してターゲッ
ト側装置12に通知することを除いて、第1の実施の形
態で説明した図2に示したものと同じである。
The bus interface circuit 13 is the same as that shown in FIG. 2 described in the first embodiment, except that the bus interface circuit 13 notifies the target device 12 via the initiator device 11 via the timeout signal. .

【0041】次に、本実施の形態のイニシエータ・ター
ゲットシステムの動作を説明する。本実施の形態は第1
の実施の形態に対して、タイムアウト信号の使用方法に
ついて更に工夫している。図6において、イニシエータ
側装置11のバスインターフェース回路13で発生した
タイムアウト信号は、イニシエータ側装置11のバスイ
ンターフェース回路13内の第2のバスインターフェー
ス部5のみではなく、ターゲット側装置12にも同時に
通知する。そして、このバスインターフェース回路13
は第1の実施の形態の動作と同様にデータ転送を中止し
てSCSIバス3を解放する。同時にターゲット側装置
12もイニシエータ側装置11からのタイムアウト信号
を受信しデータ転送を中止してSCSIバス3を解放す
る。第1の実施の形態ではイニシエータ側装置1のみで
タイムアウトの監視とSCSIバス3の解放を行ってい
たため、ターゲット側装置2のバスインターフェース部
が不正なハンドシェイクに陥った場合はハードウェア的
にリセット(データ転送の中止とSCSIバス3の解
放)することができず、ターゲット側装置2を復旧させ
るには上位プロトコルの介在が必要であり、時間がかか
る問題があった(ここで、上位プロトコルとは、データ
転送の指示を行う上層のアプリケーションを示し、上位
プロトコルへの通知方法として、例えば、アプリケーシ
ョンを処理しているプロセッサ等への割り込み信号によ
る直接通知等。)。本実施の形態ではイニシエータ側装
置11に同期してターゲット側装置12もリセットでき
るため、高速な復旧が可能になる。
Next, the operation of the initiator / target system of this embodiment will be described. This embodiment is the first
With respect to the embodiment, the method of using the timeout signal is further devised. In FIG. 6, the timeout signal generated in the bus interface circuit 13 of the initiator device 11 is simultaneously notified not only to the second bus interface unit 5 in the bus interface circuit 13 of the initiator device 11 but also to the target device 12. I do. The bus interface circuit 13
Stops the data transfer and releases the SCSI bus 3 as in the operation of the first embodiment. At the same time, the target device 12 also receives the timeout signal from the initiator device 11, stops the data transfer, and releases the SCSI bus 3. In the first embodiment, the monitoring of the timeout and the release of the SCSI bus 3 are performed only by the initiator-side device 1, and therefore, when the bus interface of the target-side device 2 is subjected to an improper handshake, the hardware is reset. (Suspension of data transfer and release of the SCSI bus 3) cannot be performed, and the recovery of the target-side device 2 requires the intervention of a higher-order protocol, which takes time. Indicates an upper layer application that instructs data transfer, and as a method of notifying the upper layer protocol, for example, direct notification by an interrupt signal to a processor or the like that is processing the application.) In the present embodiment, the target-side device 12 can be reset in synchronization with the initiator-side device 11, so that high-speed recovery is possible.

【0042】図7は、本発明のイニシエータ・ターゲッ
トシステムの第3の実施の形態を示すブロック図であ
る。
FIG. 7 is a block diagram showing a third embodiment of the initiator / target system of the present invention.

【0043】図7に示す本実施の形態は、SCSIバス
3に接続しこのSCSIバス3のアクセス権を獲得して
データ転送の主導権を握るイニシエータ側装置14と、
このイニシエータ側装置14とSCSIバス3を介して
接続しイニシエータ側装置14の主導のもとにこのイニ
シエータ側装置14とデータ転送する複数のターゲット
側装置15とを備えたイニシエータ・ターゲットシステ
ムにおいて、制御信号とデータバスとを有するSCSI
バス3を使用してハンドシェイク方式のプロトコルでイ
ニシエータ側装置14とデータ転送を行うとともにハン
ドシェイクに用いる制御信号の状態を監視し制御信号の
状態からデータ転送の状況を把握してデータ転送時間を
計測しこの計測したデータ転送時間が予め定めた第1の
時間を経過したときにデータ転送を中断しSCSIバス
3を解放する第1のバスインターフェース回路17を有
する複数のターゲット側装置15と、SCSIバス3を
使用してハンドシェイク方式のプロトコルで複数のター
ゲット側装置15とデータ転送を行うとともにハンドシ
ェイクに用いる制御信号の状態を監視し制御信号の状態
からデータ転送の状況を把握してデータ転送時間を計測
しこの計測したデータ転送時間が予め定めた第2の時間
を経過したときにデータ転送を中断しSCSIバス3を
解放する第2のバスインターフェース回路16を有する
イニシエータ側装置14とにより構成されている。ここ
で、予め定めた第1の時間と予め定めた第2の時間は、
例えば、数100ns〜数ms程度の範囲内の値とする
(しかし、適応するシステムの事情によって異なるため
この範囲の値にこだわることはない)。
In this embodiment shown in FIG. 7, an initiator-side device 14 which is connected to the SCSI bus 3 and acquires the access right of the SCSI bus 3 to take the initiative in data transfer,
In an initiator / target system having a plurality of target devices 15 connected to the initiator device 14 via the SCSI bus 3 and transferring data with the initiator device 14 under the control of the initiator device 14, SCSI with signal and data bus
The data transfer with the initiator side device 14 is performed by the protocol of the handshake method using the bus 3 and the state of the control signal used for the handshake is monitored, and the state of the data transfer is grasped from the state of the control signal to reduce the data transfer time. A plurality of target-side devices 15 having a first bus interface circuit 17 for interrupting data transfer and releasing the SCSI bus 3 when the measured data transfer time exceeds a predetermined first time; Data is transferred to and from a plurality of target devices 15 using a handshake protocol using the bus 3 and the state of control signals used for handshake is monitored, and the state of data transfer is grasped from the state of the control signal to transfer data. The time is measured and when the measured data transfer time exceeds a predetermined second time. It is constituted by the initiator side device 14 having a second bus interface circuit 16 to release the SCSI bus 3 suspends over data transfer. Here, the predetermined first time and the predetermined second time are:
For example, it is set to a value within a range of about several hundred ns to several ms (however, it is not limited to a value in this range because it differs depending on circumstances of an applicable system).

【0044】第1のバスインターフェース回路17は、
SCSIバス3を使用してハンドシェイク方式のプロト
コルでイニシエータ側装置14とデータ転送を行いデー
タ転送時間が予め定めた第1の時間を経過したことを示
す第1のタイムアウト信号を受けてデータ転送を中断し
SCSIバス3を解放する第3のバスインターフェース
部と、ハンドシェイクに用いる制御信号の状態を監視し
制御信号の状態からデータ転送の状況を把握してデータ
転送時間を計測しこの計測したデータ転送時間が予め定
めた第1の時間を経過したときに第1のタイムアウト信
号を出力する第1のデータ転送時間監視部とにより構成
され、第2のバスインターフェース回路16は、制御信
号とデータバスとを使用してハンドシェイク方式のプロ
トコルで複数のターゲット側装置15とデータ転送を行
いデータ転送時間が予め定めた第2の時間を経過したこ
とを示す第2のタイムアウト信号を受けてデータ転送を
中断しSCSIバス3を解放する第2のバスインターフ
ェース部5と、ハンドシェイクに用いる制御信号の状態
を監視し制御信号の状態からデータ転送の状況を把握し
てデータ転送時間を計測しこの計測したデータ転送時間
が予め定めた第2の時間を経過したときに第2のタイム
アウト信号を出力する第2のデータ転送時間監視部とに
より構成されている。
The first bus interface circuit 17
Data transfer is performed with the initiator device 14 using the handshake protocol using the SCSI bus 3 and the data transfer is performed in response to a first timeout signal indicating that the data transfer time has passed a predetermined first time. A third bus interface unit for interrupting and releasing the SCSI bus 3, and monitoring the state of a control signal used for handshaking, grasping the state of data transfer from the state of the control signal, measuring the data transfer time, and measuring the measured data A first data transfer time monitoring unit that outputs a first time-out signal when the transfer time exceeds a predetermined first time. The second bus interface circuit 16 includes a control signal and a data bus. Is used to transfer data to and from a plurality of target-side devices 15 using a handshake protocol, and to transfer data. The second bus interface unit 5 that interrupts data transfer and releases the SCSI bus 3 in response to a second timeout signal indicating that a predetermined second time has elapsed, and the state of a control signal used for handshake. The second is to monitor and grasp the data transfer status from the state of the control signal to measure the data transfer time, and to output a second timeout signal when the measured data transfer time passes a predetermined second time. And a data transfer time monitoring unit.

【0045】次に、本実施の形態のイニシエータ・ター
ゲットシステムの動作を図8を参照して説明する。
Next, the operation of the initiator / target system of this embodiment will be described with reference to FIG.

【0046】上記の第1と第2の各実施の形態では、何
れもイニシエータ側装置においてデータ転送時間を監視
することを前提としていた。第3の実施の形態ではこれ
を拡張し、ターゲット側装置15においてもタイムアウ
ト監視機能を付加したバスインターフェース回路(第1
のバスインターフェース回路17)を使用する。イニシ
エータ側装置14の第2のバスインターフェース回路1
6は図2で示したバスインターフェース回路4と同じで
ある。ターゲット側装置15の第1のバスインターフェ
ース回路17の構成はイニシエータ側装置14の第2の
バスインターフェース回路16の構成と同様で良いが、
監視期間(タイマ値のカウント期間)はターゲット側装
置15がREQをアサートしてからイニシエータ側装置
14からのACKが解除されこの解除を検出するまでで
ある。
In each of the first and second embodiments, it is assumed that the initiator-side device monitors the data transfer time. In the third embodiment, this is extended, and a bus interface circuit (first
Bus interface circuit 17) is used. Second bus interface circuit 1 of initiator-side device 14
6 is the same as the bus interface circuit 4 shown in FIG. The configuration of the first bus interface circuit 17 of the target device 15 may be the same as the configuration of the second bus interface circuit 16 of the initiator device 14,
The monitoring period (time period for counting the timer value) is a period from when the target device 15 asserts REQ to when the ACK from the initiator device 14 is released and the release is detected.

【0047】図7において、ターゲット側装置15のバ
スインターフェース回路(第1のバスインターフェース
回路17)の動作の一例を示す図8を使用して説明す
る。ターゲット側装置15が、データバスに転送データ
を出力しイニシエータ側装置14へのREQをアサート
した時刻から、データ転送が終了してイニシエータ側装
置14からのACKが解除されるまでの期間を監視す
る。データ転送に要した時間が予め設定した閾値(予め
定めた第1の時間)を越えた場合は、データ転送エラー
と判定し、データ転送を中断してSCSIバス3を解放
する。本実施の形態は第2の実施の形態と同様に、転送
エラー発生時にターゲット側装置15が上位プロトコル
によるリセット処理を待つことなく、自立的に復旧出来
るという効果の他に、第2の実施の形態で必要な、タイ
ムアウト信号の通知が不要になるため、制御信号の本数
がタイムアウト信号分削減できるという効果も得られ
る。また、ターゲット側装置15もタイムアウトを監視
しているため、ターゲット側装置15からのREQをイ
ニシエータ側装置14が受信できなかった場合や、イニ
シエータ側装置14からのACKの解除がターゲット側
装置15で受信できなかった場合など、第1の実施の形
態で検出できなかったケースでもタイムアウトを検出で
きるという利点が在る。
Referring to FIG. 8, an example of the operation of the bus interface circuit (first bus interface circuit 17) of the target-side device 15 will be described with reference to FIG. The period from when the target-side device 15 outputs the transfer data to the data bus to assert REQ to the initiator-side device 14 until the data transfer ends and the ACK from the initiator-side device 14 is released is monitored. . If the time required for data transfer exceeds a preset threshold value (first predetermined time), it is determined that a data transfer error has occurred, the data transfer is interrupted, and the SCSI bus 3 is released. In the present embodiment, similarly to the second embodiment, in addition to the effect that the target-side device 15 can recover autonomously when a transfer error occurs without waiting for the reset process by the higher-level protocol, the second embodiment can Since the notification of the timeout signal, which is required in the embodiment, is not required, the effect that the number of control signals can be reduced by the timeout signal can be obtained. In addition, since the target device 15 also monitors the timeout, when the initiator device 14 cannot receive the REQ from the target device 15, or when the ACK from the initiator device 14 is released, the target device 15 cancels the ACK. There is an advantage that a timeout can be detected even in a case where detection was not possible in the first embodiment, such as a case where reception was not possible.

【0048】以上の説明では、データ転送時間計測部1
0は全てインクリメントのカウンタ(監視タイマ)で説
明してきたが、デクリメントのカウンタで実現すること
もできる。すなわち、データ転送時間計測部10は、タ
イムアウトと判定する閾値を初期値として、データ転送
開始信号受信時からデクリメントを開始し、カウンタの
値(タイマ値)が0になったときにデクリメントを停止
する。タイムアウト判定部9はタイマ値が0になったと
きにタイムアウトと判定する。
In the above description, the data transfer time measuring unit 1
Although all 0s have been described as increment counters (monitoring timers), they can also be implemented as decrement counters. That is, the data transfer time measurement unit 10 starts decrementing from the reception of the data transfer start signal with the threshold value for judging timeout as an initial value, and stops decrementing when the counter value (timer value) becomes 0. . The timeout determination unit 9 determines that a timeout has occurred when the timer value becomes zero.

【0049】[0049]

【発明の効果】以上説明したように、本発明のバスイン
ターフェース回路およびこの回路を使用したイニシエー
タ・ターゲットシステムによれば、複数のターゲット側
装置のそれぞれのターゲット側装置はそれぞれ第1のバ
スインターフェース部により、制御信号とデータバスと
を有するバスを使用してハンドシェイク方式のプロトコ
ルでイニシエータ側装置とデータ転送を行い、イニシエ
ータ側装置はバスインターフェース回路により、バスを
使用してハンドシェイク方式のプロトコルで複数のター
ゲット側装置とデータ転送を行うとともにハンドシェイ
クに用いる制御信号の状態を監視し制御信号の状態から
データ転送の状況を把握してデータ転送時間を計測しこ
の計測したデータ転送時間が予め定めた時間を経過した
ときにデータ転送を中断しバスを解放するため、制御信
号の状態を監視してデータ転送時間を計測しこのデータ
転送時間が予め定めた時間を経過したときにデータ転送
を中断しバスを解放するので、制御信号の応答が無応答
となった場合にも、ハードウェアレベルで自己復旧がで
きる。
As described above, according to the bus interface circuit of the present invention and the initiator / target system using this circuit, each of the plurality of target-side devices has a first bus interface unit. By using a bus having a control signal and a data bus, data transfer is performed with an initiator device using a handshake protocol using a bus.The initiator device uses a bus interface circuit to perform data transfer using a bus with a handshake protocol. Performs data transfer with multiple target devices and monitors the status of control signals used for handshaking, grasps the status of data transfer from the status of control signals, measures the data transfer time, and determines the measured data transfer time in advance. Data transfer when the specified time has elapsed In order to suspend and release the bus, the state of the control signal is monitored, the data transfer time is measured, and when the data transfer time exceeds a predetermined time, the data transfer is suspended and the bus is released. Even if there is no response, self-recovery can be performed at the hardware level.

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

【図1】本発明のイニシエータ・ターゲットシステムの
第1の実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of an initiator / target system of the present invention.

【図2】本発明のバスインターフェース回路の一例を示
すブロック図である。
FIG. 2 is a block diagram illustrating an example of a bus interface circuit according to the present invention.

【図3】データ転送のタイミングチャート1(正常動作
時)の一例を示す図である。
FIG. 3 is a diagram showing an example of a timing chart 1 (during normal operation) of data transfer.

【図4】データ転送のタイミングチャート2(ACK無
応答)の一例を示す図である。
FIG. 4 is a diagram showing an example of data transfer timing chart 2 (no ACK response);

【図5】データ転送のタイミングチャート3(REQ無
応答)の一例を示す図である。
FIG. 5 is a diagram showing an example of a data transfer timing chart 3 (no REQ response);

【図6】本発明のイニシエータ・ターゲットシステムの
第2の実施の形態を示すブロック図である。
FIG. 6 is a block diagram showing a second embodiment of the initiator / target system of the present invention.

【図7】本発明のイニシエータ・ターゲットシステムの
第3の実施の形態を示すブロック図である。
FIG. 7 is a block diagram showing a third embodiment of the initiator / target system of the present invention.

【図8】ターゲット側装置のバスインターフェース回路
の動作の一例を示す図である。
FIG. 8 is a diagram illustrating an example of the operation of the bus interface circuit of the target-side device.

【図9】従来技術によるデータ転送のタイミングチャー
ト1(正常動作時)を示す図である。
FIG. 9 is a diagram showing a timing chart 1 (during normal operation) of data transfer according to the related art.

【図10】従来技術によるデータ転送のタイミングチャ
ート2(正常動作時2)を示す図である。
FIG. 10 is a diagram showing a timing chart 2 (during normal operation 2) of data transfer according to the related art.

【図11】従来技術によるデータ転送のタイミングチャ
ート3(ノイズ混入時)を示す図である。
FIG. 11 is a diagram showing a timing chart 3 (when noise is mixed) of data transfer according to the related art.

【図12】従来技術によるデータ転送のタイミングチャ
ート4(ACK無応答)を示す図である。
FIG. 12 is a diagram showing a timing chart 4 (no ACK response) of data transfer according to the related art.

【図13】従来技術によるデータ転送のタイミングチャ
ート5(REQ無応答)を示す図である。
FIG. 13 is a diagram showing a timing chart 5 (no response to REQ) of data transfer according to the conventional technique.

【図14】エラー検出回路を示す図である。FIG. 14 is a diagram illustrating an error detection circuit.

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

1 イニシエータ側装置 2 ターゲット側装置 3 SCSIバス 4 バスインターフェース回路 5 第2のバスインターフェース部 6 データ転送時間監視部 7 バス監視部 8 タイムアウト監視部 9 タイムアウト判定部 10 データ転送時間計測部 11 イニシエータ側装置 12 ターゲット側装置 13 バスインターフェース回路 14 イニシエータ側装置 15 ターゲット側装置 16 第2のバスインターフェース回路 17 第1のバスインターフェース回路 REFERENCE SIGNS LIST 1 initiator-side device 2 target-side device 3 SCSI bus 4 bus interface circuit 5 second bus interface unit 6 data transfer time monitoring unit 7 bus monitoring unit 8 timeout monitoring unit 9 timeout determination unit 10 data transfer time measurement unit 11 initiator-side device 12 Target Side Device 13 Bus Interface Circuit 14 Initiator Side Device 15 Target Side Device 16 Second Bus Interface Circuit 17 First Bus Interface Circuit

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 制御信号とデータバスとを有するバスを
使用してハンドシェイク方式のプロトコルでデータ転送
を行いデータ転送時間が予め定めた時間を経過したこと
を示すタイムアウト信号を受けて前記データ転送を中断
し前記バスを解放するバスインターフェース部と、 前記ハンドシェイクに用いる前記制御信号の状態を監視
し前記制御信号の状態から前記データ転送の状況を把握
して前記データ転送時間を計測しこの計測した前記デー
タ転送時間が前記予め定めた時間を経過したときに前記
タイムアウト信号を出力するデータ転送時間監視部と、 を備えたことを特徴とするバスインターフェース回路。
The data transfer is performed by using a bus having a control signal and a data bus according to a handshake protocol and receiving a timeout signal indicating that a data transfer time has passed a predetermined time. A bus interface unit for interrupting the bus and releasing the bus, monitoring the state of the control signal used for the handshake, grasping the state of the data transfer from the state of the control signal, and measuring the data transfer time. A data transfer time monitoring unit that outputs the timeout signal when the data transfer time exceeds the predetermined time.
【請求項2】 前記データ転送時間監視部は、前記ハン
ドシェイクに用いる前記制御信号の状態から前記データ
転送の状況を把握して前記データ転送の開始タイミング
と終了タイミングとを検出し転送開始信号と転送終了信
号とをそれぞれ出力するバス監視部と、 前記バス監視部が出力した前記転送開始信号を受けて前
記データ転送時間の計測を開始し前記転送終了信号を受
けて前記データ転送時間の計測を終了するとともに前記
計測中の前記データ転送時間が前記予め定めた時間を経
過したときに前記タイムアウト信号を出力するタイムア
ウト監視部と、 を備えたことを特徴とする請求項1記載のバスインター
フェース回路。
2. The data transfer time monitoring section grasps the state of the data transfer from the state of the control signal used for the handshake, detects the start timing and the end timing of the data transfer, and detects a transfer start signal. A bus monitoring unit that outputs a transfer end signal, and starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and measures the data transfer time in response to the transfer end signal. 2. The bus interface circuit according to claim 1, further comprising: a timeout monitoring unit that outputs the timeout signal when the data transfer time during the measurement has elapsed and the predetermined time has elapsed.
【請求項3】 前記タイムアウト監視部は、前記バス監
視部が出力した前記転送開始信号を受けて前記データ転
送時間の計測を開始し前記転送終了信号を受けて前記デ
ータ転送時間の計測を終了するとともに前記計測中の前
記データ転送時間を出力するデータ転送時間計測部と、 前記データ転送時間計測部が出力した前記計測中の前記
データ転送時間を受けこの受けたデータ転送時間が前記
予め定めた時間を経過したか否かを調べこの調べた結果
が前記予め定めた時間を経過したことを示すときに前記
タイムアウト信号を出力するタイムアウト判定部と、 を備えたことを特徴とする請求項2記載のバスインター
フェース回路。
3. The timeout monitoring unit starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and ends the data transfer time measurement in response to the transfer end signal. A data transfer time measuring unit for outputting the data transfer time during the measurement, and receiving the data transfer time during the measurement output by the data transfer time measuring unit, the received data transfer time being the predetermined time 3. A time-out judging unit that outputs the time-out signal when the result of the check indicates that the predetermined time has elapsed. Bus interface circuit.
【請求項4】 前記データ転送時間計測部は、前記バス
監視部が出力した前記転送開始信号を受けて前記データ
転送時間の計測を開始しこの計測中の前記データ転送時
間が前記予め定めた時間を経過したときに前記データ転
送時間の計測を終了するようにしたことを特徴とする請
求項3記載のバスインターフェース回路。
4. The data transfer time measurement unit starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and the data transfer time during the measurement is the predetermined time. 4. The bus interface circuit according to claim 3, wherein the measurement of the data transfer time is terminated when the time has elapsed.
【請求項5】 前記制御信号は、前記バスインターフェ
ース部に入力されるデータ転送の要求を示すREQ信号
と、前記バスインターフェース部で生成されデータ転送
の要求を認めることを示すACK信号とを含むことを特
徴とする請求項1、2、3又は4記載のバスインターフ
ェース回路。
5. The control signal includes an REQ signal input to the bus interface unit and indicating a data transfer request, and an ACK signal generated by the bus interface unit and indicating acknowledgment of the data transfer request. The bus interface circuit according to claim 1, 2, 3, or 4, wherein
【請求項6】 バスに接続し前記バスのアクセス権を獲
得してデータ転送の主導権を握るイニシエータ側装置
と、このイニシエータ側装置と前記バスを介して接続し
前記イニシエータ側装置の主導のもとにこのイニシエー
タ側装置と前記データ転送する複数のターゲット側装置
とを備えたイニシエータ・ターゲットシステムにおい
て、 制御信号とデータバスとを有する前記バスを使用してハ
ンドシェイク方式のプロトコルで前記イニシエータ側装
置と前記データ転送を行う第1のバスインターフェース
部を備えた前記複数のターゲット側装置と、 前記バスを使用してハンドシェイク方式の前記プロトコ
ルで前記複数のターゲット側装置と前記データ転送を行
うとともに前記ハンドシェイクに用いる前記制御信号の
状態を監視し前記制御信号の状態から前記データ転送の
状況を把握してデータ転送時間を計測しこの計測した前
記データ転送時間が予め定めた時間を経過したときに前
記データ転送を中断し前記バスを解放するバスインター
フェース回路を有する前記イニシエータ側装置と、 を備えたことを特徴とするイニシエータ・ターゲットシ
ステム。
6. An initiator-side device connected to a bus to acquire an access right of the bus to take the initiative of data transfer, and an initiator-side device connected to the initiator-side device via the bus to take the initiative of the initiator-side device. And an initiator / target system including the initiator-side device and the plurality of target-side devices for transferring the data, wherein the initiator-side device is formed by a handshake protocol using the bus having a control signal and a data bus. And the plurality of target-side devices having a first bus interface unit for performing the data transfer, and performing the data transfer with the plurality of target-side devices using the bus in accordance with the protocol of a handshake method. The state of the control signal used for handshake is monitored, and the state of the control signal is monitored. A bus interface circuit that interrupts the data transfer and releases the bus when the measured data transfer time elapses a predetermined time by grasping the state of the data transfer from the state and measuring the data transfer time. An initiator / target system comprising: the initiator-side device.
【請求項7】 前記バスインターフェース回路は、前記
バスを使用してハンドシェイク方式の前記プロトコルで
前記複数のターゲット側装置と前記データ転送を行い前
記データ転送時間が前記予め定めた時間を経過したこと
を示すタイムアウト信号を受けて前記データ転送を中断
し前記バスを解放する第2のバスインターフェース部
と、 前記ハンドシェイクに用いる前記制御信号の状態を監視
し前記制御信号の状態から前記データ転送の状況を把握
して前記データ転送時間を計測しこの計測した前記デー
タ転送時間が前記予め定めた時間を経過したときに前記
タイムアウト信号を出力するデータ転送時間監視部と、
を備えたことを特徴とする請求項6記載のイニシエータ
・ターゲットシステム。
7. The bus interface circuit performs the data transfer with the plurality of target-side devices by the handshake protocol using the bus, and the data transfer time has passed the predetermined time. A second bus interface unit for interrupting the data transfer and releasing the bus in response to a time-out signal indicating the status of the control signal used for the handshake and monitoring the status of the data transfer from the status of the control signal A data transfer time monitoring unit that outputs the timeout signal when the measured data transfer time exceeds the predetermined time by measuring the data transfer time by grasping
The initiator / target system according to claim 6, further comprising:
【請求項8】 データバスに接続し前記データバスのア
クセス権を獲得してデータ転送の主導権を握るイニシエ
ータ側装置と、このイニシエータ側装置と前記データバ
スを介して接続し前記イニシエータ側装置の主導のもと
にこのイニシエータ側装置と前記データ転送する複数の
ターゲット側装置とを備えたイニシエータ・ターゲット
システムにおいて、 制御信号とデータバスとを有する前記バスを使用してハ
ンドシェイク方式のプロトコルで前記イニシエータ側装
置と前記データ転送を行いデータ転送時間が予め定めた
時間を経過したことを示すタイムアウト信号を受けて前
記データ転送を中断し前記バスを解放する第1のバスイ
ンターフェース部を備えた前記複数のターゲット側装置
と、 前記バスを使用してハンドシェイク方式の前記プロトコ
ルで前記複数のターゲット側装置と前記データ転送を行
い前記ハンドシェイクに用いる前記制御信号の状態を監
視し前記制御信号の状態から前記データ転送の状況を把
握して前記データ転送時間を計測しこの計測した前記デ
ータ転送時間が前記予め定めた時間を経過したときに前
記タイムアウト信号を前記複数のターゲット側装置に出
力するとともに前記データ転送を中断し前記バスを解放
するバスインターフェース回路を有する前記イニシエー
タ側装置と、 を備えたことを特徴とするイニシエータ・ターゲットシ
ステム。
8. An initiator-side device connected to a data bus to acquire an access right of the data bus and take the initiative of data transfer, and an initiator-side device connected to the initiator-side device via the data bus. An initiator / target system including the initiator device and a plurality of target devices for transferring the data under the initiative, wherein the bus having a control signal and a data bus is used in a handshake protocol using the bus. A plurality of first bus interface units for performing the data transfer with the initiator side device and receiving a timeout signal indicating that a data transfer time has passed a predetermined time, interrupting the data transfer and releasing the bus; And a target device of a handshake method using the bus. The data transfer is performed with the plurality of target-side devices according to protocol, the state of the control signal used for the handshake is monitored, the state of the data transfer is grasped from the state of the control signal, and the data transfer time is measured. The initiator having a bus interface circuit for outputting the timeout signal to the plurality of target-side devices when the measured data transfer time exceeds the predetermined time, and for interrupting the data transfer and releasing the bus; An initiator / target system comprising: a side device;
【請求項9】 前記バスインターフェース回路は、前記
バスを使用してハンドシェイク方式の前記プロトコルで
前記複数のターゲット側装置と前記データ転送を行い前
記タイムアウト信号を受けて前記データ転送を中断し前
記バスを解放する第2のバスインターフェース部と、 前記ハンドシェイクに用いる前記制御信号の状態を監視
し前記制御信号の状態から前記データ転送の状況を把握
して前記データ転送時間を計測しこの計測した前記デー
タ転送時間が前記予め定めた時間を経過したときに前記
タイムアウト信号を出力するデータ転送時間監視部と、 を備えたことを特徴とする請求項8記載のイニシエータ
・ターゲットシステム。
9. The bus interface circuit performs the data transfer with the plurality of target-side devices using the bus in accordance with the protocol of a handshake method, receives the timeout signal, interrupts the data transfer, and interrupts the data transfer. And a second bus interface unit for releasing the state, monitoring the state of the control signal used for the handshake, grasping the state of the data transfer from the state of the control signal, measuring the data transfer time, and measuring the data transfer time. The initiator / target system according to claim 8, further comprising: a data transfer time monitoring unit that outputs the time-out signal when the data transfer time exceeds the predetermined time.
【請求項10】 前記データ転送時間監視部は、前記ハ
ンドシェイクに用いる前記制御信号の状態から前記デー
タ転送の状況を把握して前記データ転送の開始タイミン
グと終了タイミングとを検出し転送開始信号と転送終了
信号とをそれぞれ出力するバス監視部と、 前記バス監視部が出力した前記転送開始信号を受けて前
記データ転送時間の計測を開始し前記転送終了信号を受
けて前記データ転送時間の計測を終了するとともに前記
計測中の前記データ転送時間が前記予め定めた時間を経
過したときに前記タイムアウト信号を出力するタイムア
ウト監視部と、 を備えたことを特徴とする請求項7又は9記載のイニシ
エータ・ターゲットシステム。
10. The data transfer time monitoring section grasps the state of the data transfer from the state of the control signal used for the handshake, detects a start timing and an end timing of the data transfer, and determines a transfer start signal. A bus monitoring unit that outputs a transfer end signal, and starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and measures the data transfer time in response to the transfer end signal. 10. The initiator according to claim 7, further comprising: a timeout monitoring unit that outputs the timeout signal when the data transfer time during the measurement has elapsed and the predetermined time has elapsed. Target system.
【請求項11】 前記タイムアウト監視部は、前記バス
監視部が出力した前記転送開始信号を受けて前記データ
転送時間の計測を開始し前記転送終了信号を受けて前記
データ転送時間の計測を終了するとともに前記計測中の
前記データ転送時間を出力するデータ転送時間計測部
と、 前記データ転送時間計測部が出力した前記計測中の前記
データ転送時間を受けこの受けたデータ転送時間が前記
予め定めた時間を経過したか否かを調べこの調べた結果
が前記予め定めた時間を経過したことを示すときに前記
タイムアウト信号を出力するタイムアウト判定部と、 を備えたことを特徴とする請求項10記載のイニシエー
タ・ターゲットシステム。
11. The timeout monitoring unit starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and ends the measurement of the data transfer time in response to the transfer end signal. A data transfer time measuring unit for outputting the data transfer time during the measurement, and receiving the data transfer time during the measurement output by the data transfer time measuring unit, the received data transfer time being the predetermined time 11. A time-out judging unit that outputs the time-out signal when the result of the check indicates that the predetermined time has elapsed. Initiator target system.
【請求項12】 前記データ転送時間計測部は、前記バ
ス監視部が出力した前記転送開始信号を受けて前記デー
タ転送時間の計測を開始しこの計測中の前記データ転送
時間が前記予め定めた時間を経過したときに前記データ
転送時間の計測を終了するようにしたことを特徴とする
請求項11記載のイニシエータ・ターゲットシステム。
12. The data transfer time measurement unit starts measuring the data transfer time in response to the transfer start signal output by the bus monitoring unit, and the data transfer time during the measurement is the predetermined time. 12. The initiator / target system according to claim 11, wherein the measurement of the data transfer time is terminated when the time has elapsed.
【請求項13】 バスに接続し前記バスのアクセス権を
獲得してデータ転送の主導権を握るイニシエータ側装置
と、このイニシエータ側装置と前記バスを介して接続し
前記イニシエータ側装置の主導のもとにこのイニシエー
タ側装置と前記データ転送する複数のターゲット側装置
とを備えたイニシエータ・ターゲットシステムにおい
て、 制御信号とデータバスとを有する前記バスを使用してハ
ンドシェイク方式のプロトコルで前記イニシエータ側装
置と前記データ転送を行うとともに前記ハンドシェイク
に用いる前記制御信号の状態を監視し前記制御信号の状
態から前記データ転送の状況を把握してデータ転送時間
を計測しこの計測した前記データ転送時間が予め定めた
第1の時間を経過したときに前記データ転送を中断し前
記バスを解放する第1のバスインターフェース回路を備
えた前記複数のターゲット側装置と、 前記バスを使用してハンドシェイク方式の前記プロトコ
ルで前記複数のターゲット側装置と前記データ転送を行
うとともに前記ハンドシェイクに用いる前記制御信号の
状態を監視し前記制御信号の状態から前記データ転送の
状況を把握してデータ転送時間を計測しこの計測した前
記データ転送時間が予め定めた第2の時間を経過したと
きに前記データ転送を中断し前記バスを解放する第2の
バスインターフェース回路を有する前記イニシエータ側
装置と、 を備えたことを特徴とするイニシエータ・ターゲットシ
ステム。
13. An initiator-side device connected to a bus and acquiring the access right of the bus to take the initiative of data transfer, and an initiator-side device connected to the initiator-side device via the bus to take the initiative of the initiator-side device. And an initiator / target system including the initiator-side device and the plurality of target-side devices for transferring the data, wherein the initiator-side device is formed by a handshake protocol using the bus having a control signal and a data bus. And performing the data transfer and monitoring the state of the control signal used for the handshake, grasping the state of the data transfer from the state of the control signal, measuring the data transfer time, and measuring the data transfer time in advance. Interrupting the data transfer and releasing the bus when a predetermined first time has elapsed The plurality of target-side devices including a first bus interface circuit; and the control using the bus for performing the data transfer with the plurality of target-side devices using the protocol of a handshake method and using the handshake. The state of the data transfer is monitored by monitoring the state of the signal, and the state of the data transfer is grasped from the state of the control signal. The data transfer time is measured when the measured data transfer time has passed a second predetermined time. And an initiator-side device having a second bus interface circuit for interrupting the bus and releasing the bus.
【請求項14】 前記第1のバスインターフェース回路
は、前記制御信号と前記データバスとを使用してハンド
シェイク方式の前記プロトコルで前記イニシエータ側装
置と前記データ転送を行い前記データ転送時間が前記予
め定めた第1の時間を経過したことを示す第1のタイム
アウト信号を受けて前記データ転送を中断し前記データ
バスを解放する第3のバスインターフェース部と、 前記ハンドシェイクに用いる前記制御信号の状態を監視
し前記制御信号の状態から前記データ転送の状況を把握
して前記データ転送時間を計測しこの計測した前記デー
タ転送時間が前記予め定めた第1の時間を経過したとき
に前記第1のタイムアウト信号を出力する第1のデータ
転送時間監視部と、を備え、 前記第2のバスインターフェース回路は、前記バスを使
用してハンドシェイク方式の前記プロトコルで前記複数
のターゲット側装置と前記データ転送を行い前記データ
転送時間が前記予め定めた第2の時間を経過したことを
示す第2のタイムアウト信号を受けて前記データ転送を
中断し前記バスを解放する第2のバスインターフェース
部と、 前記ハンドシェイクに用いる前記制御信号の状態を監視
し前記制御信号の状態から前記データ転送の状況を把握
して前記データ転送時間を計測しこの計測した前記デー
タ転送時間が前記予め定めた第2の時間を経過したとき
に前記第2のタイムアウト信号を出力する第2のデータ
転送時間監視部と、 を備えたことを特徴とする請求項13記載のイニシエー
タ・ターゲットシステム。
14. The first bus interface circuit performs the data transfer with the initiator-side device using the control signal and the data bus according to the protocol of a handshake method, and performs the data transfer time in advance. A third bus interface unit for interrupting the data transfer and releasing the data bus in response to a first timeout signal indicating that a predetermined first time has elapsed, and a state of the control signal used for the handshake Monitoring the state of the data transfer from the state of the control signal to measure the data transfer time, and when the measured data transfer time has passed the predetermined first time, the first A first data transfer time monitoring unit that outputs a time-out signal, wherein the second bus interface circuit Receiving a second timeout signal indicating that the data transfer time is longer than the predetermined second time by performing the data transfer with the plurality of target-side devices using the protocol of the handshake method. A second bus interface unit for interrupting the data transfer and releasing the bus; and monitoring the state of the control signal used for the handshake, grasping the state of the data transfer from the state of the control signal, and performing the data transfer. A second data transfer time monitoring unit that measures time and outputs the second time-out signal when the measured data transfer time exceeds the predetermined second time. The initiator / target system according to claim 13, wherein:
【請求項15】 前記第1のデータ転送時間監視部は、
前記ハンドシェイクに用いる前記制御信号の状態から前
記データ転送の状況を把握して前記データ転送の開始タ
イミングと終了タイミングとを検出し第1の転送開始信
号と第1の転送終了信号とをそれぞれ出力する第1のバ
ス監視部と、 前記第1のバス監視部が出力した前記第1の転送開始信
号を受けて前記データ転送時間の計測を開始し前記第1
の転送終了信号を受けて前記データ転送時間の計測を終
了するとともに前記計測中の前記データ転送時間が前記
予め定めた第1の時間を経過したときに前記第1のタイ
ムアウト信号を出力する第1のタイムアウト監視部と、
を備え、 前記第2のデータ転送時間監視部は、前記ハンドシェイ
クに用いる前記制御信号の状態から前記データ転送の状
況を把握して前記データ転送の開始タイミングと終了タ
イミングとを検出し第2の転送開始信号と第2の転送終
了信号とをそれぞれ出力する第2のバス監視部と、 前記第2のバス監視部が出力した前記第2の転送開始信
号を受けて前記データ転送時間の計測を開始し前記第2
の転送終了信号を受けて前記データ転送時間の計測を終
了するとともに前記計測中の前記データ転送時間が前記
予め定めた第2の時間を経過したときに前記第2のタイ
ムアウト信号を出力する第2のタイムアウト監視部と、 を備えたことを特徴とする請求項14記載のイニシエー
タ・ターゲットシステム。
15. The first data transfer time monitoring unit,
The state of the data transfer is grasped from the state of the control signal used for the handshake, the start timing and the end timing of the data transfer are detected, and the first transfer start signal and the first transfer end signal are output respectively. Receiving a first transfer start signal output by the first bus monitoring unit, and starting measurement of the data transfer time,
Receiving the transfer end signal of the first step, terminating the measurement of the data transfer time, and outputting the first time-out signal when the data transfer time during the measurement has passed the predetermined first time. A timeout monitoring unit,
The second data transfer time monitoring unit grasps the state of the data transfer from the state of the control signal used for the handshake, detects the start timing and the end timing of the data transfer, and A second bus monitor that outputs a transfer start signal and a second transfer end signal, respectively, and measures the data transfer time in response to the second transfer start signal output by the second bus monitor. Start the second
A second time-out signal is output when the measurement of the data transfer time is completed in response to the transfer end signal of the second and the data transfer time during the measurement has passed the predetermined second time. The initiator / target system according to claim 14, further comprising: a timeout monitoring unit.
【請求項16】 前記第1のタイムアウト監視部は、前
記第1のバス監視部が出力した前記第1の転送開始信号
を受けて前記データ転送時間の計測を開始し前記第1の
転送終了信号を受けて前記データ転送時間の計測を終了
するとともに前記計測中の前記データ転送時間を出力す
る第1のデータ転送時間計測部と、 前記第1のデータ転送時間計測部が出力した前記計測中
の前記データ転送時間を受けこの受けたデータ転送時間
が前記予め定めた第1の時間を経過したか否かを調べこ
の調べた結果が前記予め定めた第1の時間を経過したこ
とを示すときに前記第1のタイムアウト信号を出力する
第1のタイムアウト判定部と、を備え、 前記第2のタイムアウト監視部は、前記第2のバス監視
部が出力した前記第2の転送開始信号を受けて前記デー
タ転送時間の計測を開始し前記第2の転送終了信号を受
けて前記データ転送時間の計測を終了するとともに前記
計測中の前記データ転送時間を出力する第2のデータ転
送時間計測部と、 前記第2のデータ転送時間計測部が出力した前記計測中
の前記データ転送時間を受けこの受けたデータ転送時間
が前記予め定めた第2の時間を経過したか否かを調べこ
の調べた結果が前記予め定めた第2の時間を経過したこ
とを示すときに前記第2のタイムアウト信号を出力する
第2のタイムアウト判定部と、 を備えたことを特徴とする請求項15記載のイニシエー
タ・ターゲットシステム。
16. The first time-out monitoring unit receives the first transfer start signal output by the first bus monitoring unit, starts measuring the data transfer time, and outputs the first transfer end signal. A first data transfer time measurement unit that terminates the measurement of the data transfer time and outputs the data transfer time during the measurement, and the first data transfer time measurement unit that outputs the data transfer time during the measurement. Receiving the data transfer time and checking whether or not the received data transfer time has passed the predetermined first time; when the result of the check indicates that the predetermined first time has passed; A first timeout determination unit that outputs the first timeout signal, wherein the second timeout monitoring unit receives the second transfer start signal output by the second bus monitoring unit, De A second data transfer time measuring unit that starts measuring the data transfer time, receives the second transfer end signal, ends the data transfer time measurement, and outputs the data transfer time during the measurement, Receiving the data transfer time during the measurement output by the second data transfer time measuring unit, and checking whether or not the received data transfer time has passed the second predetermined time. 16. The initiator / target system according to claim 15, further comprising: a second timeout determination unit that outputs the second timeout signal when it indicates that a predetermined second time has elapsed.
【請求項17】 前記第1のデータ転送時間計測部は、
前記第1のバス監視部が出力した前記第1の転送開始信
号を受けて前記データ転送時間の計測を開始しこの計測
中の前記データ転送時間が前記予め定めた第1の時間を
経過したときに前記データ転送時間の計測を終了するよ
うにし、 前記第2のデータ転送時間計測部は、前記第2のバス監
視部が出力した前記第2の転送開始信号を受けて前記デ
ータ転送時間の計測を開始しこの計測中の前記データ転
送時間が前記予め定めた第2の時間を経過したときに前
記データ転送時間の計測を終了するようにしたことを特
徴とする請求項16記載のイニシエータ・ターゲットシ
ステム。
17. The first data transfer time measuring section,
Receiving the first transfer start signal output by the first bus monitoring unit, and starting the measurement of the data transfer time; and when the data transfer time during the measurement has passed the predetermined first time. The second data transfer time measurement unit receives the second transfer start signal output by the second bus monitoring unit and measures the data transfer time. 17. The initiator / target according to claim 16, wherein the measurement of the data transfer time is terminated when the data transfer time during the measurement exceeds the predetermined second time. system.
【請求項18】 前記制御信号は、前記第2のバスイン
ターフェース部に入力される前記データ転送の要求を示
すREQ信号と、前記第2のバスインターフェース部で
生成され前記データ転送の要求を認めることを示すAC
K信号とを含むことを特徴とする請求項7、9、10、
11、12、14、15、16、又は17記載のイニシ
エータ・ターゲットシステム。
18. The control signal includes a REQ signal input to the second bus interface unit and indicating a data transfer request, and acknowledges the data transfer request generated by the second bus interface unit. AC indicating
And a K signal.
18. The initiator / target system according to 11, 12, 14, 15, 16, or 17.
JP2000382677A 2000-12-15 2000-12-15 Bus interface circuit and initiator target system using the same Pending JP2002182993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000382677A JP2002182993A (en) 2000-12-15 2000-12-15 Bus interface circuit and initiator target system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000382677A JP2002182993A (en) 2000-12-15 2000-12-15 Bus interface circuit and initiator target system using the same

Publications (1)

Publication Number Publication Date
JP2002182993A true JP2002182993A (en) 2002-06-28

Family

ID=18850464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000382677A Pending JP2002182993A (en) 2000-12-15 2000-12-15 Bus interface circuit and initiator target system using the same

Country Status (1)

Country Link
JP (1) JP2002182993A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100787546B1 (en) 2004-11-22 2007-12-21 후지쯔 가부시끼가이샤 Disk array apparatus, information processing apparatus, data management system, method for issuing command from target side to initiator side, and computer product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100787546B1 (en) 2004-11-22 2007-12-21 후지쯔 가부시끼가이샤 Disk array apparatus, information processing apparatus, data management system, method for issuing command from target side to initiator side, and computer product
US7315922B2 (en) 2004-11-22 2008-01-01 Fujitsu Limited Disk array apparatus, information processing apparatus, data management system, method for issuing command from target side to initiator side, and computer product

Similar Documents

Publication Publication Date Title
US6996750B2 (en) Methods and apparatus for computer bus error termination
JPH0247143B2 (en)
CN109074343B (en) Communication device, communication method, program, and communication system
EP3321814B1 (en) Method and apparatus for handling outstanding interconnect transactions
US6389568B1 (en) Method and apparatus for detecting handshaking protocol errors on an asynchronous data bus
JP2002182993A (en) Bus interface circuit and initiator target system using the same
JP2006172218A (en) Computer system and system monitoring program
JP3313667B2 (en) Failure detection method and method for redundant system
CN109240955B (en) Electronic device
CN113297022B (en) Method and device for testing expansion bus of high-speed serial computer
JP4941212B2 (en) Electronic device, data processing apparatus, and bus control method
JP3652910B2 (en) Device status monitoring method
KR100394553B1 (en) Restart Devices and Methods for Specific Processors in IPC Systems
JP2001101090A (en) Inputting and outputting device for computer system
JP2002366451A (en) Multi-processor system
JPH10133979A (en) Communication method and communication system
JP2834062B2 (en) Information processing system
JPH0749817A (en) Dma transfer controller
JPH0463419B2 (en)
JPH10247167A (en) Information processor having i/o bus monitoring function
JP2002229866A (en) Bus timeout detecting system
JP2001290759A (en) Bus bridge and bus bridge system
JPH05143379A (en) Program monitoring device
JPH02150942A (en) Bus abnormality detecting circuit
JP2003173362A (en) Verification device for system lsi

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040525