JPH1117775A - Serial interface circuit - Google Patents
Serial interface circuitInfo
- Publication number
- JPH1117775A JPH1117775A JP9164813A JP16481397A JPH1117775A JP H1117775 A JPH1117775 A JP H1117775A JP 9164813 A JP9164813 A JP 9164813A JP 16481397 A JP16481397 A JP 16481397A JP H1117775 A JPH1117775 A JP H1117775A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- serial interface
- retry
- retransmission
- packet
- 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
Links
- 230000004044 response Effects 0.000 claims abstract description 69
- 238000012545 processing Methods 0.000 claims description 24
- 230000005540 biological transmission Effects 0.000 description 37
- 238000012546 transfer Methods 0.000 description 26
- 238000004891 communication Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 239000003999 initiator Substances 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
- Information Transfer Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ディジタルシリア
ルインタフェース回路に係り、特にHDD(Hard Disk
Drive) 、DVD(Digital Video Disk)−ROM、CD
(Compact Disk)−ROM、テープストリーマ(Tape Stre
amer) 等のストレージ装置に接続するシリアルインタフ
ェース回路およびその信号処理方法に関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital serial interface circuit, and more particularly to a hard disk drive (HDD).
Drive), DVD (Digital Video Disk) -ROM, CD
(Compact Disk)-ROM, Tape Streamer
The present invention relates to a serial interface circuit connected to a storage device such as an amer) and a signal processing method thereof.
【0002】[0002]
【従来の技術】近年、マルチメディア・データ転送のた
めのインタフェースとして、高速データ転送、リアルタ
イム転送を実現するIEEE(The Institute of Elect
ricaland Electronic Engineers) 1394、High
Performance Sirial Busが規
格化された。2. Description of the Related Art In recent years, as an interface for multimedia data transfer, the IEEE (The Institute of Elect) has realized high-speed data transfer and real-time transfer.
ricaland Electronic Engineers) 1394, High
Performance Serial Bus has been standardized.
【0003】このIEEE1394シリアルインタフェ
ースのデータ転送においては、ネットワーク内で行われ
る転送動作をサブアクションと呼び、2つのサブアクシ
ョンが規定されている。一つは、従来のRequest,Acknow
ledgeの要求、受信確認を行うアシンクロナス(Asynchr
onous) 転送であり、他の一つはあるノードから125
μsに1回必ずデータが送られるアイソクロナス(Isoch
ronous) 転送である。In the data transfer of the IEEE 1394 serial interface, a transfer operation performed in a network is called a subaction, and two subactions are defined. One is conventional Request, Acknow
Asynchronous (Asynchr) for requesting and confirming receipt of ledge
onous) forwarding, and the other is 125
Isochronous (Isoch) where data is always sent once every μs
ronous) Transfer.
【0004】このように、2つの転送モードを有するI
EEE1394シリアルインタフェースでのデータは、
パケット単位で転送が行われるが、IEEE1394規
格では、取り扱う最小データの単位は1クワドレット(q
uadlet) (=4バイト=32ビット)である。As described above, an I having two transfer modes
The data in the EEE1394 serial interface is
Although transfer is performed in packet units, in the IEEE 1394 standard, the minimum data unit handled is one quadlet (q
uadlet) (= 4 bytes = 32 bits).
【0005】IEEE1394規格では、通常、コンピ
ュータデータは、図6に示すように、アシンクロナス転
送を用いて行われる。アシンクロナス転送は、図6
(a)に示すように、バスを獲得するためのアービトレ
ーション(arb)、データを転送するパケットトラン
スミッション、およびアクノリッジメント(ack)の
3つの遷移状態をとる。[0005] In the IEEE 1394 standard, computer data is normally transmitted using asynchronous transfer as shown in FIG. Asynchronous transfer is shown in FIG.
As shown in (a), there are three transition states: arbitration (arb) for acquiring a bus, packet transmission for transferring data, and acknowledgment (ack).
【0006】そして、パケットトランスミッションの実
行は、図6(b)に示すようなフォーマットで行われ
る。転送パケットの第1クワドレットは、16ビットの
デスティネーションID(destination ID)領域、6ビッ
トのトランザクション ラベルtl(transaction labe
l) 領域、2ビットのリトライ・コードrt(retry cod
e)領域、4ビットのトランザクション・コードtcod
e(transanction code) 領域、および4ビットのプライ
オリティpri(priority)領域から構成されている。デ
スティネーションID領域はこのノードのバスナンバー
とノードナンバー、プライオリティ領域は優先レベルを
示す。The execution of packet transmission is performed in a format as shown in FIG. The first quadlet of the transfer packet includes a 16-bit destination ID (destination ID) area and a 6-bit transaction label tl (transaction label).
l) area, 2-bit retry code rt (retry cod
e) area, 4-bit transaction code tcod
An e (transanction code) area and a 4-bit priority pri (priority) area. The destination ID area indicates the bus number and node number of this node, and the priority area indicates the priority level.
【0007】第2クワドレットおよび第3クワドレット
は、16ビットのソースID(source ID) 領域、および
48ビットのデスティネーション・オフセット(destina
tionoffset)領域により構成されている。ソースID領
域はこのパケットを送ったノードIDを示し、デスティ
ネーション オフセット領域はハイ(High)およびロー(L
ow) の連続した領域からなり、デスティネーション・ノ
ードのアドレス空間のアドレスを示す。[0007] The second and third quadlets have a 16-bit source ID area and a 48-bit destination offset (destina- tion).
tionoffset) region. The source ID area shows the ID of the node that sent this packet, and the destination offset area shows high (High) and low (L
ow), and indicates the address of the address space of the destination node.
【0008】第4クワドレットは、16ビットのデータ
長(data length) 領域、および16ビットのイクステン
ディド・トランザクション・コード(extended tcode)領
域に構成されている。データ長領域は受信したパケット
のバイト数を示し、イクステンディド tcode領域はtc
odeがロック・トランザクション(Lock transaction)
の場合、このパケットのデータが行う実際のロック動作
(Lock Action) を示す領域である。[0008] The fourth quadlet is composed of a 16-bit data length area and a 16-bit extended transaction code (extended tcode) area. The data length field indicates the number of bytes of the received packet, and the extended tcode field is tc.
mode is a Lock transaction
If, the actual locking action performed by the data in this packet
(Lock Action).
【0009】データフィールド領域(data field)の前の
クワドレットに付加されたヘッダCRC(header CRC)
領域は、パケットヘッダの誤り検出符号である。また、
データ領域(data field)の後のクワドレットに付加され
たデータCRC(data CRC) 領域は、データフィールド
の誤り検出符号である。[0009] A header CRC (header CRC) added to the quadlet before the data field area (data field)
The area is an error detection code of the packet header. Also,
A data CRC (data CRC) area added to the quadlet after the data area (data field) is an error detection code of the data field.
【0010】[0010]
【発明が解決しようとする課題】ところで、上述したよ
うに、アシンクロナス転送で行われる通常のコンピュー
タデータの転送では、そのプロトコルとして、SBP−
2(Serial Bus Protocol-2) が用いられる。このプロト
コルによると、ストレージデバイス(Storage Device)で
あるターゲット(Target)からホストコンピュータ(Host
Computer) であるイニシエータ(Initiator) にデータを
転送するときは、ストレージデバイスからホストコンピ
ュータのメモリへデータを書き込む形で、またホストコ
ンピュータからターゲットにデータを転送するときは、
ストレージデバイスがホストコンピュータのメモリのデ
ータを読み出す形で転送が行われる。As described above, in the normal computer data transfer performed by the asynchronous transfer, the SBP-based protocol is used as the protocol.
2 (Serial Bus Protocol-2) is used. According to this protocol, a host device (Host) is transferred from a target (Target) that is a storage device.
When transferring data to the initiator, which is a Computer, the data is written from the storage device to the memory of the host computer, and when transferring the data from the host computer to the target,
The transfer is performed in such a manner that the storage device reads the data in the memory of the host computer.
【0011】しかしながら、ストレージデバイスに格納
される、あるいはストレージデバイスから読み出される
大容量のデータをIEEE1394規格のパケットにし
て、送受信するための、いわゆるトランザクション・レ
イヤ(Transaction Layer) をコントロールする処理系回
路システムが未だ確立されていない。また、他ノード側
からビジー信号を受けた場合に再送するリトライ機能の
回路の実現も要望されている。However, a processing circuit system for controlling a so-called transaction layer for transmitting and receiving a large amount of data stored in or read from the storage device in packets of the IEEE 1394 standard. Has not yet been established. There is also a demand for a circuit having a retry function for retransmitting when a busy signal is received from another node.
【0012】本発明は、かかる事情に鑑みてなされたも
のであり、その目的は、リトライ動作を自動化でき、大
容量のデータを所定の規格に合わせてたパケットにして
送受信することができ、また、円滑な送受信処理をこと
ができるシリアルインタフェース回路を提供することに
ある。The present invention has been made in view of the above circumstances, and an object thereof is to automate a retry operation, transmit and receive a large amount of data as a packet conforming to a predetermined standard, and Another object of the present invention is to provide a serial interface circuit capable of performing smooth transmission / reception processing.
【0013】[0013]
【課題を解決するための手段】上記目的を達成するた
め、本発明は、自ノードとシリアルインタフェースバス
を介して接続された他ノード間でパケットの送受信を行
うシリアルインタフェース回路であって、自ノードから
他ノードへの要求パケットを生成し、上記シリアルイン
タフェースバスに送出する第1のデータ処理回路と、上
記要求パケットに対する応答パケットを受信し、受信し
た応答パケットが要求パケットの再送を要求している場
合に、上記生成した要求パケットを再度上記シリアルイ
ンタフェースバスに送出するリトライ動作を行う第2の
データ処理回路とを有する。In order to achieve the above object, the present invention relates to a serial interface circuit for transmitting and receiving a packet between another node connected to the own node via a serial interface bus. , A first data processing circuit for generating a request packet to the other node and transmitting the request packet to the serial interface bus, and a response packet to the request packet, and the received response packet requests retransmission of the request packet. A second data processing circuit for performing a retry operation of transmitting the generated request packet to the serial interface bus again.
【0014】また、本発明は、自ノードとシリアルイン
タフェースバスを介して接続された他ノード間でパケッ
トの送受信を行うシリアルインタフェース回路であっ
て、記憶手段と、自ノードから他ノードへの要求パケッ
トを生成し上記記憶手段に格納する要求パケット生成回
路と、上記記憶手段に格納された要求パケットを上記シ
リアルインタフェースバスに送出する第1のデータ処理
回路と、上記要求パケットに対する応答パケットを受信
し、受信した応答パケットが要求パケットの再送を要求
している場合に、上記記憶手段に格納されている要求パ
ケットを再度上記シリアルインタフェースバスに送出す
るリトライ動作を行う第2のデータ処理回路とを有す
る。The present invention also relates to a serial interface circuit for transmitting / receiving a packet between another node connected to the own node via a serial interface bus, comprising: a storage unit; a request packet from the own node to another node; A request packet generation circuit that generates the request packet and stores the request packet in the storage unit; a first data processing circuit that sends the request packet stored in the storage unit to the serial interface bus; and a response packet to the request packet. A second data processing circuit for performing a retry operation of transmitting the request packet stored in the storage means to the serial interface bus again when the received response packet requests retransmission of the request packet.
【0015】また、本発明では、上記第2のデータ処理
回路は、再送要求を受信してから設定時間を経過して上
記要求パケットを再送するリトライ動作を行う。Further, in the present invention, the second data processing circuit performs a retry operation of retransmitting the request packet after a set time has elapsed after receiving the retransmission request.
【0016】また、本発明では、上記第2のデータ処理
回路は、再送要求を受信してからリトライ動作を行うま
での時間を任意に設定可能なインターバルレジスタと、
上記再送要求を受信すると起動して時間を計時するサイ
クルカウンタと、上記サイクルカウンタの時間が上記イ
ンターバルレジスタの設定時間に達すると再送信号を生
成する比較回路と有し、上記再送信号が生成されると上
記リトライ動作を行う。Further, in the present invention, the second data processing circuit includes an interval register which can arbitrarily set a time period from when a retransmission request is received to when a retry operation is performed,
A cycle counter that starts up and counts time when the retransmission request is received, and a comparison circuit that generates a retransmission signal when the time of the cycle counter reaches a time set in the interval register, and the retransmission signal is generated. And the above retry operation is performed.
【0017】また、本発明では、上記再送の回数を判別
し、カウント値があらかじめ設定した回数に達すると上
記インターバルレジスタの設定時間をさらに長い時間に
再設定する判別回路を有する。Further, the present invention has a discriminating circuit for discriminating the number of retransmissions and resetting the set time of the interval register to a longer time when the count value reaches a preset number.
【0018】また、本発明では、上記リトライ動作の回
数を制限する制限回路を有する。この制限回路は、制限
するリトライ回数を設定可能なリトライ制限レジスタ
と、上記比較回路の再送信号の出力回数をカウントする
再送カウンタと、上記再送カウンタの値が上記リトライ
制限レジスタの設定値に達するとタイムアウト信号を出
力する比較回路と、上記タイムアウト信号を受けて上記
要求パケットの送信を中止する制御回路とを有する。Further, the present invention has a limiting circuit for limiting the number of times of the retry operation. The limiting circuit includes a retry limiting register capable of setting the number of retries to be limited, a retransmission counter that counts the number of retransmission signal outputs of the comparison circuit, and when the value of the retransmission counter reaches the set value of the retry limiting register. A comparison circuit that outputs a timeout signal; and a control circuit that receives the timeout signal and stops transmitting the request packet.
【0019】また、本発明の回路によれば、第1のデー
タ処理回路において、自ノードから他ノードへの要求パ
ケットが生成され、シリアルインタフェースバスに送出
される。そして、第2のデータ処理回路において、要求
パケットに対する応答パケットが送られてきたときに、
受信した応答パケットが要求パケットの再送を要求して
いる場合には、生成した要求パケットが再度シリアルイ
ンタフェースバスに送出するリトライ動作が行われる。Further, according to the circuit of the present invention, in the first data processing circuit, a request packet from the own node to another node is generated and transmitted to the serial interface bus. Then, when a response packet to the request packet is sent in the second data processing circuit,
When the received response packet requests retransmission of the request packet, a retry operation of transmitting the generated request packet to the serial interface bus again is performed.
【0020】また、本発明の回路によれば、要求パケッ
ト生成回路において、自ノードから他ノードへの要求パ
ケットが生成され記憶手段に格納される。そして、第1
のデータ回路により、記憶手段に格納された要求パケッ
トが読み出されてシリアルインタフェースバスに送出さ
れる。そして、第2のデータ処理回路において、要求パ
ケットに対する応答パケットが送られてきたときに、受
信した応答パケットが要求パケットの再送を要求してい
る場合には、生成した要求パケットが再度記憶手段から
読み出されてシリアルインタフェースバスに送出するリ
トライ動作が行われる。Further, according to the circuit of the present invention, in the request packet generation circuit, a request packet from the own node to another node is generated and stored in the storage means. And the first
The request packet stored in the storage means is read out by the data circuit and transmitted to the serial interface bus. Then, in the second data processing circuit, when a response packet to the request packet is sent and the received response packet requests retransmission of the request packet, the generated request packet is again stored in the storage unit. A retry operation of reading and sending out to the serial interface bus is performed.
【0021】また、本発明では、リトライ動作は、再送
要求を受信してから設定時間がたった後行われる。In the present invention, the retry operation is performed after a lapse of a set time from the reception of the retransmission request.
【0022】また、本発明では、インターバルレジスタ
に、再送要求を受信してからリトライ動作を行うまでの
時間を任意に設定される。たとえば、第2のデータ処理
回路において、再送要求を受信するとサイクルカウンタ
が起動して、計時動作が開始される。そして、サイクル
カウンタの時間がインターバルレジスタの設定時間に達
すると、比較回路において、再送信号が生成され、この
再送信号が生成されるとリトライ動作が行われる。Further, in the present invention, the time from when the retransmission request is received until the retry operation is performed is arbitrarily set in the interval register. For example, in the second data processing circuit, when a retransmission request is received, a cycle counter is started, and a timekeeping operation is started. When the time of the cycle counter reaches the time set in the interval register, a retransmission signal is generated in the comparison circuit, and when the retransmission signal is generated, a retry operation is performed.
【0023】また、本発明では、判別回路により、再送
の回数が判別され、その回数があらかじめ設定した回数
に達すると、インターバルレジスタの設定時間がさらに
長い時間に再設定される。In the present invention, the number of retransmissions is determined by the determination circuit, and when the number of times reaches a preset number, the set time of the interval register is reset to a longer time.
【0024】また、本発明では、制限回路により、リト
ライ動作の回数が制限される。たとえば、再送カウンタ
により第2のデータ処理回路の比較回路による再送信号
の出力回数がカウントされる。このカウント値がリトラ
イ制限レジスタの設定値に達すると、比較回路からタイ
ムアウト信号が制御回路に出力される。制御回路では、
タイムアウト信号を受けて要求パケットの送信が中止さ
れる。In the present invention, the number of retry operations is limited by the limiting circuit. For example, the retransmission counter counts the number of times a retransmission signal is output by the comparison circuit of the second data processing circuit. When this count value reaches the value set in the retry limit register, a timeout signal is output from the comparison circuit to the control circuit. In the control circuit,
Upon receiving the timeout signal, transmission of the request packet is stopped.
【0025】[0025]
【発明の実施の形態】図1は、本発明に係るIEEE1
394シリアルインタフェース回路の一実施形態を示す
ブロック構成図である。なお、このシリアルインタフェ
ース回路は、アシンクロナス通信で扱われるコンピュー
タデータの転送を行うことを目的として構成されてい
る。このため、図1においては、アイソクロナス通信系
回路の具体的な構成は図示していない。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an IEEE 1 according to the present invention.
FIG. 3 is a block diagram illustrating an embodiment of a 394 serial interface circuit. This serial interface circuit is configured to transfer computer data handled in asynchronous communication. Therefore, FIG. 1 does not show a specific configuration of the isochronous communication system circuit.
【0026】このシリアルインタフェース回路は、リン
ク/トランザクション・レイヤ集積回路10、フィジカ
ル・レイヤ回路20、ストレージデバイスとしての図示
しないハードディスクドライバ(HDD)のコントロー
ラ30、ホストコンピュータとしてのローカルプロセッ
サ40により構成されている。The serial interface circuit comprises a link / transaction layer integrated circuit 10, a physical layer circuit 20, a hard disk driver (HDD) controller 30 (not shown) as a storage device, and a local processor 40 as a host computer. I have.
【0027】リンク/トランザクション・レイヤ集積回
路10は、リンク・レイヤ回路100およびトランザク
ション・レイヤ回路120が集積化されて構成され、ロ
ーカルプロセッサ40の制御の下、アシンクロナス転送
の制御、並びにフィジカル・レイヤ回路20の制御を行
う。The link / transaction layer integrated circuit 10 is formed by integrating the link layer circuit 100 and the transaction layer circuit 120, and controls the asynchronous transfer under the control of the local processor 40, as well as the physical layer circuit. 20.
【0028】リンク・レイヤ回路100は、図1に示す
ように、リンクコア(Link Core))101、CPUインタ
フェース回路(Sub-CPU I/F )102、アシンクロナス
通信で用いられる送信用FIFO(AT-FIFO:First-In F
irst-Out) 103、受信用FIFO(AR-FIFO)104、
受信パケットを判別する分別回路(DeMux) 105、セル
フID用リゾルバ(Resolver)106、およびコントロー
ルレジスタ(ControlRegisters 、以下CRという)1
07により構成されている。As shown in FIG. 1, the link layer circuit 100 comprises a link core (Link Core) 101, a CPU interface circuit (Sub-CPU I / F) 102, and a transmission FIFO (AT-AT) used for asynchronous communication. FIFO: First-In F
irst-Out) 103, receiving FIFO (AR-FIFO) 104,
Classification circuit (DeMux) 105 for discriminating received packets, resolver for self ID (Resolver) 106, and control register (ControlRegisters, hereinafter referred to as CR) 1
07.
【0029】リンクコア101は、コマンドやコンピュ
ータデータが転送されるアシンクロナス通信用パケット
およびアイソクロナス通信用パケットの送信回路、受信
回路、これらパケットのIEEE1394シリアルバス
BSを直接ドライブするフィジカル・レイヤ回路20と
のインタフェース回路、125μs毎にリセットされる
サイクルタイマ、サイクルモニタやCRC回路から構成
されている。また、図示しないハードディスクから読み
出され、トランザクション・レイヤ回路120で所定の
送信パケットとして生成されたコンピュータデータの送
信処理等を行う。たとえば、後述するトランザクション
・レイヤ回路120のトランザクションコントローラ1
26から送るべきデータがある旨の知らせを受けるとフ
ィジカル・レイヤ回路20を経由して1394シリアル
バスのアービトレーションを行いバスを確保する。な
お、図1では、上述したように、アイソクロナス通信系
のFIFO等は省略している。The link core 101 includes a transmission circuit and a reception circuit for asynchronous communication packets and isochronous communication packets to which commands and computer data are transferred, and a physical layer circuit 20 for directly driving these packets on the IEEE 1394 serial bus BS. It is composed of an interface circuit, a cycle timer reset every 125 μs, a cycle monitor and a CRC circuit. Further, it performs a transmission process of computer data read from a hard disk (not shown) and generated by the transaction layer circuit 120 as a predetermined transmission packet. For example, a transaction controller 1 of a transaction layer circuit 120 described later
Upon receiving a notification that there is data to be sent from 26, the 1394 serial bus is arbitrated via the physical layer circuit 20 to secure the bus. In FIG. 1, the FIFO and the like of the isochronous communication system are omitted as described above.
【0030】CPUインタフェース回路102は、ロー
カルプロセッサ40と送信用FIFO103、受信用F
IFO104とのアシンクロナス通信用パケットの書き
込み、読み出し等の調停、並びに、ローカルプロセッサ
40とCR107との各種データの送受信の調停を行
う。たとえば、イニシエータとしてのホストコンピュー
タからIEEE1394インタフェースバスBSを送信
され、受信用FIFOに格納されたストレージデバイス
としてのハードディスクのコントロール用コマンドをロ
ーカルプロセッサ40に伝送する。The CPU interface circuit 102 includes a local processor 40, a transmission FIFO 103, and a reception FIFO 103.
It performs arbitration such as writing and reading of asynchronous communication packets with the IFO 104 and arbitration of transmission and reception of various data between the local processor 40 and the CR 107. For example, a host computer as an initiator transmits an IEEE 1394 interface bus BS, and transmits a command for controlling a hard disk as a storage device stored in a reception FIFO to the local processor 40.
【0031】ローカルプロセッサ40からは、コンピュ
ータデータを送受信するためにトランザクション・レイ
ヤ回路120を起動させるためのデータがCPUインタ
フェース102を通してCR107にセット(ADPst
=1)される。From the local processor 40, data for activating the transaction layer circuit 120 for transmitting and receiving computer data is set in the CR 107 through the CPU interface 102 (ADPst).
= 1).
【0032】送信用FIFO103には、IEEE13
94シリアルバスBSに伝送させるアシンクロナス通信
用パケットが格納され、格納データはリンクコア101
に与えられる。The transmission FIFO 103 includes IEEE13
Asynchronous communication packets to be transmitted to the N. 94 serial bus BS are stored.
Given to.
【0033】また、受信用FIFO104は、IEEE
1394シリアルバスBSを伝送されてきたアシンクロ
ナス通信用パケット、たとえばストレージデバイスとし
てのハードディスクのコントロール用コマンド等が、分
別回路105により格納される。Further, the receiving FIFO 104 is an IEEE
Asynchronous communication packets transmitted through the 1394 serial bus BS, for example, commands for controlling a hard disk as a storage device and the like are stored by the classification circuit 105.
【0034】分別回路105は、リンクコア101を介
したアシンクロナス通信用パケットの第1クワドレッド
にあるトランザクションコードtcode(Transaction
code)およびトランザクションラベルtl(Transaction
label) をチェックし、イニシエータであるホストコン
ピュータからターゲットであるトランザクション・レイ
ヤ回路に対しての応答パケット(Response Packet) であ
るかその他のパケットであるかの分別を行い、応答パケ
ットのみをトランザクション・レイヤ回路120に入力
させ、その他のパケットを受信用FIFO104に格納
する。The discrimination circuit 105 has a transaction code tcode (Transaction) in the first quadred of the asynchronous communication packet via the link core 101.
code) and transaction label tl (Transaction
label), discriminates whether the packet is a response packet (Response Packet) from the initiator host computer to the target transaction layer circuit or other packets, and only the response packet is transferred to the transaction layer circuit. The packet is input to the circuit 120, and the other packets are stored in the reception FIFO 104.
【0035】なお、分別のチェックに用いられるトラン
ザクションラベルtlは共通に「a」にセットされ、t
code(Transaction code)は、書き込み(Write) の要
求(request)および応答(Response)、読み出し(Read)の
要求(Read request) および応答(Read Response) で異
なるデータがセットされる。具体的には、tcode
は、書き込み要求(Write request)でクワドレット書き
込み(Quadlet Write) の場合には「0」、ブロック書き
込み(Block Write) の場合には「1」にセットされる。
また、書き込み応答(Write Response)の場合には「2」
にセットされる。読み出し要求(Read request) でクワ
ドレット読み出し(Quadlet Read)の場合には「4」、ブ
ロック読み出し(Block Read)の場合には「5」にセット
される。また、読み出し応答(Read Response) の場合に
は「6/7」にセットされる。The transaction label tl used for the sorting check is set to "a" in common, and t
In the code (Transaction code), different data is set for a write request (request) and response (Response), and for a read (Read) request (Read request) and response (Read Response). Specifically, tcode
Is set to "0" in the case of a quadlet write in a write request and "1" in the case of a block write.
"2" for a write response
Is set to It is set to "4" in the case of a quadlet read in a read request (Read request), and is set to "5" in the case of a block read (Block Read). In the case of a read response (Read Response), it is set to “6/7”.
【0036】リゾルバ106は、IEEE1394シリ
アルインタフェースバスBSを伝送されてきたセルフI
Dパケットを解析し、CR107に格納する。また、エ
ラーチェック、ノード数のカウント等の機能も有する。The resolver 106 receives the self-I data transmitted through the IEEE 1394 serial interface bus BS.
The D packet is analyzed and stored in the CR 107. It also has functions such as error checking and counting the number of nodes.
【0037】トランザクション・レイヤ回路120は、
コンピュータ周辺機器(本実施形態ではハードディス
ク)のデータをSBP−2(Serial Bus Protocol-2) 規
格に基づいて、アシンクロナスパケットとして自動的に
送信、受信をする機能を備えている。また、トランザク
ション・レイヤ回路120は、リトライ(Retry) 機能並
びにスプリットタイムアウト(Split Timeout) 検出機能
を備えている。リトライ機能は、要求パケットを送信し
た後、ack busy* のAckコードが返ってきた場合、該
当する要求パケットを再送信する機能である。パケット
を再送信する場合、送信パケットの第1クワドレッドに
ある2ビットのrt領域を「00」から「01」にセッ
トしてコアリンク101に知らせ送信する。スプリット
タイムアウト(Split Timeout) 検出機能は、応答パケッ
トが返ってくるまでのタイムアウトを検出する機能であ
る。The transaction layer circuit 120
It has a function of automatically transmitting and receiving data of a computer peripheral device (a hard disk in this embodiment) as an asynchronous packet based on the SBP-2 (Serial Bus Protocol-2) standard. Further, the transaction layer circuit 120 has a retry function and a split timeout detection function. The retry function is a function of retransmitting the corresponding request packet when an ack busy * Ack code is returned after transmitting the request packet. When retransmitting a packet, the 2-bit rt area in the first quadred of the transmission packet is set from “00” to “01”, and the core link 101 is notified and transmitted. The split timeout detection function is a function for detecting a timeout until a response packet is returned.
【0038】このトランザクション・レイヤ回路120
は、トランスポートデータインタフェース回路121、
要求パケット生成回路(SBPreq)122、応答パケットデ
コード回路(SBPRsp)123、要求用FIFO(Request F
IFO:ADPTF)124、応答用FIFO(Response FIFO:ADP
RF) 125、およびトランザクションコントローラ12
6により構成されている。そして、要求パケット生成回
路122、応答パケットデコード回路123、要求用F
IFO124、応答用FIFO125、およびトランザ
クションコントローラ126によりデータ処理回路AD
Pが構成される。This transaction layer circuit 120
Is a transport data interface circuit 121,
Request packet generation circuit (SBPreq) 122, response packet decode circuit (SBPRsp) 123, request FIFO (Request F
IFO: ADPTF) 124, Response FIFO (Response FIFO: ADP)
RF) 125, and the transaction controller 12
6. Then, the request packet generation circuit 122, the response packet decode circuit 123, the request F
A data processing circuit AD is provided by the I / O 124, the response FIFO 125, and the transaction controller 126.
P is configured.
【0039】トランスポートデータインタフェース回路
121は、HDDコントローラ30と要求パケット生成
回路122、応答パケットデコード回路123とのデー
タの送受信の調停を行う。The transport data interface circuit 121 arbitrates the transmission and reception of data between the HDD controller 30, the request packet generation circuit 122, and the response packet decode circuit 123.
【0040】要求パケット生成回路122は、リンク・
レイヤ回路100のCR107からデータ転送起動の指
示を受けると、送信(書き込み)の場合、SBP−2規
格に従ってトランスポートデータインタフェース回路1
21を介して得た図示しないハードディスクに記録され
たコンピュータデータをパケットに分けられるように1
個以上のデータに分け、CR107にセットされた転送
データ長等のデータに基づいてSBPプロトコルのアド
レスを算出し、パケット毎に増加する1394バスアド
レスとトランザクションラベルtl(=a)やトランザ
クションコードtcode(たとえば1または5)等を
設定した4クラドレットからなる1394ヘッダを付加
して要求用FIFO124に格納する。また、受信(読
み出し)の場合には、SBP−2規格に従って、CR1
07にセットされた転送データ長等のデータに基づいて
SBPプロトコルのアドレスを算出し、パケット毎に増
加する1394バスアドレスとトランザクションラベル
tl(=a)やトランザクションコードtcode(た
とえば1または5)等を設定し、指定されたアドレス、
データ長分の1394ブロック読み出し要求コマンド(B
lock read Request Command)を1個以上のパケットにし
て要求用FIFO124に格納する。The request packet generation circuit 122 has a link
Upon receiving a data transfer start instruction from the CR 107 of the layer circuit 100, in the case of transmission (write), the transport data interface circuit 1 according to the SBP-2 standard.
21 so that the computer data recorded on a hard disk (not shown) obtained through
The data is divided into a plurality of pieces of data, and the address of the SBP protocol is calculated based on the data such as the transfer data length set in the CR 107. The 1394 bus address and the transaction label tl (= a) and the transaction code tcode ( For example, a 1394 header made up of four cladlets in which, for example, 1 or 5) is set is stored in the request FIFO 124. In the case of reception (reading), CR1 is used in accordance with the SBP-2 standard.
07, the SBP protocol address is calculated based on the data such as the transfer data length, and the 1394 bus address and the transaction label tl (= a), the transaction code tcode (for example, 1 or 5), etc., which are increased for each packet, are calculated. Set and specified address,
1394 block read request command (B
lock read Request Command) is stored in the request FIFO 124 as one or more packets.
【0041】なお、要求パケット生成回路122は、送
信および受信時には、CR107にて指定される最大長
データmax-payload を受けて送信する要求パケットに対
する応答パケットの最大データ長を計算する。この最大
データ長(バイト)maxpl は次式に基づいて求められ
る。The request packet generating circuit 122 calculates the maximum data length of the response packet to the request packet to be transmitted upon receiving the maximum length data max-payload specified by the CR 107 during transmission and reception. This maximum data length (byte) maxpl is obtained based on the following equation.
【0042】[0042]
【数1】maxpl =2(max,Payload+2) …(1)[Formula 1] maxpl = 2 (max, Payload + 2) (1)
【0043】応答パケットデコード回路123は、受信
時に第1FIIFO124に格納されたデータを読み出
し、1394ヘッダを取り除いて、データを所定のタイ
ミングでトランスポートデータインタフェース回路12
1を介してHDDコントローラ30に出力する。The response packet decode circuit 123 reads the data stored in the first FIIFO 124 at the time of reception, removes the 1394 header, and transfers the data at a predetermined timing to the transport data interface circuit 12.
1 to the HDD controller 30.
【0044】要求用FIFO124は、送信(書き込
み)時にはパケット化された送信データが格納され、受
信(読み出し)の場合には、1394ブロック読み出し
要求コマンドが格納される。なお、要求用FIFO12
4は、送るべきデータを記憶しているときは、その旨を
示すたとえばローレベル(「0」)でアクティブの信号
EMTをトランザクションコントローラ126に出力す
る。The request FIFO 124 stores packetized transmission data when transmitting (writing), and stores a 1394 block read request command when receiving (reading). The request FIFO 12
When the data to be transmitted is stored, the signal 4 outputs an active signal EMT, for example, at a low level (“0”) indicating this to the transaction controller 126.
【0045】応答用FIFO125は、受信(読み出
し)の場合には、ホストコンピュータ側から1394シ
リアルバスBSを伝送されてきた受信データが格納され
る。なお、応答用FIFO125は、残りの記憶容量を
示す信号S125をトランザクションコントローラ12
6に出力する。In the case of reception (reading), the response FIFO 125 stores reception data transmitted from the host computer via the 1394 serial bus BS. The response FIFO 125 sends a signal S125 indicating the remaining storage capacity to the transaction controller 12.
6 is output.
【0046】トランザクションコントローラ126は、
送信時に要求用FIFO124に格納されたパケット化
された送信データ、および受信時に要求用FIFO12
4に格納された1394ブロック読み出し要求コマンド
(要求パケット)のリンク・レイヤコア回路100のリ
ンクコア101への出力制御を行う。また、送信時に、
リンク・レイヤ回路100の分別回路105からの応答
パケットを受けて、そのリトライコードrcodeをC
R107に書き込み、受信時には分別回路105からの
応答パケットを応答用FIFO125に格納する。The transaction controller 126
The packetized transmission data stored in the request FIFO 124 at the time of transmission, and the request FIFO 12 at the time of reception.
4 controls the output of the 1394 block read request command (request packet) stored in No. 4 to the link core 101 of the link layer core circuit 100. Also, when sending,
Upon receiving a response packet from the classification circuit 105 of the link layer circuit 100, the retry code rcode is set to C
The response packet from the classification circuit 105 is stored in the response FIFO 125 upon reception.
【0047】また、トランザクションコントローラ12
6は、要求パケットを送信した後、ack busy* のack
コードが返ってきた場合、該当する要求パケットを再送
信するリトライ機能を有しているが、この再送を行う場
合には、再送要求であるackbusy* を受けてから設定時
間(たとえばサイクルタイムの125μsの整数倍の時
間)を経過してから行う。また、パケットを再送信する
場合、送信パケットの第1クワドレッドにある2ビット
のrt領域を「00」から「01」にセットしてコアリ
ンク101に知らせ送信する。The transaction controller 12
6 is an ack busy * ack after transmitting the request packet.
If the code is returned, has the retry function to retransmit the corresponding request packet, the retransmission when performing the the set after receiving Ackbusy * is a retransmission request time (e.g. cycle time 125μs After the elapse of an integral multiple of the time). When the packet is retransmitted, the 2-bit rt area in the first quadred of the transmission packet is set from “00” to “01”, and the core link 101 is notified and transmitted.
【0048】図2は、このリトライ機能を実現するリト
ライ回路の構成例を示すブロック図である。このリトラ
イ回路は、図2に示すように、ackコード判別126
1、サイクルカウンタ(Cycle Counter) 1262、イン
ターバルレジスタ(Retry IntervalCounter)1263、
リトライ制限(Retry Limit) レジスタ1264、比較回
路(Comp)1265,1266、ビジーカウンタ(Busy Co
unter)1267、およびビジー回数判別回路1268に
より構成されている。FIG. 2 is a block diagram showing a configuration example of a retry circuit for realizing the retry function. This retry circuit, as shown in FIG.
1, cycle counter (Cycle Counter) 1262, interval register (Retry IntervalCounter) 1263,
Retry limit register 1264, comparison circuit (Comp) 1265, 1266, busy counter (Busy Co.)
unter) 1267 and a busy number discrimination circuit 1268.
【0049】ackコード判別1261は、ackコー
ドを受けてack busy* を判別した場合に、パルス信号S
1261をサイクルカウンタ1262およびビジー回数
判別回路1268に出力する。[0049] ack code discrimination 1261, if it is determined the ack busy * In response to the ack code, pulse signal S
1261 is output to the cycle counter 1262 and the busy number discrimination circuit 1268.
【0050】サイクルカウンタ1262は、パルス信号
S1261を受けて起動し、125μsをカウントする
毎にインクリメントされる。インターバルレジスタ12
63は、再送要求を受信してからリトライ動作を行うま
での時間を任意に設定可能で、たとえば0または125
μsの整数倍、たとえば1、2、・・に設定される。リ
トライ制限レジスタ1264は、リトライ回数を制限す
る値(たとえば15)が設定される。The cycle counter 1262 is activated upon receiving the pulse signal S1261, and is incremented every time 125 μs is counted. Interval register 12
The time 63 can be arbitrarily set from the time when the retransmission request is received to the time when the retry operation is performed.
It is set to an integral multiple of μs, for example, 1, 2,. In the retry limit register 1264, a value (for example, 15) for limiting the number of retries is set.
【0051】比較回路1265は、サイクルカウンタ1
262の時間がインターバルレジスタ1263の設定時
間に達すると再送信号SRを生成し、要求用FIFO1
24およびビジーカウンタ1267に出力する。比較回
路1266は、ビジーカウンタ1267の値がリトライ
制限レジスタ1264の設定値に達するとタイムアウト
信号TOをCR107に出力する。ビジーカウンタ12
67は、比較回路1265による再送信号SRの出力回
数をカウントする。The comparison circuit 1265 includes a cycle counter 1
When the time of H.262 reaches the time set in the interval register 1263, a retransmission signal SR is generated and the request FIFO 1
24 and a busy counter 1267. When the value of busy counter 1267 reaches the value set in retry limit register 1264, comparison circuit 1266 outputs timeout signal TO to CR 107. Busy counter 12
67 counts the number of times the comparison circuit 1265 outputs the retransmission signal SR.
【0052】ビジー回数判別回路1268は、ackコ
ード判別1261によるパルス信号S1261をカウン
トし、カウント値があらかじめ設定した回数に達すると
インターバルレジスタ1263の設定時間をさらに長い
時間、たとえば初期値の2倍にに再設定する。なお、一
連のパケット送受信が終了すると、サイクルカウンタ1
262、インターバルレジスタ1263、リトライ制限
レジスタ1264の値は初期設定される。The busy number discrimination circuit 1268 counts the pulse signal S1261 based on the ack code discrimination 1261. When the count value reaches a preset number, the set time of the interval register 1263 is set to a longer time, for example, twice the initial value. Reset to. When a series of packet transmission / reception is completed, the cycle counter 1
262, interval register 1263, and retry limit register 1264 are initialized.
【0053】ここで、図2に示すリトライ回路の動作を
説明し、その後、SBP−2規格で決められたパケット
を転送する場合のコンピュータデータの通常の送信およ
び受信動作を説明する。Here, the operation of the retry circuit shown in FIG. 2 will be described, and then the normal operation of transmitting and receiving computer data when transferring a packet determined by the SBP-2 standard will be described.
【0054】リトライ回路においては、要求パケットに
対する応答パケットが送られてきたときに、受信したa
ckコードがackコード判別1261に入力される。
ackコード判別1261では、入力しackコードに
よりack busy* を判別した場合に、パルス信号S126
1が生成されサイクルカウンタ1262およびビジー回
数判別回路1268に出力される。サイクルカウンタ1
262では、パルス信号S1261を受けて起動し、1
25μsをカウントする毎にインクリメントされる。こ
のサイクルカウンタ1262の値は、比較回路1265
でインターバルレジスタ1263の設定時間と比較され
る。比較の結果、カウント値が設定時間に達すると再送
信号SRが生成され、要求用FIFO124およびビジ
ーカウンタ1267に出力される。In the retry circuit, when a response packet to the request packet is sent,
The ck code is input to the ack code determination 1261.
In the ack code determination 1261, when ack busy * is determined based on the input ack code, the pulse signal S 126
1 is generated and output to the cycle counter 1262 and the busy number determination circuit 1268. Cycle counter 1
At 262, it is started upon receiving the pulse signal S1261, and 1
It is incremented every time 25 μs is counted. The value of the cycle counter 1262 is compared with the value of the comparison circuit 1265.
Is compared with the set time of the interval register 1263. As a result of the comparison, when the count value reaches the set time, a retransmission signal SR is generated and output to the request FIFO 124 and the busy counter 1267.
【0055】これにより、図3に示すように、要求用F
IFO124の中の読み出しポインタが前のパケットの
先頭に戻されて、リトライ要求が出されたパケットが再
度読み出される。そして、パケットを再送信する場合、
送信パケットの第1クワドレッドにある2ビットのrt
領域を「00」から「01」にセットするようにコアリ
ンク101に知らせ再送信が行われる。As a result, as shown in FIG.
The read pointer in the IFO 124 is returned to the head of the previous packet, and the packet for which the retry request has been issued is read again. And when resending the packet,
2-bit rt in the first quadred of the transmitted packet
The core link 101 is notified to set the area from “00” to “01”, and retransmission is performed.
【0056】また、ビジーカウンタ1267では、比較
回路1265による再送信号SRの出力回数がカウント
され、カウント値が比較回路1266に出力される。そ
して、比較回路1266で、ビジーカウンタ1267の
値がリトライ制限レジスタ1264の設定値に達したと
の結果が得られると、タイムアウト信号TOがCR10
7に出力される。これにより、ローカルプロセッサ40
によりパケットの送信動作が中止される。The busy counter 1267 counts the number of times the retransmission signal SR is output by the comparison circuit 1265, and outputs the count value to the comparison circuit 1266. When the comparison circuit 1266 obtains a result indicating that the value of the busy counter 1267 has reached the value set in the retry limit register 1264, the timeout signal TO
7 is output. Thereby, the local processor 40
Stops the packet transmission operation.
【0057】また、ビジー回数判別回路1268におい
ては、ackコード判別1261によるパルス信号S1
261がカウントされ、カウント値があらかじめ設定し
た回数に達するとインターバルレジスタ1263の設定
時間がさらに長い時間に再設定される。そして、一連の
パケット送受信が終了すると、サイクルカウンタ126
2、インターバルレジスタ1263、リトライ制限レジ
スタ1264の値は初期設定される。In the busy count determination circuit 1268, the pulse signal S1 based on the ack code determination 1261 is used.
When the count value reaches a preset number, the set time of the interval register 1263 is reset to a longer time. When a series of packet transmission / reception is completed, the cycle counter 126
2. The values of the interval register 1263 and the retry limit register 1264 are initialized.
【0058】次に、上記構成において、SBP−2規格
で決められたパケットを転送する場合のコンピュータデ
ータの通常の送信および受信動作を説明する。Next, a description will be given of a normal transmission and reception operation of computer data in the case of transferring a packet determined by the SBP-2 standard in the above configuration.
【0059】まず、送信動作、すなわち、ターゲットで
あるハードディスクからイニシエータであるホストコン
ピュータにデータを転送するときであって、ストレージ
デバイス(ハードディスク)からホストコンピュータの
メモリへデータを書き込む動作を行う場合について説明
する。First, a transmission operation, that is, a case where data is transferred from a target hard disk to a host computer which is an initiator and an operation of writing data from a storage device (hard disk) to a memory of the host computer is performed will be described. I do.
【0060】ホストコンピュータから1394シリアル
バスBSを転送されてきたSBP−2規格に基づいたO
RB(Operation Request Block) 等のパケットデータが
フィジカル・レイヤ回路20、リンク・レイヤ回路10
0のリンクコア101を介して分別回路105に入力さ
れる。An O based on the SBP-2 standard transmitted from the host computer via the 1394 serial bus BS.
Packet data such as RB (Operation Request Block) is transmitted to the physical layer circuit 20 and the link layer circuit 10
0 is input to the classification circuit 105 via the link core 101 of 0.
【0061】分別回路105では、受信パケットを受け
てホストコンピュータからターゲットであるトランザク
ション・レイヤ回路に対しての応答パケット(Response
Packet) であるかその他のパケットであるかの分別が行
われる。そしてこの場合、その他のパケットであること
から受信データが受信用FIFO104に格納される。
受信用FIFO104に格納されたORB等の受信デー
タは、CPUインタフェース回路102を介してローカ
ルプロセッサ40に入力される。ローカルプロセッサ4
0では、CPUインタフェース回路102を介してOR
Bの内容に従ってCR107のトランザクション・レイ
ヤ回路用レジスタの初期化が行われる。これにより、ト
ランザクション・レイヤ回路120が起動される。The classification circuit 105 receives the received packet and receives a response packet (Response) from the host computer to the target transaction layer circuit.
Packet) or other packets. In this case, the received data is stored in the receiving FIFO 104 because it is another packet.
The reception data such as the ORB stored in the reception FIFO 104 is input to the local processor 40 via the CPU interface circuit 102. Local processor 4
At 0, OR is output via the CPU interface circuit 102.
According to the contents of B, the register for the transaction layer circuit of the CR 107 is initialized. As a result, the transaction layer circuit 120 is activated.
【0062】起動されたトランザクション・レイヤ回路
120では、要求パケット生成回路122において、ト
ランスポートインタフェース121を介してHDDコン
トローラ30に対してのデータの要求が始められる。要
求に応じ、トランスポートインタフェース121を介し
て送られたきた送信データは、要求パケット生成回路1
22においてSBP−2規格に従ってトランスポートデ
ータインタフェース回路121を介して得た図示しない
ハードディスクに記録されたコンピュータデータをパケ
ットに分けられるように1個以上のデータに分けられ、
CR107にセットされた転送データ長等のデータに基
づいてSBPプロトコルのアドレスが算出され、パケッ
ト毎に増加する1394バスアドレスとトランザクショ
ンラベルtl(=a)やトランザクションコードtco
de(たとえば1または5)等が設定された4クラドレ
ットからなる1394ヘッダが付加されて要求用FIF
O124に格納される。In the activated transaction layer circuit 120, the request packet generation circuit 122 starts requesting data to the HDD controller 30 via the transport interface 121. The transmission data transmitted via the transport interface 121 in response to the request is transmitted to the request packet generation circuit 1.
At 22, the computer data recorded on the hard disk (not shown) obtained via the transport data interface circuit 121 in accordance with the SBP-2 standard is divided into one or more data so as to be divided into packets.
The address of the SBP protocol is calculated based on the data such as the transfer data length set in the CR 107, and the 1394 bus address which increases for each packet, the transaction label tl (= a), and the transaction code tco
1394 header consisting of four cladlets in which de (for example, 1 or 5) is set,
It is stored in O124.
【0063】要求用1FIFO124に1つの1394
パケットサイズ以上のデータが格納されると、そのデー
タはトランザクションコントローラ126によりリンク
・レイヤ回路100のリンクコア101に送られる。そ
して、リンクコア101によって、フィジカル・レイヤ
回路20を介して1394シリアルバスBSに対しアー
ビトレーションが掛けられる。これにより、バスの獲得
ができたならば、転送データを含む書き込み要求パケッ
ト(Write Request Packet)がフィジカル・レイヤ回路2
0、1394シリアルバスBSを介してホストコンピュ
ータに送信される。One 1394 is stored in one FIFO for request 124.
When data equal to or larger than the packet size is stored, the data is sent to the link core 101 of the link layer circuit 100 by the transaction controller 126. The link core 101 arbitrates the 1394 serial bus BS via the physical layer circuit 20. As a result, if a bus can be acquired, a write request packet (Write Request Packet) including transfer data is sent to the physical layer circuit 2.
0, transmitted to the host computer via the 1394 serial bus BS.
【0064】送信後、ホストコンピュータから書き込み
要求パケットに対するAckコードと、場合によっては
書き込み応答パケット(Write Response Packet) が送ら
れてきて、フィジカル・レイヤ回路20、リンク・レイ
ヤ回路100のリンクコア101を介して分別回路10
5に入力される。After the transmission, an Ack code for the write request packet and a write response packet (Write Response Packet) are transmitted from the host computer, and the physical layer circuit 20 and the link core 101 of the link layer circuit 100 are transmitted. Classification circuit 10 via
5 is input.
【0065】分別回路105では、受信パケットのトラ
ンザクションコードtcodeおよびトランザクション
ラベルtlのチェックが行われ、ホストコンピュータか
らターゲットであるトランザクション・レイヤ回路12
0に対しての応答パケット(Response Packet) であると
判別されると、その応答パケットがトランザクション・
レイヤ回路120のトランザクションコントローラ12
6に入力される。In the classification circuit 105, the transaction code tcode and the transaction label tl of the received packet are checked, and the target transaction layer circuit 12 is sent from the host computer.
If the response packet is determined to be a response packet (Response Packet) for the
Transaction controller 12 of layer circuit 120
6 is input.
【0066】トランザクションコントローラ126で
は、入力された応答パケットのAckコードと応答コー
ド(Response code) が正常ならば次のデータのリンクコ
ア101への送出が行われる。以上の動作が繰り返され
て、コンピュータデータのホストコンピュータのメモリ
への書き込み(送信)動作が行われる。In the transaction controller 126, if the Ack code and the response code (Response code) of the input response packet are normal, the next data is transmitted to the link core 101. By repeating the above operation, the operation of writing (transmitting) the computer data to the memory of the host computer is performed.
【0067】以上の送信に関するトランザクション・レ
イヤ回路120の動作の概略を図4に示す。FIG. 4 shows an outline of the operation of the transaction layer circuit 120 for the above transmission.
【0068】次に、受信動作、すなわち、ホストコンピ
ュータからターゲットにデータを転送するときであっ
て、ストレージデバイス(ハードディスク)がホストコ
ンピュータのメモリのデータを読み出す動作を行う場合
について説明する。Next, a description will be given of a receiving operation, that is, a case where data is transferred from the host computer to the target, in which the storage device (hard disk) performs an operation of reading data from the memory of the host computer.
【0069】ホストコンピュータから1394シリアル
バスBSを転送されてきたSBP−2規格に基づいたO
RB等のパケットデータがフィジカル・レイヤ回路2
0、リンク・レイヤ回路100のリンクコア101を介
して分別回路105に入力される。An O based on the SBP-2 standard transmitted from the host computer via the 1394 serial bus BS.
Packet data such as RB is a physical layer circuit 2
0, which is input to the classification circuit 105 via the link core 101 of the link layer circuit 100.
【0070】分別回路105では、受信パケットを受け
てホストコンピュータからターゲットであるトランザク
ション・レイヤ回路に対しての応答パケット(Response
Packet) であるかその他のパケットであるかの分別が行
われる。そしてこの場合、その他のパケットであること
から受信データが受信用FIFO104に格納される。
受信用FIFO104に格納されたORB等の受信デー
タは、CPUインタフェース回路102を介してローカ
ルプロセッサ40に入力される。ローカルプロセッサ4
0では、CPUインタフェース回路102を介してOR
Bの内容に従ってCR107のトランザクション・レイ
ヤ回路用レジスタの初期化が行われる。これにより、ト
ランザクション・レイヤ回路120が起動される。Upon receiving the received packet, the classification circuit 105 receives a response packet (Response) from the host computer to the target transaction layer circuit.
Packet) or other packets. In this case, the received data is stored in the receiving FIFO 104 because it is another packet.
The reception data such as the ORB stored in the reception FIFO 104 is input to the local processor 40 via the CPU interface circuit 102. Local processor 4
At 0, OR is output via the CPU interface circuit 102.
According to the contents of B, the register for the transaction layer circuit of the CR 107 is initialized. As a result, the transaction layer circuit 120 is activated.
【0071】起動されたトランザクション・レイヤ回路
120では、要求パケット生成回路122において、S
BP−2規格に従って、CR107にセットされた転送
データ長等のデータに基づいてSBPプロトコルのアド
レスが算出され、パケット毎に増加する1394バスア
ドレスとトランザクションラベルtl(=a)やトラン
ザクションコードtcode(たとえば1または5)等
が設定され、指定されたアドレス、データ長分の139
4ブロック読み出し要求コマンド(Block readRequest C
ommand)がパケット化されて要求用FIFO124に格
納される。In the activated transaction layer circuit 120, the request packet generation circuit 122
According to the BP-2 standard, the address of the SBP protocol is calculated based on the data such as the transfer data length set in the CR 107, and the 1394 bus address which increases for each packet, the transaction label tl (= a), and the transaction code tcode (for example, 1 or 5) is set, and 139 of the specified address and data length are set.
4 block read request command (Block readRequest C
ommand) is packetized and stored in the request FIFO 124.
【0072】要求用FIFO124に格納された読み出
し要求コマンドパケットは、トランザクションコントロ
ーラ126によりリンク・レイヤ回路100のリンクコ
ア101に送られる。そして、リンクコア101によっ
て、フィジカル・レイヤ回路20を介して1394シリ
アルバスBSに対しアービトレーションが掛けられる。
これにより、バスの獲得ができたならば、読み出し要求
パケット(Read Request Packet) がフィジカル・レイヤ
回路20、1394シリアルバスBSを介してホストコ
ンピュータに送信される。The read request command packet stored in the request FIFO 124 is sent by the transaction controller 126 to the link core 101 of the link layer circuit 100. The link core 101 arbitrates the 1394 serial bus BS via the physical layer circuit 20.
As a result, if the bus is acquired, a read request packet (Read Request Packet) is transmitted to the host computer via the physical layer circuit 20 and the 1394 serial bus BS.
【0073】送信後、ホストコンピュータから読み出し
要求パケットに対するAckコードと、指定されたデー
タ長分のデータを含んだ読み出し応答パケット(Read R
esponse Packet) が送られてきて、フィジカル・レイヤ
回路20、リンク・レイヤ回路100のリンクコア10
1を介して分別回路105に入力される。After transmission, an Ack code for a read request packet from the host computer and a read response packet (Read R) including data of the designated data length are read.
esponse Packet) is sent to the physical layer circuit 20 and the link core 10 of the link layer circuit 100.
The signal is input to the classification circuit 105 through the line 1.
【0074】分別回路105では、受信パケットのトラ
ンザクションコードtcodeおよびトランザクション
ラベルtlのチェックが行われ、ホストコンピュータか
らターゲットであるトランザクション・レイヤ回路に対
しての応答パケット(Response Packet) であると判別さ
れると、その応答パケットがトランザクション・レイヤ
回路120のトランザクションコントローラ126に入
力される。In the sorting circuit 105, the transaction code tcode and the transaction label tl of the received packet are checked, and it is determined that the received packet is a response packet (Response Packet) from the host computer to the target transaction layer circuit. Then, the response packet is input to the transaction controller 126 of the transaction layer circuit 120.
【0075】トランザクションコントローラ126で
は、分別回路105からの応答パケットが応答用FIF
O125に格納される。応答用FIFO125に格納さ
れたデータは、応答パケットデコード回路123によっ
て読み出され、1394ヘッダが取り除かれて、所定の
タイミングでトランスポートデータインタフェース回路
121を介してHDDコントローラ30に出力される。
以上の動作が繰り返されて、コンピュータデータのスト
レージデバイス(ハードディスク)への書き込み(受
信)動作が行われる。In the transaction controller 126, the response packet from the classification circuit 105 is
It is stored in O125. The data stored in the response FIFO 125 is read by the response packet decoding circuit 123, the 1394 header is removed, and the data is output to the HDD controller 30 via the transport data interface circuit 121 at a predetermined timing.
By repeating the above operation, the operation of writing (receiving) the computer data to the storage device (hard disk) is performed.
【0076】以上の受信に関するトランザクション・レ
イヤ回路129の動作の概略を図5に示す。FIG. 5 schematically shows the operation of the transaction layer circuit 129 relating to the above reception.
【0077】以上説明したように、本第1の実施形態に
よれば、ストレージデバイスが接続され、ストレージデ
バイスのデータを読み出し、自己指定のトランザクショ
ンラベルを付加して送信アシンクロナスパケットとして
シリアルインタフェースバスBSに送出し、他ノードの
データを当該ストレージデバイスへ転送する場合に、自
己指定のラベルを付加した要求パケットを生成してシリ
アルインタフェースバスBSに送出し、他ノードからの
この要求パケットに対する応答パケットを受信し、応答
パケットからデータ部を取り出してストレージデバイス
へ転送するデータ処理回路としてのトランザクション・
レイヤ回路120を設けたので、ストレージデバイスに
格納される、あるいはストレージデバイスから読み出さ
れる大容量のデータをSBP−2規格に合わせてたIE
EE1394パケットにして送受信することができ、I
EEE1394シリアルバスインタフェースのアシンク
ロナス パケットを用いて大容量のデータ転送を実現す
ることができる。そして、SBP−2規格に基づいたO
RBのフェッチ、データ転送、イニシエータへのステイ
タス送信といったシーケンスを簡略化でき、ディスクド
ライバ、テープストリーマ等のコンピュータ周辺機器の
データをIEEE1394シリアルバスに接続する際に
最適な設計が可能となる。As described above, according to the first embodiment, a storage device is connected, data of the storage device is read, a self-designated transaction label is added to the serial interface bus BS as a transmission asynchronous packet. When transmitting and transferring the data of the other node to the storage device, a request packet with a self-designated label is generated and transmitted to the serial interface bus BS, and a response packet to the request packet from the other node is received. And a transaction as a data processing circuit for extracting a data portion from the response packet and transferring the data portion to the storage device.
Since the layer circuit 120 is provided, the large-capacity data stored in or read from the storage device can be converted into an IE conforming to the SBP-2 standard.
EE1394 packets can be transmitted and received.
Large-capacity data transfer can be realized by using asynchronous packets of the IEEE 1394 serial bus interface. And O based on the SBP-2 standard.
Sequences such as RB fetch, data transfer, and status transmission to the initiator can be simplified, and an optimum design can be made when data of a computer peripheral device such as a disk driver and a tape streamer is connected to the IEEE 1394 serial bus.
【0078】また、再送要求を受信してからリトライ動
作を行うまでの時間を任意に設定可能なインターバルレ
ジスタ1263と、ack busy* を受信すると起動して時
間を計時するサイクルカウンタ1262と、サイクルカ
ウンタ1262の時間がインターバルレジスタ1263
の設定時間に達すると再送信号SRを生成する比較回路
1265と、制限するリトライ回数を設定可能なリトラ
イ制限レジスタ1264と、比較回路1265の再送信
号の出力回数をカウントするビジーカウンタ1267
と、ビジーカウンタ1267の値がリトライ制限レジス
タ1264の設定値に達するとタイムアウト信号TOを
出力する比較回路1266とを設け、要求パケットを送
信した後、ack busy* のackコードが返ってきた場合
に該当する要求パケットを再送信する場合には、再送要
求であるack busy* を受けてから設定時間を経過して行
い、また、リトライ回数が設定回数に達するとパケット
の送信動作を中止するようにしたので、リトライ動作を
自動化でき、制御系回路の付加を軽減でき、また、リト
ライインターバルを任意に設定できることから、仕様に
応じた円滑な送受信処理を行うことができる。Also, an interval register 1263 that can arbitrarily set the time from when a retransmission request is received to when a retry operation is performed, a cycle counter 1262 that starts and measures time when ack busy * is received, a cycle counter 1262 time interval register 1263
, A comparison circuit 1265 that generates a retransmission signal SR, a retry limit register 1264 that can set the number of retries to be restricted, and a busy counter 1267 that counts the number of retransmission signal outputs of the comparison circuit 1265
And a comparison circuit 1266 that outputs a time-out signal TO when the value of the busy counter 1267 reaches the set value of the retry limit register 1264. When a request packet is transmitted, an ack busy * ack code is returned. When retransmitting the corresponding request packet, after the set time has passed after receiving the retransmission request ack busy * , the packet transmission operation should be stopped when the number of retries reaches the set number. Therefore, the retry operation can be automated, the addition of a control system circuit can be reduced, and the retry interval can be set arbitrarily, so that a smooth transmission / reception process according to the specification can be performed.
【0079】さらに、トランザクション・レイヤ回路1
20に要求用FIFO124および応答用FIFO12
5を設けるとともに、リンク・レイヤ回路100に送信
用FIFO103および受信用FIFO104を設けた
ので、要求用FIFO124および応答用FIFO12
5によるデータのやりとりと並列して、データ以外の通
常の1394パケットの送受信を行うことできる。Further, the transaction layer circuit 1
20 is a request FIFO 124 and a response FIFO 12
5 as well as the transmission FIFO 103 and the reception FIFO 104 in the link layer circuit 100, the request FIFO 124 and the response FIFO 12
5, the transmission and reception of normal 1394 packets other than the data can be performed in parallel with the exchange of the data according to the fifth embodiment.
【0080】また、リンクコア101を介したアシンク
ロナス通信用パケットの第1クワドレッドにあるトラン
ザクションコードtcode(Transaction code)および
トランザクションラベルtl(Transaction label) をチ
ェックし、イニシエータであるホストコンピュータから
ターゲットであるトランザクション・レイヤ回路に対し
ての応答パケット(Response Packet) であるかその他の
パケットであるかの分別を行い、応答パケットのみをト
ランザクション・レイヤ回路120に入力させ、その他
のパケットを受信用FIFO104に格納する分別回路
105を設けたので、たとえばトランザクション・レイ
ヤ回路120側で致命的なエラーがおきてデータの読み
出し/書き込み動作が止まってしまったとしても、デー
タの次の入力されてくるコマンドの読み出しができなる
ことがなく、データの読み出し/書き込みの状況にかか
わりなくコマンドの受信を円滑に行うことができる利点
がある。Further, the transaction code tcode (Transaction code) and the transaction label tl (Transaction label) in the first quadred of the asynchronous communication packet via the link core 101 are checked, and the target transaction is transmitted from the host computer as the initiator. Discriminating whether the packet is a response packet (Response Packet) to the layer circuit or another packet, input only the response packet to the transaction layer circuit 120, and store the other packet in the reception FIFO 104 Since the classification circuit 105 is provided, even if a fatal error occurs in the transaction layer circuit 120 and the data read / write operation is stopped, for example, the read command of the next input command of the data is read. Without becomes possible out, there is an advantage that the reception of the no command regardless of the data read / write status can be smoothly performed.
【0081】[0081]
【発明の効果】以上説明したように、本発明によれば、
リトライ動作を自動化でき、制御系回路の付加を軽減で
き、大容量のデータを所定の規格に合わせてたパケット
にして送受信することができ、また、円滑な送受信処理
を行うことができる。As described above, according to the present invention,
The retry operation can be automated, the addition of a control circuit can be reduced, large-capacity data can be transmitted and received as packets conforming to a predetermined standard, and smooth transmission / reception processing can be performed.
【図1】本発明に係るIEEE1394シリアルインタ
フェース回路の一実施形態を示すブロック構成図であ
る。FIG. 1 is a block diagram showing an embodiment of an IEEE 1394 serial interface circuit according to the present invention.
【図2】本発明に係るリトライ回路の構成例を示すブロ
ック図である。FIG. 2 is a block diagram illustrating a configuration example of a retry circuit according to the present invention.
【図3】リトライ動作時のFIFOの再読み出し動作を
説明するための図である。FIG. 3 is a diagram for explaining a re-read operation of a FIFO during a retry operation;
【図4】本発明に係るトランザクション・レイヤ回路に
おける送信動作の概略を示す図である。FIG. 4 is a diagram schematically illustrating a transmission operation in the transaction layer circuit according to the present invention.
【図5】本発明に係るトランザクション・レイヤ回路に
おける受信動作の概略を示す図である。FIG. 5 is a diagram schematically illustrating a receiving operation in the transaction layer circuit according to the present invention.
【図6】IEEE1394規格のアシンクロナス転送を
説明するための図である。FIG. 6 is a diagram for explaining asynchronous transfer of the IEEE 1394 standard.
10…リンク/トランザクションレイヤ集積回路、20
…フィジカル・レイヤ回路、30…HDDコントロー
ラ、40…ローカルプロセッサ、100,100a…リ
ンク・レイヤ回路、101…リンクコア、102…CP
Uインタフェース回路、103…アシンクロナス送信用
FIFO、104…アシンクロナス受信用FIFO、1
05,105a…分別回路、106…リゾルバ、107
…コントロールレジスタ、120…トランザクション・
レイヤ回路、121…トランスポートデータインタフェ
ース回路、121…要求パケット生成回路、123…応
答パケットデコード回路、124…要求用FIFO、1
25…応答用FIFO、126…トランザクションコン
トローラ、1261…ackコード判別、1262…サ
イクルカウンタ(Cycle Counter) 、1263…インター
バルレジスタ(Retry Interval Counter)、1264…リ
トライ制限(Retry Limit) レジスタ、1265,126
6…比較回路(Comp)、1267…ビジーカウンタ(Busy
Counter)、1268…ビジー回数判別回路。10 link / transaction layer integrated circuit, 20
... Physical layer circuit, 30 ... HDD controller, 40 ... Local processor, 100, 100a ... Link layer circuit, 101 ... Link core, 102 ... CP
U interface circuit, 103: Asynchronous transmission FIFO, 104: Asynchronous reception FIFO, 1
05, 105a: Classification circuit, 106: Resolver, 107
... Control register, 120 ... Transaction
Layer circuit, 121: transport data interface circuit, 121: request packet generation circuit, 123: response packet decoding circuit, 124: request FIFO, 1
25 ... Response FIFO, 126 ... Transaction controller, 1261 ... ACK code discrimination, 1262 ... Cycle counter (Cycle Counter), 1263 ... Retry Interval Counter, 1264 ... Retry limit register (Retry Limit) register, 1265, 126
6 ... Comparator (Comp), 1267 ... Busy counter (Busy)
Counter), 1268: Busy number discrimination circuit.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04L 12/56 H04L 11/20 102Z ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04L 12/56 H04L 11/20 102Z
Claims (20)
を介して接続された他ノード間でパケットの送受信を行
うシリアルインタフェース回路であって、 自ノードから他ノードへの要求パケットを生成し、上記
シリアルインタフェースバスに送出する第1のデータ処
理回路と、 上記要求パケットに対する応答パケットを受信し、受信
した応答パケットが要求パケットの再送を要求している
場合に、上記生成した要求パケットを再度上記シリアル
インタフェースバスに送出するリトライ動作を行う第2
のデータ処理回路とを有するシリアルインタフェース回
路。1. A serial interface circuit for transmitting and receiving a packet between a self-node and another node connected via a serial interface bus, comprising: generating a request packet from the self-node to another node; A first data processing circuit for transmitting the request packet to the serial interface bus when the response packet to the request packet is received, and the received response packet requests retransmission of the request packet. Second retry operation to send
And a data processing circuit.
を受信してから設定時間を経過して上記要求パケットを
再送する請求項1記載のシリアルインタフェース回路。2. The serial interface circuit according to claim 1, wherein the second data processing circuit retransmits the request packet after a lapse of a set time after receiving the retransmission request.
を受信してからリトライ動作を行うまでの時間を任意に
設定可能なインターバルレジスタと、 上記再送要求を受信すると起動して時間を計時するサイ
クルカウンタと、 上記サイクルカウンタの時間が上記インターバルレジス
タの設定時間に達すると再送信号を生成する比較回路と
有し、 上記再送信号が生成されると上記リトライ動作を行う請
求項2記載のシリアルインタフェース回路。3. The second data processing circuit includes: an interval register capable of arbitrarily setting a time period from when a retransmission request is received to when a retry operation is performed; 3. A serial circuit according to claim 2, further comprising: a cycle counter that performs a retry operation when the time of the cycle counter reaches a set time of the interval register, and a retry operation when the retransmission signal is generated. Interface circuit.
あらかじめ設定した回数に達すると上記インターバルレ
ジスタの設定時間をさらに長い時間に再設定する判別回
路を有する請求項3記載のシリアルインタフェース回
路。4. The serial interface circuit according to claim 3, further comprising a discriminating circuit for discriminating the number of retransmissions and resetting the set time of said interval register to a longer time when the count value reaches a preset number.
回路を有する請求項1記載のシリアルインタフェース回
路。5. The serial interface circuit according to claim 1, further comprising a limiting circuit for limiting the number of retry operations.
回路を有する請求項2記載のシリアルインタフェース回
路。6. The serial interface circuit according to claim 2, further comprising a limiting circuit for limiting the number of retry operations.
回路を有する請求項3記載のシリアルインタフェース回
路。7. The serial interface circuit according to claim 3, further comprising a limiting circuit for limiting the number of times of said retry operation.
回路を有する請求項4記載のシリアルインタフェース回
路。8. The serial interface circuit according to claim 4, further comprising a limiting circuit for limiting the number of retry operations.
を設定可能なリトライ制限レジスタと、 上記比較回路の再送信号の出力回数をカウントする再送
カウンタと、 上記再送カウンタの値が上記リトライ制限レジスタの設
定値に達するとタイムアウト信号を出力する比較回路
と、 上記タイムアウト信号を受けて上記要求パケットの送信
を中止する制御回路とを有する請求項7記載のシリアル
インタフェース回路。9. A retry limit register capable of setting the number of times of retry to be limited, a retransmission counter for counting the number of retransmission signal outputs of the comparison circuit, and a value of the retransmission counter being a value of the retry limit register. 8. The serial interface circuit according to claim 7, further comprising: a comparison circuit that outputs a timeout signal when a set value is reached; and a control circuit that receives the timeout signal and stops transmitting the request packet.
数を設定可能なリトライ制限レジスタと、 上記比較回路の再送信号の出力回数をカウントする再送
カウンタと、 上記再送カウンタの値が上記リトライ制限レジスタの設
定値に達するとタイムアウト信号を出力する比較回路
と、 上記タイムアウト信号を受けて上記要求パケットの送信
を中止する制御回路とを有する請求項8記載のシリアル
インタフェース回路。10. A retry limit register capable of setting the number of retry times to be limited, a retransmission counter for counting the number of retransmission signal outputs of the comparison circuit, and a value of the retransmission counter value of the retry limit register. 9. The serial interface circuit according to claim 8, further comprising: a comparison circuit that outputs a timeout signal when a set value is reached; and a control circuit that receives the timeout signal and stops transmitting the request packet.
スを介して接続された他ノード間でパケットの送受信を
行うシリアルインタフェース回路であって、記憶手段
と、 自ノードから他ノードへの要求パケットを生成し上記記
憶手段に格納する要求パケット生成回路と、 上記記憶手段に格納された要求パケットを上記シリアル
インタフェースバスに送出する第1のデータ処理回路
と、 上記要求パケットに対する応答パケットを受信し、受信
した応答パケットが要求パケットの再送を要求している
場合に、上記記憶手段に格納されている要求パケットを
再度上記シリアルインタフェースバスに送出するリトラ
イ動作を行う第2のデータ処理回路とを有するシリアル
インタフェース回路。11. A serial interface circuit for transmitting and receiving packets between another node connected to the own node via a serial interface bus, comprising: a storage unit; and a request packet for generating a request packet from the own node to another node. A request packet generation circuit for storing the request packet stored in the storage means, a first data processing circuit for transmitting the request packet stored in the storage means to the serial interface bus, a response packet for the request packet, and a received response packet And a second data processing circuit for performing a retry operation of retransmitting the request packet stored in the storage means to the serial interface bus when requesting retransmission of the request packet.
求を受信してから設定時間を経過して上記要求パケット
を再送する請求項11記載のシリアルインタフェース回
路。12. The serial interface circuit according to claim 11, wherein said second data processing circuit retransmits said request packet after a lapse of a set time after receiving a retransmission request.
求を受信してからリトライ動作を行うまでの時間を任意
に設定可能なインターバルレジスタと、 上記再送要求を受信すると起動して時間を計時するサイ
クルカウンタと、 上記サイクルカウンタの時間が上記インターバルレジス
タの設定時間に達すると再送信号を生成する比較回路と
有し、 上記再送信号が生成されると上記記憶手段に格納された
要求パケットを読み出して上記リトライ動作を行う請求
項12記載のシリアルインタフェース回路。13. The second data processing circuit includes: an interval register capable of arbitrarily setting a time period from when a retransmission request is received to when a retry operation is performed; And a comparison circuit for generating a retransmission signal when the time of the cycle counter reaches the set time of the interval register. When the retransmission signal is generated, the request packet stored in the storage unit is read. 13. The serial interface circuit according to claim 12, wherein the retry operation is performed by using the serial interface.
があらかじめ設定した回数に達すると上記インターバル
レジスタの設定時間をさらに長い時間に再設定する判別
回路を有する請求項13記載のシリアルインタフェース
回路。14. The serial interface circuit according to claim 13, further comprising a discriminating circuit for discriminating the number of times of retransmission and resetting the set time of said interval register to a longer time when the count value reaches a preset number.
限回路を有する請求項11記載のシリアルインタフェー
ス回路。15. The serial interface circuit according to claim 11, further comprising a limiting circuit for limiting the number of retry operations.
限回路を有する請求項12記載のシリアルインタフェー
ス回路。16. The serial interface circuit according to claim 12, further comprising a limiting circuit for limiting the number of times of said retry operation.
限回路を有する請求項13記載のシリアルインタフェー
ス回路。17. The serial interface circuit according to claim 13, further comprising a limiting circuit for limiting the number of times of said retry operation.
限回路を有する請求項14記載のシリアルインタフェー
ス回路。18. The serial interface circuit according to claim 14, further comprising a limiting circuit for limiting the number of times of said retry operation.
数を設定可能なリトライ制限レジスタと、 上記比較回路の再送信号の出力回数をカウントする再送
カウンタと、 上記再送カウンタの値が上記リトライ制限レジスタの設
定値に達するとタイムアウト信号を出力する比較回路
と、 上記タイムアウト信号を受けて上記要求パケットの送信
を中止する制御回路とを有する請求項17記載のシリア
ルインタフェース回路。19. A retry limit register capable of setting a retry count to be restricted, a retransmission counter for counting the number of retransmission signal outputs of the comparison circuit, and a value of the retransmission counter being a value of the retry limit register. 18. The serial interface circuit according to claim 17, comprising: a comparison circuit that outputs a timeout signal when the set value is reached; and a control circuit that receives the timeout signal and stops transmitting the request packet.
数を設定可能なリトライ制限レジスタと、 上記比較回路の再送信号の出力回数をカウントする再送
カウンタと、 上記再送カウンタの値が上記リトライ制限レジスタの設
定値に達するとタイムアウト信号を出力する比較回路
と、 上記タイムアウト信号を受けて上記要求パケットの送信
を中止する制御回路とを有する請求項18記載のシリア
ルインタフェース回路。20. A retry limit register capable of setting a retry count to be limited, a retransmission counter for counting the number of retransmission signal outputs of the comparison circuit, and a value of the retransmission counter being a value of the retry limit register. 19. The serial interface circuit according to claim 18, further comprising: a comparison circuit that outputs a timeout signal when a set value is reached; and a control circuit that receives the timeout signal and stops transmitting the request packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9164813A JPH1117775A (en) | 1997-06-20 | 1997-06-20 | Serial interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9164813A JPH1117775A (en) | 1997-06-20 | 1997-06-20 | Serial interface circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1117775A true JPH1117775A (en) | 1999-01-22 |
Family
ID=15800415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9164813A Pending JPH1117775A (en) | 1997-06-20 | 1997-06-20 | Serial interface circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1117775A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7072861B1 (en) | 1999-12-15 | 2006-07-04 | Mitsubishi Denki Kabushiki Kaisha | Digital content downloading system using networks |
JP2010250813A (en) * | 2002-10-31 | 2010-11-04 | Ring Technology Enterprises Llc | Method and system for storage system |
JP2016078791A (en) * | 2014-10-22 | 2016-05-16 | 株式会社大林組 | Visible light communication control device and underwater work support system |
US10918820B2 (en) | 2011-02-11 | 2021-02-16 | Batmark Limited | Inhaler component |
-
1997
- 1997-06-20 JP JP9164813A patent/JPH1117775A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7072861B1 (en) | 1999-12-15 | 2006-07-04 | Mitsubishi Denki Kabushiki Kaisha | Digital content downloading system using networks |
JP2010250813A (en) * | 2002-10-31 | 2010-11-04 | Ring Technology Enterprises Llc | Method and system for storage system |
US10918820B2 (en) | 2011-02-11 | 2021-02-16 | Batmark Limited | Inhaler component |
JP2016078791A (en) * | 2014-10-22 | 2016-05-16 | 株式会社大林組 | Visible light communication control device and underwater work support system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3560423B2 (en) | Packet transmitting / receiving device and packet receiving device | |
JP3543647B2 (en) | Data transfer control device and electronic equipment | |
US20070180336A1 (en) | Multi-initiator control unit and method | |
JP3584789B2 (en) | Data transfer control device and electronic equipment | |
JP3721234B2 (en) | Printer system and operation control method thereof | |
JP2003174486A (en) | Information communication device, information communication method and information communication processing program | |
US10230656B2 (en) | Method and apparatus for controlling message over heterogeneous network | |
JP3733699B2 (en) | Serial interface circuit | |
JPH1117764A (en) | Serial interface circuit and signal processing method therefor | |
JPH1117775A (en) | Serial interface circuit | |
US6578095B1 (en) | Data transfer control device for transferring data among a plurality of nodes and electronic equipment | |
JP3539287B2 (en) | Data transfer control device and electronic equipment | |
JP3494040B2 (en) | Data transfer control device and electronic equipment | |
JPH08503353A (en) | Communication bus systems and stations used in such systems | |
JPH1117710A (en) | Serial interface circuit | |
JP3494042B2 (en) | Data transfer control device and electronic equipment | |
JPH1117773A (en) | Serial interface circuit | |
JP3837843B2 (en) | Serial interface circuit | |
JPH1117774A (en) | Serial interface circuit | |
JPH1117767A (en) | Serial interface circuit | |
JPH11308300A (en) | Serial interface circuit | |
JPH11308301A (en) | Serial interface circuit | |
JP4582180B2 (en) | Data transmission equipment | |
JP4062829B2 (en) | Serial interface circuit | |
JP2000115176A (en) | Serial interface circuit |